bc_ur_dart 0.1.25 copy "bc_ur_dart: ^0.1.25" to clipboard
bc_ur_dart: ^0.1.25 copied to clipboard

A dart plugin for Uniform Resources(URs) decode/encode. URs are URI-encoded CBOR structures developed by Blockchain Commons.

130/ 160
pub points
394
downloads

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

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

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

241 out of 1049 API elements (23.0 %) have documentation comments.

Some symbols that are missing documentation: bc_ur_dart, bc_ur_dart.AlphSignRequest, bc_ur_dart.AlphSignRequest.AlphSignRequest.new, bc_ur_dart.AlphSignRequest.cborBytes, bc_ur_dart.AlphSignRequest.cborInt.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed 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 not compatible with platform Web

Because:

  • package:bc_ur_dart/bc_ur_dart.dart that imports:
  • package:crypto_wallet_util/crypto_utils.dart that imports:
  • package:crypto_wallet_util/transaction.dart that imports:
  • package:crypto_wallet_util/src/transaction/sc/sc_wasm_run_bridge.dart that imports:
  • package:crypto_wallet_util/src/transaction/sc/sc_wasm_bridge.dart that imports:
  • dart:isolate
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 3 issues. Showing the first 2:

INFO: Statements in an if should be enclosed in a block.

lib/src/models/eth/eth_sign_request.dart:130:7

    ╷
130 │       throw Exception(URExceptionType.invalidType.toString());
    │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/models/eth/eth_sign_request.dart

INFO: Missing type annotation.

lib/src/registry/registry_type.dart:6:7

  ╷
6 │   get tag => _tag;
  │       ^^^
  ╵

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

Failed report section
Support up-to-date dependencies
30 / 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
cbor ^6.3.7 6.5.1 6.5.1
convert ^3.1.2 3.1.2 3.1.2
crypto ^3.0.6 3.0.7 3.0.7
crypto_wallet_util ^1.2.5 1.2.6 2.0.2
fixnum ^1.1.1 1.1.1 1.1.1
protobuf ^4.2.0 4.2.0 6.0.0
uuid ^4.4.0 4.5.3 4.5.3
xrandom ^0.7.2 0.7.2 0.7.2
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 3.6.1 4.0.9
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
base32 - 2.2.0 2.2.0
base_x - 2.0.1 2.0.1
bech32m_i - 0.2.2 0.2.2
bip340 - 0.3.1 0.3.1
bip39_mnemonic - 4.0.1 4.0.1
blockchain_utils - 1.6.0 6.0.0
boolean_selector - 2.1.2 2.1.2
bs58check - 1.0.2 1.0.2
buffer - 1.2.3 1.2.3
build_cli_annotations - 2.1.1 2.1.1
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
cryptography - 2.9.0 2.9.0
decimal - 3.2.4 3.2.4
ed25519_hd_key - 2.3.0 2.3.0
edwards25519 - 1.0.5 1.0.5
equatable - 2.0.8 2.0.8
ffi - 2.2.0 2.2.0
flutter_rust_bridge - 1.82.6 2.12.0
freezed_annotation - 2.4.4 3.1.0
hashlib_codecs - 3.1.2 3.1.2
hex - 0.2.0 0.2.0
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
intl - 0.20.3 0.20.3
js - 0.6.7 0.7.2 Discontinued
json_annotation - 4.12.0 4.12.0
logging - 1.3.0 1.3.0
matcher - 0.12.20 0.12.20
merlin - 1.0.3 1.0.3
meta - 1.18.3 1.18.3
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
petitparser - 6.1.0 7.0.2
pinenacl - 0.6.0 0.6.0
pointycastle - 4.0.0 4.0.0
polkadart_scale_codec - 2.0.1 2.0.1
pool - 1.5.2 1.5.2
puppeteer - 3.16.0 3.25.1
quiver - 3.2.2 3.2.2
rational - 2.2.3 2.2.3
ristretto255 - 1.0.2 1.0.2
secp256k1_ecdsa - 0.6.3 0.6.3
shelf - 1.4.2 1.4.2
shelf_static - 1.1.3 1.1.3
shelf_web_socket - 1.0.4 3.0.0
source_span - 1.10.2 1.10.2
sr25519 - 0.7.2 0.7.2
ss58 - 1.3.1 2.0.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
strobe - 1.0.5 1.0.5
substrate_bip39 - 0.7.2 0.7.2
term_glyph - 1.2.2 1.2.2
test_api - 0.7.13 0.7.13
tuple - 2.0.2 2.0.2
typed_data - 1.4.0 1.4.0
unorm_dart - 0.3.2 0.3.2
wasm_interop - 2.0.1 2.0.1
wasm_run - 0.1.0+2 0.1.0+2
web - 0.5.1 1.1.1
web_socket_channel - 2.4.5 3.0.3
yaml - 3.1.3 3.1.3

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

The constraint `^1.2.5` on crypto_wallet_util does not support the stable version `2.0.0`, that was published 22 days ago.

When crypto_wallet_util is 30 days old, this package will no longer be awarded points in this category.

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

The constraint `^4.2.0` on protobuf does not support the stable version `5.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.14, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
4
likes
130
points
394
downloads

Documentation

API reference

Publisher

verified publisherfxwallet.com

Weekly Downloads

A dart plugin for Uniform Resources(URs) decode/encode. URs are URI-encoded CBOR structures developed by Blockchain Commons.

Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

cbor, convert, crypto, crypto_wallet_util, fixnum, protobuf, uuid, xrandom

More

Packages that depend on bc_ur_dart