web3mq 0.1.2 copy "web3mq: ^0.1.2" to clipboard
web3mq: ^0.1.2 copied to clipboard

Provides a modern way of implementing Web3MQ APIs. Web3MQ is the fastest and most scalable social Layer 1 & messaging network.

110/ 160
pub points
146
downloads

We analyzed this package 4 days ago, and awarded it 110 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: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

385 out of 825 API elements (46.7 %) have documentation comments.

Some symbols that are missing documentation: web3mq.Account, web3mq.Account.Account.from, web3mq.Account.absoluteString, web3mq.Account.address, web3mq.Account.blockchainIdentifier.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:web3mq/web3mq.dart that imports:
  • package:web3mq/src/persistence/persistence_client.dart that imports:
  • package:web3mq/src/persistence/db/shared/native_db.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:web3mq/web3mq.dart that imports:
  • package:web3mq/src/dapp_connect/dapp_connect_client.dart that imports:
  • package:web3mq/src/dapp_connect/error/error.dart that imports:
  • package:web3mq/src/error/error.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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 22 issues. Showing the first 2:

WARNING: The declaration '_$ThreadListResponseToJson' isn't referenced.

lib/src/api/responses.g.dart:347:22

    ╷
347 │ Map<String, dynamic> _$ThreadListResponseToJson(ThreadListResponse instance) =>
    │                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/api/responses.g.dart

WARNING: The declaration '_$RPCResultFromJson' isn't referenced.

lib/src/dapp_connect/model/rpc_result.g.dart:9:11

  ╷
9 │ RPCResult _$RPCResultFromJson(Map<String, dynamic> json) => RPCResult();
  │           ^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/dapp_connect/model/rpc_result.g.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
adaptive_number ^1.0.0 1.0.0 1.0.0
collection ^1.17.0 1.19.1 1.19.1
convert ^3.1.1 3.1.2 3.1.2
cryptography ^2.0.5 2.7.0 2.7.0
dio ^5.0.0 5.9.0 5.9.0
drift ^1.5.0 1.7.1 2.28.2
equatable ^2.0.5 2.0.7 2.0.7
fixnum ^1.0.1 1.1.1 1.1.1
graphql ^5.1.3 5.2.0-beta.6 5.2.2
http_parser ^4.0.2 4.1.2 4.1.2
intl ^0.18.0 0.18.1 0.20.2
json_annotation ^4.7.0 4.9.0 4.9.0
logging ^1.1.0 1.3.0 1.3.0
meta ^1.8.0 1.16.0 1.17.0
mutex ^3.0.0 3.1.0 3.1.0
path ^1.8.0 1.9.1 1.9.1
path_provider ^2.0.1 2.1.5 2.1.5
pointycastle ^3.6.2 3.9.1 4.0.0
protobuf ^2.1.0 2.1.0 5.0.0
rxdart ^0.27.7 0.27.7 0.28.0
shared_preferences ^2.1.0 2.5.3 2.5.3
url_launcher ^6.1.11 6.3.2 6.3.2
uuid ^3.0.7 3.0.7 4.5.1
web_socket_channel ^2.0.0 2.4.5 3.0.3
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
crypto - 3.0.6 3.0.6
dio_web_adapter - 2.1.1 2.1.1
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
gql - 1.0.1 1.0.1
gql_dedupe_link - 2.0.4-alpha+1715521079596 4.0.0
gql_error_link - 1.0.1 1.0.1
gql_exec - 1.1.1-alpha+1699813812660 1.1.1-alpha+1699813812660
gql_http_link - 1.2.0 1.2.0
gql_link - 1.1.0 1.1.0
gql_transform_link - 1.0.1 1.0.1
hive - 2.2.3 2.2.3
http - 1.5.0 1.5.0
js - 0.6.7 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.13.0
mime - 2.0.0 2.0.0
normalize - 0.8.2+1 0.10.0
path_provider_android - 2.2.18 2.2.18
path_provider_foundation - 2.4.2 2.4.2
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
shared_preferences_android - 2.4.14 2.4.14
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.1 1.10.1
sqlite3 - 1.11.2 2.9.1
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
url_launcher_android - 6.3.23 6.3.23
url_launcher_ios - 6.3.4 6.3.4
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.3 3.2.3
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_math - 2.2.0 2.2.0
web - 0.5.1 1.1.1
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

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

Found 7 issues. Showing the first 2:

The constraint `^1.5.0` on drift does not support the stable version `2.0.0`.

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

The constraint `^0.18.0` on intl does not support the stable version `0.19.0`.

Try running dart pub upgrade --major-versions intl 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_METHOD - lib/src/dapp_connect/serializer.dart:118:25 - The method 'sha384' isn't defined for the type 'Hmac'.

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.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
110
points
146
downloads

Publisher

unverified uploader

Weekly Downloads

Provides a modern way of implementing Web3MQ APIs. Web3MQ is the fastest and most scalable social Layer 1 & messaging network.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

adaptive_number, collection, convert, cryptography, dio, drift, equatable, fixnum, flutter, graphql, http_parser, intl, json_annotation, logging, meta, mutex, path, path_provider, pointycastle, protobuf, rxdart, shared_preferences, url_launcher, uuid, web_socket_channel

More

Packages that depend on web3mq