wc_dart_v2 0.0.3
wc_dart_v2: ^0.0.3 copied to clipboard
Wallet Connect sdk for dart.
We analyzed this package 4 hours ago, and awarded it 90 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
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.
0/10 points: 20% or more of the public API has dartdoc comments
99 out of 1572 API elements (6.3 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: api, api.generateKeyPair, api.signJWT, api.verifyJWT, app_metadata.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:wc_dart_v2/core/core.dartthat imports:package:wc_dart_v2/core/relayer/relayer.dartthat imports:package:wc_dart_v2/wc_utils/jsonrpc/ws-connection/ws.dartthat imports:package:wc_dart_v2/wc_utils/jsonrpc/utils/format.dartthat imports:package:wc_dart_v2/wc_utils/jsonrpc/utils/error.dartthat imports:package:wc_dart_v2/wc_utils/jsonrpc/utils/constants.dartthat imports:package:wc_dart_v2/wc_utils/jsonrpc/models/models.dartthat imports:package:wc_dart_v2/utils/validator.dartthat imports:package:wc_dart_v2/utils/misc.dartthat imports:package:universal_html/html.dartthat imports:package:universal_html/universal_html.dartthat imports:package:universal_html/src/_sdk/html.dartthat imports:package:universal_html/src/_sdk_html_additions.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 21 issues. Showing the first 2:
INFO: Missing type annotation.
lib/core/keychain/i_key_chain.dart:19:3
╷
19 │ get(String tag);
│ ^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/core/keychain/i_key_chain.dart
INFO: The variable name 'FIVE_MINUTES' isn't a lowerCamelCase identifier.
lib/core/pairing/pairing.dart:55:9
╷
55 │ final FIVE_MINUTES = 5 * 60; // 5mins in secs
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/core/pairing/pairing.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
bs58 |
^1.0.2 |
1.0.2 | 1.0.2 | |
convert |
^3.1.0 |
3.1.2 | 3.1.2 | |
cryptography |
^2.0.5 |
2.9.0 | 2.9.0 | |
ed25519_edwards |
^0.3.1 |
0.3.1 | 0.3.1 | |
hive |
^2.2.3 |
2.2.3 | 2.2.3 | |
hive_flutter |
^1.1.0 |
1.1.0 | 1.1.0 | |
json_annotation |
^4.7.0 |
4.9.0 | 4.9.0 | |
logger |
^1.1.0 |
1.4.0 | 2.6.2 | |
platform_info |
^3.2.0 |
3.2.0 | 5.0.0 | |
pointycastle |
^3.6.2 |
3.9.1 | 4.0.0 | |
universal_html |
^2.0.8 |
2.3.0 | 2.3.0 | |
web_browser_detect |
^2.0.3 |
2.2.0 | 2.2.0 | |
web_socket_channel |
^2.2.0 |
2.4.0 | 3.0.3 | |
x25519 |
^0.1.1 |
0.1.1 | 0.1.1 | |
yx_tool |
^0.1.2 |
0.1.2 | 0.1.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
adaptive_number |
- | 1.0.0 | 1.0.0 | |
async |
- | 2.13.0 | 2.13.0 | |
base_x |
- | 2.0.1 | 2.0.1 | |
characters |
- | 1.4.0 | 1.4.1 | |
charcode |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
csslib |
- | 1.0.2 | 1.0.2 | |
ffi |
- | 2.1.5 | 2.1.5 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
html |
- | 0.15.6 | 0.15.6 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.5.1 | 2.5.1 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
universal_io |
- | 2.3.1 | 2.3.1 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 4 issues. Showing the first 2:
The constraint `^1.1.0` on logger does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions logger to update the constraint.
The constraint `^3.2.0` on platform_info does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions platform_info to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 2 errors:
UNDEFINED_NAMED_PARAMETER-lib/wc_utils/jsonrpc/models/models.dart:91:12- The named parameter 'includeFromJson' isn't defined.UNDEFINED_NAMED_PARAMETER-lib/wc_utils/jsonrpc/models/models.dart:91:36- The named parameter 'includeToJson' isn't defined.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.