sui 0.4.0
sui: ^0.4.0 copied to clipboard
A cross-platform SDK for Sui blockchain, supporting Mobile, Web and Desktop.
We analyzed this package 16 hours ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
7862 out of 14086 API elements (55.8 %) have documentation comments.
Some symbols that are missing documentation: address, address.computeZkLoginAddressFromSeed, any.pb, any.pb.Any.Any.fromBuffer, any.pb.Any.Any.fromJson.
10/10 points: Package has an example
10/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:sui/sui.dartthat imports:package:sui/zklogin/zklogin.dartthat imports:package:sui/zklogin/signature.dartthat imports:package:sui/cryptography/signature.dartthat imports:package:sui/signers/signer_with_provider.dartthat imports:package:sui/signers/txn_data_serializers/rpc_txn_data_serializer.dartthat imports:package:sui/rpc/client.dartthat imports:package:sui/http/http.dartthat imports:package:sui/http/http_native.dartthat imports:package:dio/io.dartthat imports:package:dio/src/dio/dio_for_native.dartthat imports:package:dio/src/adapters/io_adapter.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 85 issues. Showing the first 2:
INFO: The variable name 'U8' isn't a lowerCamelCase identifier.
lib/bcs/sui_bcs.dart:11:16
╷
11 │ static final U8 = Bcs.u8();
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/bcs/sui_bcs.dart
INFO: The variable name 'U16' isn't a lowerCamelCase identifier.
lib/bcs/sui_bcs.dart:12:16
╷
12 │ static final U16 = Bcs.u16();
│ ^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/bcs/sui_bcs.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
bcs |
^0.1.2 |
0.1.2 | 0.2.0 | |
bs58check |
^1.0.2 |
1.0.2 | 1.0.2 | |
crypto |
^3.0.7 |
3.0.7 | 3.0.7 | |
dio |
^5.10.0 |
5.10.0 | 5.10.0 | |
ed25519_edwards |
^0.3.1 |
0.3.1 | 0.3.1 | |
fixnum |
^1.1.1 |
1.1.1 | 1.1.1 | |
freezed_annotation |
^3.1.0 |
3.1.0 | 3.1.0 | |
hex |
^0.2.0 |
0.2.0 | 0.2.0 | |
json_annotation |
^4.9.0 |
4.12.0 | 4.12.0 | |
pointycastle |
^4.0.0 |
4.0.0 | 4.0.0 | |
protobuf |
^4.1.0 |
4.2.0 | 6.0.0 | |
web_socket_channel |
^3.0.3 |
3.0.3 | 3.0.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
adaptive_number |
- | 1.0.0 | 1.0.0 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
dio_web_adapter |
- | 2.2.0 | 2.2.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.19.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.4.0 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.1.2` on bcs does not support the stable version `0.2.0`, that was published 0 days ago.
When bcs is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions bcs to update the constraint.
The constraint `^4.1.0` on protobuf does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions protobuf to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.14, Flutter 3.44.4, Dart 3.12.2.
Check the analysis log for details.