mgo 0.1.0 copy "mgo: ^0.1.0" to clipboard
mgo: ^0.1.0 copied to clipboard

A cross-platform SDK for Mango blockchain, supporting Mobile, Web and Desktop.

90/ 160
pub points
11
downloads

We analyzed this package 12 days ago, and awarded it 90 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

251 out of 1938 API elements (13.0 %) 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: address, address.computeZkLoginAddressFromSeed, bcs, bcs.zkLoginSignature, bech32.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:mgo/mgo.dart that imports:
  • package:mgo/zklogin/zklogin.dart that imports:
  • package:mgo/zklogin/signature.dart that imports:
  • package:mgo/cryptography/signature.dart that imports:
  • package:mgo/signers/signer_with_provider.dart that imports:
  • package:mgo/signers/txn_data_serializers/rpc_txn_data_serializer.dart that imports:
  • package:mgo/rpc/client.dart that imports:
  • package:mgo/http/http.dart that imports:
  • package:mgo/http/http_native.dart that imports:
  • package:dio/io.dart that imports:
  • package:dio/src/dio/dio_for_native.dart that imports:
  • package:dio/src/adapters/io_adapter.dart that imports:
  • dart:io

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 97 issues. Showing the first 2:

INFO: The variable name 'U8' isn't a lowerCamelCase identifier.

lib/bcs/mgo_bcs.dart:12:15

   ╷
12 │     static final U8 = Bcs.u8();
   │                  ^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/bcs/mgo_bcs.dart

INFO: The variable name 'U16' isn't a lowerCamelCase identifier.

lib/bcs/mgo_bcs.dart:13:15

   ╷
13 │     static final U16 = Bcs.u16();
   │                  ^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/bcs/mgo_bcs.dart

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
bcs ^0.1.1 0.1.2 0.2.0
bip32 ^2.0.0 2.0.0 2.0.0
bip39 ^1.0.6 1.0.6 1.0.6
dio ^5.1.2 5.11.1 5.11.1
ed25519_edwards ^0.3.1 0.3.2 0.3.2
freezed_annotation ^2.2.0 2.4.4 3.1.0
hex ^0.2.0 0.2.0 0.2.0
json_annotation ^4.8.0 4.12.0 4.12.0
meta ^1.12.0 1.19.0 1.19.0
pointycastle ^3.7.3 3.9.1 4.0.0
web_socket_channel ^2.4.0 2.4.5 3.0.3
Transitive dependencies
Package Constraint Compatible Latest Notes
adaptive_number - 1.0.0 1.0.0
async - 2.13.1 2.13.1
bs58check - 1.0.2 1.0.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
dio_web_adapter - 2.2.2 2.2.2
fixnum - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
js - 0.7.2 0.7.2 Discontinued
mime - 2.1.0 2.1.0
path - 1.9.1 1.9.1
source_span - 1.10.2 1.10.2
stream_channel - 2.1.4 2.1.4
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 - 0.5.1 1.1.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 4 issues. Showing the first 2:

The constraint `^0.1.1` on bcs does not support the stable version `0.2.0`.

Try running dart pub upgrade --major-versions bcs to update the constraint.

The constraint `^2.2.0` on freezed_annotation does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions freezed_annotation to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_CLASS - lib/http/interceptor.dart:38:16 - Undefined class 'DioException'.

Run dart pub downgrade and then dart 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.19, Dart 3.13.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
90
points
11
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A cross-platform SDK for Mango blockchain, supporting Mobile, Web and Desktop.

Repository (GitHub)
View/report issues

Topics

#mgo #mango-network #blockchain #web3 #sdk

License

Apache-2.0 (license)

Dependencies

bcs, bip32, bip39, dio, ed25519_edwards, freezed_annotation, hex, json_annotation, meta, pointycastle, web_socket_channel

More

Packages that depend on mgo