Skip to content

Commit 70e020d

Browse files
committed
v3.0.0
1 parent 97fa11f commit 70e020d

File tree

7 files changed

+210
-12
lines changed

7 files changed

+210
-12
lines changed

.dart_tool/package_config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@
296296
"languageVersion": "2.15"
297297
}
298298
],
299-
"generated": "2023-12-15T17:13:37.271568Z",
299+
"generated": "2023-12-15T17:24:24.198103Z",
300300
"generator": "pub",
301301
"generatorVersion": "3.2.2"
302302
}

.dart_tool/package_config_subset

+197
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,197 @@
1+
_fe_analyzer_shared
2+
3.0
3+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/_fe_analyzer_shared-64.0.0/
4+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/_fe_analyzer_shared-64.0.0/lib/
5+
analyzer
6+
3.0
7+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/analyzer-6.2.0/
8+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/analyzer-6.2.0/lib/
9+
args
10+
2.19
11+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/args-2.4.2/
12+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/args-2.4.2/lib/
13+
async
14+
2.18
15+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/async-2.11.0/
16+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/async-2.11.0/lib/
17+
blockchain_utils
18+
2.15
19+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/blockchain_utils-1.4.0/
20+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/blockchain_utils-1.4.0/lib/
21+
boolean_selector
22+
2.17
23+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/boolean_selector-2.1.1/
24+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/boolean_selector-2.1.1/lib/
25+
collection
26+
2.18
27+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.17.2/
28+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.17.2/lib/
29+
convert
30+
2.18
31+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/convert-3.1.1/
32+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/convert-3.1.1/lib/
33+
coverage
34+
2.18
35+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/coverage-1.6.3/
36+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/coverage-1.6.3/lib/
37+
crypto
38+
2.19
39+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/crypto-3.0.3/
40+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/crypto-3.0.3/lib/
41+
file
42+
3.0
43+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/file-7.0.0/
44+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/file-7.0.0/lib/
45+
flutter_lints
46+
3.0
47+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_lints-3.0.1/
48+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_lints-3.0.1/lib/
49+
frontend_server_client
50+
2.12
51+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/frontend_server_client-3.2.0/
52+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/frontend_server_client-3.2.0/lib/
53+
glob
54+
2.19
55+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/glob-2.1.2/
56+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/glob-2.1.2/lib/
57+
http_multi_server
58+
2.12
59+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/http_multi_server-3.2.1/
60+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/http_multi_server-3.2.1/lib/
61+
http_parser
62+
2.12
63+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/http_parser-4.0.2/
64+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/http_parser-4.0.2/lib/
65+
io
66+
2.12
67+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/io-1.0.4/
68+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/io-1.0.4/lib/
69+
js
70+
2.19
71+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/js-0.6.7/
72+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/js-0.6.7/lib/
73+
lints
74+
3.0
75+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/lints-3.0.0/
76+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/lints-3.0.0/lib/
77+
logging
78+
2.19
79+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/logging-1.2.0/
80+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/logging-1.2.0/lib/
81+
matcher
82+
2.18
83+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.16/
84+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.16/lib/
85+
meta
86+
2.12
87+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.9.1/
88+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.9.1/lib/
89+
mime
90+
2.18
91+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/mime-1.0.4/
92+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/mime-1.0.4/lib/
93+
node_preamble
94+
2.12
95+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/node_preamble-2.0.2/
96+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/node_preamble-2.0.2/lib/
97+
package_config
98+
2.12
99+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/package_config-2.1.0/
100+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/package_config-2.1.0/lib/
101+
path
102+
2.12
103+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/path-1.8.3/
104+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/path-1.8.3/lib/
105+
pool
106+
2.12
107+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/pool-1.5.1/
108+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/pool-1.5.1/lib/
109+
pub_semver
110+
2.17
111+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/pub_semver-2.1.4/
112+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/pub_semver-2.1.4/lib/
113+
shelf
114+
2.17
115+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/shelf-1.4.1/
116+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/shelf-1.4.1/lib/
117+
shelf_packages_handler
118+
2.17
119+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/shelf_packages_handler-3.0.2/
120+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/shelf_packages_handler-3.0.2/lib/
121+
shelf_static
122+
2.17
123+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/shelf_static-1.1.2/
124+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/shelf_static-1.1.2/lib/
125+
shelf_web_socket
126+
2.17
127+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/shelf_web_socket-1.0.4/
128+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/shelf_web_socket-1.0.4/lib/
129+
source_map_stack_trace
130+
2.12
131+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/source_map_stack_trace-2.1.1/
132+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/source_map_stack_trace-2.1.1/lib/
133+
source_maps
134+
2.18
135+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/source_maps-0.10.12/
136+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/source_maps-0.10.12/lib/
137+
source_span
138+
2.18
139+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/source_span-1.10.0/
140+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/source_span-1.10.0/lib/
141+
stack_trace
142+
2.18
143+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/stack_trace-1.11.1/
144+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/stack_trace-1.11.1/lib/
145+
stream_channel
146+
2.19
147+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/stream_channel-2.1.2/
148+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/stream_channel-2.1.2/lib/
149+
string_scanner
150+
2.18
151+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.2.0/
152+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.2.0/lib/
153+
term_glyph
154+
2.12
155+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/term_glyph-1.2.1/
156+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/term_glyph-1.2.1/lib/
157+
test
158+
3.0
159+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/test-1.24.9/
160+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/test-1.24.9/lib/
161+
test_api
162+
3.0
163+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/test_api-0.6.1/
164+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/test_api-0.6.1/lib/
165+
test_core
166+
3.0
167+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/test_core-0.5.9/
168+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/test_core-0.5.9/lib/
169+
typed_data
170+
2.17
171+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/typed_data-1.3.2/
172+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/typed_data-1.3.2/lib/
173+
vm_service
174+
2.19
175+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/vm_service-11.10.0/
176+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/vm_service-11.10.0/lib/
177+
watcher
178+
3.0
179+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/watcher-1.1.0/
180+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/watcher-1.1.0/lib/
181+
web_socket_channel
182+
2.15
183+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/web_socket_channel-2.4.0/
184+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/web_socket_channel-2.4.0/lib/
185+
webkit_inspection_protocol
186+
3.0
187+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/webkit_inspection_protocol-1.2.1/
188+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/webkit_inspection_protocol-1.2.1/lib/
189+
yaml
190+
2.19
191+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/yaml-3.1.2/
192+
file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/yaml-3.1.2/lib/
193+
xrp_dart
194+
2.15
195+
file:///C:/in_work/bitcoin/github_xrp/xrpl/
196+
file:///C:/in_work/bitcoin/github_xrp/xrpl/lib/
197+
2

