m10_sdk 0.34.0 m10_sdk: ^0.34.0 copied to clipboard
This package allows Flutter and Dart applications to interact with the M10 platform.
We analyzed this package 22 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
3381 out of 6400 API elements (52.8 %) have documentation comments.
Some symbols that are missing documentation: builder
, builder
, builder.ContractBuilder
, builder.ContractBuilder.ContractBuilder
, builder.ContractBuilder.build
.
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 not compatible with platform Web
Because:
package:m10_sdk/m10_sdk.dart
that imports:package:m10_sdk/ledger_services/service_client.dart
that imports:package:grpc/grpc.dart
that imports:package:grpc/src/shared/streams.dart
that imports:package:http2/transport.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:m10_sdk/m10_sdk.dart
that imports:package:m10_sdk/library.dart
that imports:package:m10_sdk/src/generated/sdk/api.pbgrpc.dart
that imports:package:grpc/service_api.dart
that imports:package:grpc/src/server/service.dart
that imports:package:grpc/src/server/call.dart
that imports:package:grpc/src/shared/io_bits/io_bits.dart
that imports:package:grpc/src/shared/io_bits/io_bits_io.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.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 60 issues. Showing the first 2:
WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: EnhancedTransferStepDoc._fromBank, EnhancedTransferStepDoc._toBank
lib/models/models.dart:187:7
╷
187 │ class EnhancedTransferStepDoc extends _Document<TransferStep>
│ ^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/models/models.dart
INFO: 'whereNotNull' is deprecated and shouldn't be used. Use .nonNulls instead.
lib/m10_sdk.dart:1017:50
╷
1017 │ [txDocs].map(PaymentRequestDoc.from).whereNotNull().toList();
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/m10_sdk.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
^1.15.0 |
1.19.1 | 1.19.1 |
convert |
^3.0.0 |
3.1.2 | 3.1.2 |
cryptography |
^2.0.1 |
2.7.0 | 2.7.0 |
dio |
^5.2.1 |
5.7.0 | 5.7.0 |
equatable |
^2.0.3 |
2.0.7 | 2.0.7 |
fixnum |
^1.0.0 |
1.1.1 | 1.1.1 |
grpc |
^3.2.0 |
3.2.4 | 4.0.1 |
path |
^1.8.0 |
1.9.1 | 1.9.1 |
protobuf |
^3.0.0 |
3.1.0 | 3.1.0 |
recase |
^4.0.0 |
4.1.0 | 4.1.0 |
uuid |
^3.0.3 |
3.0.7 | 4.5.1 |
xid |
^1.0.12 |
1.2.1 | 1.2.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
archive |
- | 3.6.1 | 4.0.2 |
args |
- | 2.6.0 | 2.6.0 |
async |
- | 2.12.0 | 2.12.0 |
clock |
- | 1.1.2 | 1.1.2 |
crypto |
- | 3.0.6 | 3.0.6 |
dio_web_adapter |
- | 2.0.0 | 2.0.0 |
ffi |
- | 2.1.3 | 2.1.3 |
google_identity_services_web |
- | 0.3.3 | 0.3.3 |
googleapis_auth |
- | 1.6.0 | 1.6.0 |
http |
- | 1.2.2 | 1.2.2 |
http2 |
- | 2.3.1 | 2.3.1 |
http_parser |
- | 4.1.1 | 4.1.1 |
js |
- | 0.6.7 | 0.7.1 |
meta |
- | 1.16.0 | 1.16.0 |
source_span |
- | 1.10.1 | 1.10.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 |
web |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^3.2.0` on grpc does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions grpc
to update the constraint.
The constraint `^3.0.3` on uuid does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions uuid
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.17
, Dart 3.6.0
.
Check the analysis log for details.