agent_dart 1.0.0-dev.24 agent_dart: ^1.0.0-dev.24 copied to clipboard
An agent library built for Internet Computer, a plugin package for dart and flutter apps. Developers can build ones to interact with Dfinity's blockchain directly.
We analyzed this package 4 hours ago, and awarded it 120 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
2185 out of 5686 API elements (38.4 %) have documentation comments.
Some symbols that are missing documentation: actor
, actor.Actor.canisterIdOf
, actor.Actor.createActor
, actor.Actor.createActorClass
, actor.Actor.createAndInstallCanister
.
10/10 points: Package has 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 does not support platform `Web`.
Because:
package:agent_dart/agent_dart.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:agent_dart/agent_dart.dart
that imports:package:agent_dart/wallet/wallet.dart
that imports:package:agent_dart/wallet/signer.dart
that imports:package:agent_dart/wallet/keysmith.dart
that imports:package:agent_dart/identity/identity.dart
that imports:package:agent_dart/identity/secp256k1.dart
that imports:package:agent_dart/bridge/ffi/ffi.dart
that imports:package:agent_dart/bridge/ffi/ffi_helper.dart
that imports:package:agent_dart/bridge/ffi/ffi_bridge.dart
that imports:dart:ffi
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: The argument type 'MapEntry
lib/agent/actor.dart:25:69
╷
25 │ ...props.entries.map((n) => " '${n.key}': ${jsonEncode(props[n])}"),
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/agent/actor.dart
INFO: The argument type 'Uint8List' isn't related to 'String'.
lib/agent/agent/http/index.dart:277:24
╷
277 │ body: response[body],
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/agent/agent/http/index.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
archive |
^3.5.0 |
3.6.1 | 3.6.1 |
args |
^2.3.1 |
2.5.0 | 2.5.0 |
bip32 |
^2.0.0 |
2.0.0 | 2.0.0 |
bip39 |
^1.0.6 |
1.0.6 | 1.0.6 |
cbor |
^4.1.0 |
4.1.0 | 6.3.3 |
collection |
^1.16.0 |
1.18.0 | 1.19.0 |
convert |
^3.0.1 |
3.1.1 | 3.1.1 |
crypto |
^3.0.2 |
3.0.5 | 3.0.5 |
ffi |
^2.0.1 |
2.1.3 | 2.1.3 |
fixnum |
^1.0.1 |
1.1.0 | 1.1.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_rust_bridge |
^1.82.6 |
1.82.6 | 2.4.0 |
http |
^1.0.0 |
1.2.2 | 1.2.2 |
js |
>=0.6.0 <0.8.0 |
0.6.7 | 0.7.1 |
meta |
^1.7.0 |
1.15.0 | 1.16.0 |
path |
^1.8.1 |
1.9.0 | 1.9.0 |
pinenacl |
^0.5.1 |
0.5.1 | 0.6.0 |
pointycastle |
^3.6.0 |
3.9.1 | 3.9.1 |
protobuf |
^3.1.0 |
3.1.0 | 3.1.0 |
recase |
^4.0.0 |
4.1.0 | 4.1.0 |
tuple |
^2.0.0 |
2.0.2 | 2.0.2 |
typed_data |
^1.3.1 |
1.3.2 | 1.3.2 |
uuid |
>=3.0.0 <5.0.0 |
4.5.1 | 4.5.1 |
validators |
^3.0.0 |
3.0.0 | 3.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.11.0 | 2.11.0 |
bs58check |
- | 1.0.2 | 1.0.2 |
build_cli_annotations |
- | 2.1.0 | 2.1.0 |
characters |
- | 1.3.0 | 1.3.0 |
hex |
- | 0.2.0 | 0.2.0 |
http_parser |
- | 4.0.2 | 4.1.0 |
logging |
- | 1.2.0 | 1.2.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
mime |
- | 2.0.0 | 2.0.0 |
petitparser |
- | 6.0.2 | 6.0.2 |
pool |
- | 1.5.1 | 1.5.1 |
puppeteer |
- | 3.15.0 | 3.15.0 |
shelf |
- | 1.4.1 | 1.4.2 |
shelf_static |
- | 1.1.3 | 1.1.3 |
shelf_web_socket |
- | 1.0.4 | 2.0.0 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
sprintf |
- | 7.0.0 | 7.0.0 |
stack_trace |
- | 1.12.0 | 1.12.0 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.3.0 | 1.3.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 1.1.0 | 1.1.0 |
web_socket_channel |
- | 2.4.0 | 3.0.1 |
yaml |
- | 3.1.2 | 3.1.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 3 issues. Showing the first 2:
The constraint `^4.1.0` on cbor does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions cbor
to update the constraint.
The constraint `^1.82.6` on flutter_rust_bridge does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions flutter_rust_bridge
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 1 error:
UNDEFINED_SETTER
-lib/archiver/encoder.dart:101:10
- The setter 'zipPath' isn't defined for the type 'SingingBlockZipFileEncoder'.
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.22.12
, Flutter 3.24.3
, Dart 3.5.3
.
Check the analysis log for details.