diff --git a/.dart_tool/package_config.json b/.dart_tool/package_config.json index dc91595..1527fd3 100644 --- a/.dart_tool/package_config.json +++ b/.dart_tool/package_config.json @@ -27,7 +27,7 @@ }, { "name": "blockchain_utils", - "rootUri": "file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/blockchain_utils-2.0.1", + "rootUri": "file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/blockchain_utils-2.1.1", "packageUri": "lib/", "languageVersion": "2.15" }, @@ -290,7 +290,7 @@ "languageVersion": "2.15" } ], - "generated": "2024-02-27T11:10:06.654853Z", + "generated": "2024-03-16T13:18:18.222848Z", "generator": "pub", "generatorVersion": "3.2.3" } diff --git a/.dart_tool/package_config_subset b/.dart_tool/package_config_subset new file mode 100644 index 0000000..ccda546 --- /dev/null +++ b/.dart_tool/package_config_subset @@ -0,0 +1,193 @@ +_fe_analyzer_shared +3.0 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/_fe_analyzer_shared-64.0.0/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/_fe_analyzer_shared-64.0.0/lib/ +analyzer +3.0 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/analyzer-6.2.0/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/analyzer-6.2.0/lib/ +args +2.19 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/args-2.4.2/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/args-2.4.2/lib/ +async +2.18 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/async-2.11.0/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/async-2.11.0/lib/ +blockchain_utils +2.15 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/blockchain_utils-2.1.1/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/blockchain_utils-2.1.1/lib/ +boolean_selector +2.17 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/boolean_selector-2.1.1/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/boolean_selector-2.1.1/lib/ +collection +2.18 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.17.2/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.17.2/lib/ +convert +2.18 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/convert-3.1.1/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/convert-3.1.1/lib/ +coverage +2.18 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/coverage-1.6.3/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/coverage-1.6.3/lib/ +crypto +2.19 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/crypto-3.0.3/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/crypto-3.0.3/lib/ +file +3.0 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/file-7.0.0/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/file-7.0.0/lib/ +frontend_server_client +2.12 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/frontend_server_client-3.2.0/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/frontend_server_client-3.2.0/lib/ +glob +2.19 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/glob-2.1.2/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/glob-2.1.2/lib/ +http_multi_server +2.12 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/http_multi_server-3.2.1/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/http_multi_server-3.2.1/lib/ +http_parser +2.12 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/http_parser-4.0.2/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/http_parser-4.0.2/lib/ +io +2.12 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/io-1.0.4/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/io-1.0.4/lib/ +js +2.19 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/js-0.6.7/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/js-0.6.7/lib/ +lints +3.0 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/lints-3.0.0/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/lints-3.0.0/lib/ +logging +2.19 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/logging-1.2.0/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/logging-1.2.0/lib/ +matcher +3.0 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.16+1/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.16+1/lib/ +meta +2.12 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.9.1/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.9.1/lib/ +mime +2.18 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/mime-1.0.4/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/mime-1.0.4/lib/ +node_preamble +2.12 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/node_preamble-2.0.2/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/node_preamble-2.0.2/lib/ +package_config +2.12 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/package_config-2.1.0/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/package_config-2.1.0/lib/ +path +2.12 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/path-1.8.3/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/path-1.8.3/lib/ +pool +2.12 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/pool-1.5.1/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/pool-1.5.1/lib/ +pub_semver +2.17 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/pub_semver-2.1.4/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/pub_semver-2.1.4/lib/ +shelf +2.17 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/shelf-1.4.1/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/shelf-1.4.1/lib/ +shelf_packages_handler +2.17 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/shelf_packages_handler-3.0.2/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/shelf_packages_handler-3.0.2/lib/ +shelf_static +2.17 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/shelf_static-1.1.2/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/shelf_static-1.1.2/lib/ +shelf_web_socket +2.17 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/shelf_web_socket-1.0.4/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/shelf_web_socket-1.0.4/lib/ +source_map_stack_trace +2.12 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/source_map_stack_trace-2.1.1/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/source_map_stack_trace-2.1.1/lib/ +source_maps +2.18 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/source_maps-0.10.12/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/source_maps-0.10.12/lib/ +source_span +2.18 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/source_span-1.10.0/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/source_span-1.10.0/lib/ +stack_trace +2.18 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/stack_trace-1.11.1/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/stack_trace-1.11.1/lib/ +stream_channel +2.19 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/stream_channel-2.1.2/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/stream_channel-2.1.2/lib/ +string_scanner +2.18 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.2.0/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.2.0/lib/ +term_glyph +2.12 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/term_glyph-1.2.1/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/term_glyph-1.2.1/lib/ +test +3.0 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/test-1.25.2/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/test-1.25.2/lib/ +test_api +3.0 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/test_api-0.7.0/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/test_api-0.7.0/lib/ +test_core +3.0 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/test_core-0.6.0/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/test_core-0.6.0/lib/ +typed_data +2.17 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/typed_data-1.3.2/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/typed_data-1.3.2/lib/ +vm_service +2.19 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/vm_service-11.10.0/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/vm_service-11.10.0/lib/ +watcher +3.0 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/watcher-1.1.0/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/watcher-1.1.0/lib/ +web_socket_channel +2.15 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/web_socket_channel-2.4.0/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/web_socket_channel-2.4.0/lib/ +webkit_inspection_protocol +3.0 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/webkit_inspection_protocol-1.2.1/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/webkit_inspection_protocol-1.2.1/lib/ +yaml +2.19 +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/yaml-3.1.2/ +file:///C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/yaml-3.1.2/lib/ +xrpl_dart +2.15 +file:///C:/in_work/bitcoin/github_xrp/xrpl/ +file:///C:/in_work/bitcoin/github_xrp/xrpl/lib/ +2 diff --git a/.dart_tool/test/incremental_kernel.Ly9AZGFydD0yLjE1 b/.dart_tool/test/incremental_kernel.Ly9AZGFydD0yLjE1 new file mode 100644 index 0000000..daa624c Binary files /dev/null and b/.dart_tool/test/incremental_kernel.Ly9AZGFydD0yLjE1 differ diff --git a/.dart_tool/version b/.dart_tool/version new file mode 100644 index 0000000..185e484 --- /dev/null +++ b/.dart_tool/version @@ -0,0 +1 @@ +3.16.5 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index a9b1040..6811f30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 4.1.1 + + - Update dependencies. + ## 4.1.0 - Update dependencies. diff --git a/example/pubspec.lock b/example/pubspec.lock index 5421d9d..8c7fb0f 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -21,10 +21,10 @@ packages: dependency: "direct main" description: name: blockchain_utils - sha256: "7f16b50714c3b7c167d58f7f3b3839063c852af235a8937e4f6dd0a4298573b8" + sha256: "38ef5f4a22441ac4370aed9071dc71c460acffc37c79b344533f67d15f24c13c" url: "https://pub.dev" source: hosted - version: "2.0.1" + version: "2.1.1" boolean_selector: dependency: transitive description: @@ -246,6 +246,6 @@ packages: path: ".." relative: true source: path - version: "4.0.1" + version: "4.1.0" sdks: dart: ">=3.2.2 <4.0.0" diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 5f2af28..c7ad66e 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -35,7 +35,7 @@ dependencies: http: ^1.1.2 web_socket_channel: ^2.4.0 asn1lib: ^1.5.0 - blockchain_utils: ^2.0.1 + blockchain_utils: ^2.1.0 # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. diff --git a/lib/src/xrpl/bytes/types/uint64.dart b/lib/src/xrpl/bytes/types/uint64.dart index 4763931..acedb68 100644 --- a/lib/src/xrpl/bytes/types/uint64.dart +++ b/lib/src/xrpl/bytes/types/uint64.dart @@ -24,7 +24,8 @@ class UInt64 extends UInt { if (value < 0) { throw XRPLBinaryCodecException('$value must be an unsigned integer'); } - return UInt64(IntUtils.toBytes(value, length: lengthInBytes)); + return UInt64( + BigintUtils.toBytes(BigInt.from(value), length: lengthInBytes)); } else if (value is String) { if (!_hexRegex.hasMatch(value)) { throw XRPLBinaryCodecException('$value is not a valid hex string'); diff --git a/pubspec.lock b/pubspec.lock index 1017790..133b50c 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -37,10 +37,10 @@ packages: dependency: "direct main" description: name: blockchain_utils - sha256: "7f16b50714c3b7c167d58f7f3b3839063c852af235a8937e4f6dd0a4298573b8" + sha256: "38ef5f4a22441ac4370aed9071dc71c460acffc37c79b344533f67d15f24c13c" url: "https://pub.dev" source: hosted - version: "2.0.1" + version: "2.1.1" boolean_selector: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 3d60ba3..a78d397 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: xrpl_dart description: Easily sign, create, and send all types of XRP transactions using the xrpl_dart package. Manage your XRP Ledger transactions securely and with ease. -version: 4.1.0 +version: 4.1.1 homepage: "https://github.com/mrtnetwork/xrpl_dart" repository: "https://github.com/mrtnetwork/xrpl_dart" Author: mrhaydari.t@gmail.com @@ -15,7 +15,7 @@ environment: sdk: '>=2.15.0 <4.0.0' dependencies: - blockchain_utils: ^2.0.1 + blockchain_utils: ^2.1.1 dev_dependencies: lints: ^3.0.0