mixin_bot_sdk_dart 1.3.2 copy "mixin_bot_sdk_dart: ^1.3.2" to clipboard
mixin_bot_sdk_dart: ^1.3.2 copied to clipboard

Mixin Messenger API for Dart/Flutter, build decentrialized applications on Mixin

1
likes
100/ 160
pub points
384
downloads

We analyzed this package 3 days ago, and awarded it 100 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.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

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

221 out of 1557 API elements (14.2 %) 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: mixin_bot_sdk_dart, mixin_bot_sdk_dart.Account, mixin_bot_sdk_dart.Account.Account.fromJson, mixin_bot_sdk_dart.Account.Account.new, mixin_bot_sdk_dart.Account.acceptConversationSource.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/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 46 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: Account.userId, Account.identityNumber, Account.phone, Account.fullName, Account.biography, Account.avatarUrl, Account.relationship, Account.muteUntil, Account.createdAt, Account.isVerified, Account.isScam, Account.sessionId, Account.pinToken, Account.pinTokenBase64, Account.codeId, Account.codeUrl, Account.deviceStatus, Account.hasSafe, Account.hasPin, Account.hasEmergencyContact, Account.receiveMessageSource, Account.acceptConversationSource, Account.acceptSearchSource, Account.fiatCurrency, Account.transferNotificationThreshold, Account.transferConfirmationThreshold, Account.tipCounter, Account.tipKeyBase64, Account.membership

lib/src/vo/account.dart:10:7

10class Account with EquatableMixin {
   │       ^^^^^^^
   ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run dart analyze lib/src/vo/account.dart

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: Address.addressId, Address.type, Address.assetId, Address.destination, Address.label, Address.updatedAt, Address.reserve, Address.fee, Address.tag, Address.dust, Address.feeAssetId

lib/src/vo/address.dart:7:7

7class Address with EquatableMixin {
  │       ^^^^^^^
  ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run dart analyze lib/src/vo/address.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
base_x ^2.0.1 2.0.1 2.0.1
collection ^1.18.0 1.19.1 1.19.1
convert ^3.1.1 3.1.2 3.1.2
crypto ^3.0.3 3.0.6 3.0.6
dart_jsonwebtoken ^2.12.2 2.17.0 3.2.0
decimal >=2.3.3 <4.0.0 3.2.1 3.2.1
dio ^5.1.2 5.8.0+1 5.8.0+1
ed25519_edwards ^0.3.1 0.3.1 0.3.1
edwards25519 ^1.0.4 1.0.5 1.0.5
enum_to_string ^2.0.1 2.2.1 2.2.1
equatable ^2.0.3 2.0.7 2.0.7
fixnum ^1.0.1 1.1.1 1.1.1
json_annotation ^4.8.1 4.9.0 4.9.0
meta ^1.4.0 1.16.0 1.16.0
pointycastle ^3.7.4 3.9.1 4.0.0
recase ^4.0.0 4.1.0 4.1.0
sprintf >=6.0.0 <8.0.0 7.0.0 7.0.0
thirds ^0.2.0-alpha.1 0.2.0-alpha.1 0.2.0-alpha.1
uuid >=3.0.4 <5.0.0 4.5.1 4.5.1
x25519 ^0.1.1 0.1.1 0.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
adaptive_number - 1.0.0 1.0.0
async - 2.13.0 2.13.0
clock - 1.1.2 1.1.2
dio_web_adapter - 2.1.1 2.1.1
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
js - 0.7.2 0.7.2 Discontinued
path - 1.9.1 1.9.1
rational - 2.2.3 2.2.3
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.1 1.1.1

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

The constraint `^2.12.2` on dart_jsonwebtoken does not support the stable version `3.0.0`.

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

The constraint `^3.7.4` on pointycastle does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions pointycastle 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 6 errors:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/client.dart:60:11 - The argument type 'MixinApiError' can't be assigned to the parameter type 'DioError'.
  • EXTENDS_NON_CLASS - lib/src/error/mixin_api_error.dart:5:29 - Classes can only extend other classes.
  • SUPER_FORMAL_PARAMETER_WITHOUT_ASSOCIATED_NAMED - lib/src/error/mixin_api_error.dart:7:20 - No associated named super constructor parameter.

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.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 5Aug 2Aug 30Sep 27Oct 25Nov 22Dec 20Jan 17Feb 14Mar 14050100150200250>=0.0.0-0 <1.0.0>=1.0.0-0 <2.0.0
1
likes
100
points
384
downloads

Publisher

verified publishermixin.dev

Weekly Downloads

2024.09.19 - 2025.04.03

Mixin Messenger API for Dart/Flutter, build decentrialized applications on Mixin

Repository (GitHub)

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

base_x, collection, convert, crypto, dart_jsonwebtoken, decimal, dio, ed25519_edwards, edwards25519, enum_to_string, equatable, fixnum, json_annotation, meta, pointycastle, recase, sprintf, thirds, uuid, x25519

More

Packages that depend on mixin_bot_sdk_dart