.dart_tool/version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.16.2

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The XRP Ledger accommodates a diverse range of transaction types, each tailored
3737
This package streamlines communication with XRP nodes using both the JSON-RPC protocol and WebSocket technology. While endeavors have been undertaken to integrate all methods into RPC, it's crucial to acknowledge that, currently, the majority of data APIs are presented in JSON format and haven't been entirely modeled. The addition of WebSocket support enhances the package's versatility for real-time and asynchronous interactions with XRP nodes.
3838

3939
## EXAMPLES
40-
At least one example has been created for each transaction type, which you can find in the [example](https://github.com/mrtnetwork/xrp_dart/tree/main/example/lib/transactions) folder.
40+
Discover at least one example for each transaction type in the [examples](https://github.com/mrtnetwork/xrp_dart/tree/main/example/lib) folder.
4141

4242
### Key and addresses
4343
```
@@ -67,7 +67,7 @@ At least one example has been created for each transaction type, which you can f
6767
### Transaction
6868
Every transaction type has a dedicated class for transaction creation.
6969
Descriptions for some of these classes are outlined below.
70-
Explore training examples for each transaction type in the examples folder here.
70+
Explore training examples for each transaction type in the examples folder [here](https://github.com/mrtnetwork/xrp_dart/tree/main/example/lib/examples).
7171
- Simple payment
7272

7373
```
@@ -147,7 +147,7 @@ Explore training examples for each transaction type in the examples folder here.
147147

148148
### JSON-RPC
149149

150-
Check out the [http_service]() and [socket_service]() files to learn how to create an HTTP/WEBSOCKET RPC service.
150+
Check out the [http_service](https://github.com/mrtnetwork/xrp_dart/blob/main/example/lib/socket_rpc_example/http_service.dart) and [socket_service](https://github.com/mrtnetwork/xrp_dart/blob/main/example/lib/socket_rpc_example/socket_service.dart) files to learn how to create an HTTP/WEBSOCKET RPC service.
151151

152152
- HTTP JSON RPC
153153

example/pubspec.lock

+6-5
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ packages:
2020
blockchain_utils:
2121
dependency: "direct main"
2222
description:
23-
path: "../../../blockchain_utils"
24-
relative: true
25-
source: path
26-
version: "1.3.0"
23+
name: blockchain_utils
24+
sha256: b6d92443faa88b003f1088c13cd4ba448023a00cd3dd923277ca9115e353da01
25+
url: "https://pub.dev"
26+
source: hosted
27+
version: "1.4.0"
2728
boolean_selector:
2829
dependency: transitive
2930
description:
@@ -245,6 +246,6 @@ packages:
245246
path: ".."
246247
relative: true
247248
source: path
248-
version: "2.0.0"
249+
version: "3.0.0"
249250
sdks:
250251
dart: ">=3.2.2 <4.0.0"

example/pubspec.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ dependencies:
3535
http: ^1.1.2
3636
web_socket_channel: ^2.4.0
3737
asn1lib: ^1.5.0
38-
blockchain_utils:
39-
path: ../../../blockchain_utils
38+
blockchain_utils: ^1.4.0
4039

4140

4241
# The following adds the Cupertino Icons font to your application.

lib/src/xrpl/models/amm/amm_vote.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class AMMVote extends XRPTransaction {
5555
@override
5656
String? get validate {
5757
if (tradingFee < 0 || tradingFee > AMMCreate.ammMaxTradingFee) {
58-
"TradingFee Must be between 0 and ${AMMCreate.ammMaxTradingFee}";
58+
return "TradingFee Must be between 0 and ${AMMCreate.ammMaxTradingFee}";
5959
}
6060
return super.validate;
6161
}

0 commit comments

Comments
 (0)