capsule 0.8.0-dev.3
capsule: ^0.8.0-dev.3 copied to clipboard
Flutter package for Capsule SDK
We analyzed this package 29 hours ago, and awarded it 95 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
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.8.0-dev.3").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
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
5 out of 176 API elements (2.8 %) 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: capsule
, capsule.Capsule
, capsule.Capsule.Capsule.new
, capsule.Capsule.apiKey
, capsule.Capsule.cancelOperation
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:capsule/capsule.dart
that imports:package:capsule/src/capsule.dart
that imports:package:passkeys/types.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `Linux`.
Because:
package:capsule/capsule.dart
that imports:package:capsule/src/capsule.dart
that imports:package:passkeys/types.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `Web`.
Because:
package:capsule/capsule.dart
that imports:package:capsule/src/capsule.dart
that imports:package:passkeys/types.dart
that imports:package:passkeys_doctor/passkeys_doctor.dart
that declares support for platforms:Android
.
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:capsule/capsule.dart
that imports:package:capsule/src/capsule.dart
that imports:package:passkeys/types.dart
that imports:package:passkeys_doctor/passkeys_doctor.dart
that imports:package:passkeys_doctor/src/types/exception_messages.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32_registry/win32_registry.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:capsule/capsule.dart
that imports:package:capsule/src/capsule.dart
that imports:package:passkeys/types.dart
that imports:package:passkeys_doctor/passkeys_doctor.dart
that declares support for platforms:Android
.
Package does not support platform `macOS`.
Because:
package:capsule/capsule.dart
that imports:package:capsule/src/capsule.dart
that imports:package:passkeys/types.dart
that imports:package:passkeys_doctor/passkeys_doctor.dart
that declares support for platforms:Android
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:capsule/capsule.dart
that imports:package:capsule/src/capsule_solana_web3_signer.dart
that imports:package:solana_web3/solana_web3.dart
that imports:package:solana_web3/src/transactions/transaction.dart
that imports:package:solana_web3/src/transactions/transaction_instruction.dart
that imports:package:solana_web3/src/transactions/account_meta.dart
that imports:package:solana_web3/src/crypto/pubkey.dart
that imports:package:solana_web3/src/programs/token/program.dart
that imports:package:solana_web3/src/programs/program.dart
that imports:package:solana_web3/src/rpc/connection.dart
that imports:package:solana_web3/src/rpc/websocket_connection.dart
that imports:package:solana_web3/src/rpc/methods/unsubscribe.dart
that imports:package:solana_web3/src/rpc/interfaces/json_rpc_type_method.dart
that imports:package:solana_web3/src/rpc/interfaces/json_rpc_method.dart
that imports:package:solana_web3/src/rpc/interfaces/json_rpc_params_mixin.dart
that imports:package:solana_jsonrpc/jsonrpc.dart
that imports:package:solana_jsonrpc/src/jsonrpc/websocket_client.dart
that 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.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 20 issues. Showing the first 2:
WARNING: The value of the field '_address' isn't used.
lib/src/phantom_connect.dart:19:11
╷
19 │ String? _address;
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/phantom_connect.dart
INFO: The member 'toString' overrides an inherited member but isn't annotated with '@override'.
lib/src/models/web_challenge_result.dart:30:10
╷
30 │ String toString() {
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/models/web_challenge_result.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
app_links |
^6.3.3 |
6.4.1 | 6.4.1 | |
flutter_inappwebview |
^6.1.5 |
6.1.5 | 6.1.5 | |
flutter_svg |
^2.0.7 |
2.2.1 | 2.2.1 | |
passkeys |
^2.1.0 |
2.15.1 | 2.15.1 | |
pinenacl |
^0.5.1 |
0.5.1 | 0.6.0 | |
solana_web3 |
^0.1.3 |
0.1.3 | 0.1.3 | |
url_launcher |
^6.3.1 |
6.3.2 | 6.3.2 | |
uuid |
^4.3.3 |
4.5.1 | 4.5.1 | |
web3dart |
^2.7.3 |
2.7.3 | 3.0.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
app_links_linux |
- | 1.0.3 | 1.0.3 | |
app_links_platform_interface |
- | 2.0.2 | 2.0.2 | |
app_links_web |
- | 1.0.4 | 1.0.4 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
base_codecs |
- | 1.0.1 | 1.0.1 | |
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.6 | 3.0.6 | |
device_info_plus |
- | 11.5.0 | 12.2.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 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_inappwebview_android |
- | 1.1.3 | 1.1.3 | |
flutter_inappwebview_internal_annotations |
- | 1.2.0 | 1.2.0 | |
flutter_inappwebview_ios |
- | 1.1.2 | 1.1.2 | |
flutter_inappwebview_macos |
- | 1.1.2 | 1.1.2 | |
flutter_inappwebview_platform_interface |
- | 1.3.0+1 | 1.3.0+1 | |
flutter_inappwebview_web |
- | 1.1.2 | 1.1.2 | |
flutter_inappwebview_windows |
- | 0.6.0 | 0.6.0 | |
gtk |
- | 2.1.0 | 2.1.0 | |
http |
- | 1.5.0 | 1.5.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.16.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.2.0 | 0.2.0 | |
passkeys_doctor |
- | 1.2.0 | 1.2.0 | |
passkeys_ios |
- | 2.9.0 | 2.9.0 | Discontinued |
passkeys_platform_interface |
- | 2.4.0 | 2.4.0 | |
passkeys_web |
- | 2.7.0 | 2.7.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pointycastle |
- | 3.9.1 | 4.0.0 | |
sec |
- | 1.1.0 | 1.1.1 | |
solana_borsh |
- | 0.0.1 | 0.0.1 | |
solana_buffer |
- | 0.0.1 | 0.0.1 | |
solana_common |
- | 0.1.0+1 | 0.1.0+1 | |
solana_jsonrpc |
- | 0.0.1 | 0.0.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
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 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
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 | |
url_launcher_android |
- | 6.3.24 | 6.3.24 | |
url_launcher_ios |
- | 6.3.5 | 6.3.5 | |
url_launcher_linux |
- | 3.2.1 | 3.2.1 | |
url_launcher_macos |
- | 3.2.4 | 3.2.4 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.1 | 2.4.1 | |
url_launcher_windows |
- | 3.1.4 | 3.1.4 | |
vector_graphics |
- | 1.1.19 | 1.1.19 | |
vector_graphics_codec |
- | 1.1.13 | 1.1.13 | |
vector_graphics_compiler |
- | 1.1.19 | 1.1.19 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
wallet |
- | 0.0.13 | 0.0.18 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket_channel |
- | 2.4.0 | 3.0.3 | |
win32 |
- | 5.15.0 | 5.15.0 | |
win32_registry |
- | 2.1.0 | 2.1.0 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.5.1` on pinenacl does not support the stable version `0.6.0`.
Try running dart pub upgrade --major-versions pinenacl
to update the constraint.
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.22.24
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.