web3_signers 0.2.0
web3_signers: ^0.2.0 copied to clipboard
Web3 signers provides a uniform interface for signing EIP-1271 messages with different EC algorithms.
We analyzed this package 16 days ago, and awarded it 140 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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
135 out of 195 API elements (69.2 %) have documentation comments.
Some symbols that are missing documentation: web3_signers, web3_signers.AuthData, web3_signers.AuthData.AuthData.new, web3_signers.AuthData.aaGUID, web3_signers.AuthData.b64Credential.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:web3_signers/web3_signers.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:web3_signers/web3_signers.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:web3_signers/web3_signers.dartthat declares support for platforms:Android,iOS,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:web3_signers/web3_signers.dartthat imports:package:web3_signers/src/web3_signers_base.dartthat imports:package:web3_signers/src/utils/utils.dartthat imports:package:web3_signers/src/interfaces/interfaces.dartthat imports:package:passkeys/types.dartthat imports:package:passkeys_doctor/passkeys_doctor.dartthat imports:package:passkeys_doctor/src/types/exception_messages.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:web3_signers/web3_signers.dartthat imports:package:web3_signers/src/web3_signers_base.dartthat imports:package:web3_signers/src/utils/utils.dartthat imports:package:web3_signers/src/interfaces/interfaces.dartthat imports:package:passkeys/types.dartthat imports:package:passkeys_doctor/passkeys_doctor.dartthat declares support for platforms:Android.
Package does not support platform `Web`.
Because:
package:web3_signers/web3_signers.dartthat imports:package:web3_signers/src/web3_signers_base.dartthat imports:package:web3_signers/src/utils/utils.dartthat imports:package:web3_signers/src/interfaces/interfaces.dartthat imports:package:passkeys/types.dartthat imports:package:passkeys_doctor/passkeys_doctor.dartthat declares support for platforms:Android.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:web3_signers/web3_signers.dartthat imports:package:web3_signers/src/web3_signers_base.dartthat imports:package:web3_signers/src/utils/utils.dartthat imports:package:web3_signers/src/interfaces/interfaces.dartthat imports:package:passkeys/types.dartthat imports:package:passkeys_doctor/passkeys_doctor.dartthat imports:package:passkeys_doctor/src/types/exception_messages.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:dart:io
This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: Angle brackets will be interpreted as HTML.
lib/src/interfaces/passkey_signer_interface.dart:18:23
╷
18 │ /// Returns a Future<PassKeyPair> representing the registered PassKeyPair.
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/interfaces/passkey_signer_interface.dart
INFO: Angle brackets will be interpreted as HTML.
lib/src/interfaces/passkey_signer_interface.dart:37:23
╷
37 │ /// Returns a Future<PassKeySignature> representing the PassKeySignature of the signed hash.
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/interfaces/passkey_signer_interface.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
asn1lib |
^1.6.4 |
1.6.5 | 1.6.5 | |
blockchain_utils |
^5.0.0 |
5.4.0 | 5.4.0 | |
eth_sig_util |
^0.0.9 |
0.0.9 | 0.0.9 | |
passkeys |
^2.9.0 |
2.17.4 | 2.17.4 | |
web3dart |
^2.7.3 |
2.7.3 | 3.0.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
buffer |
- | 1.2.3 | 1.2.3 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
device_info_plus |
- | 11.5.0 | 12.3.0 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
eip1559 |
- | 0.6.2 | 0.6.2 | |
eip55 |
- | 1.0.2 | 1.0.3 | |
equatable |
- | 2.0.7 | 2.0.7 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
json_annotation |
- | 4.9.0 | 4.9.0 | |
json_rpc_2 |
- | 3.0.3 | 4.0.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
package_info_plus |
- | 8.3.1 | 9.0.0 | |
package_info_plus_platform_interface |
- | 3.2.1 | 3.2.1 | |
passkeys_android |
- | 2.11.0 | 2.11.0 | |
passkeys_darwin |
- | 0.3.0 | 0.3.0 | |
passkeys_doctor |
- | 1.2.0 | 1.2.0 | |
passkeys_ios |
- | 2.9.0 | 2.9.0 | Discontinued |
passkeys_platform_interface |
- | 2.6.0 | 2.6.0 | |
passkeys_web |
- | 2.8.1 | 2.8.1 | |
passkeys_windows |
- | 0.1.1 | 0.1.1 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pointycastle |
- | 3.9.1 | 4.0.0 | |
sec |
- | 1.1.0 | 1.1.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
ua_client_hints |
- | 1.4.1 | 1.4.1 | |
uuid |
- | 4.5.2 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
wallet |
- | 0.0.13 | 0.0.18 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 5.15.0 | |
win32_registry |
- | 2.1.0 | 2.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.7.3` on web3dart does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions web3dart 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.3, Dart 3.10.4.
Check the analysis log for details.