witnet 0.7.0 copy "witnet: ^0.7.0" to clipboard
witnet: ^0.7.0 copied to clipboard

A library to interface with the Witnet Protocol. - Ability to recover - build, sign, and send value transfers and data requests - communicate with a rust node or wallet server - communicate with the explorer

120/ 160
pub points
69
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

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: GPL-3.0.

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

2053 out of 5000 API elements (41.1 %) have documentation comments.

Some symbols that are missing documentation: constants, constants.ALPHA, constants.BETA, constants.COMMIT_WEIGHT, constants.EXTERNAL_KEYCHAIN.

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 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:witnet/witnet.dart that imports:
  • package:witnet/src/crypto/address.dart that imports:
  • package:witnet/schema.dart that imports:
  • package:witnet/src/schema/schema.dart that imports:
  • package:witnet/radon.dart that imports:
  • package:witnet/src/rad/types/types.dart that imports:
  • package:witnet/utils.dart that imports:
  • package:witnet/src/utils/dotenv.dart that imports:
  • package:dotenv/dotenv.dart that imports:
  • package:dotenv/src/dotenv.dart that imports:
  • package:dotenv/src/parser.dart that imports:
  • dart:io
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 363 issues. Showing the first 2:

WARNING: The annotation 'override' can only be used on fields, getters, methods, or setters.

lib/src/schema/block.dart:42:4

   ╷
42 │   @override
   │    ^^^^^^^^
   ╵

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

WARNING: The annotation 'override' can only be used on fields, getters, methods, or setters.

lib/src/schema/block.dart:47:4

   ╷
47 │   @override
   │    ^^^^^^^^
   ╵

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

Partially passed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
async ^2.6.1 2.13.1 2.13.1
cbor ^6.1.1 6.5.1 6.5.1
convert ^3.1.2 3.1.2 3.1.2
crypto ^3.0.1 3.0.7 3.0.7
dotenv ^4.2.0 4.2.0 4.2.0
fixnum ^1.1.0 1.1.1 1.1.1
hex ^0.2.0 0.2.0 0.2.0
http ^1.1.2 1.6.0 1.6.0
path ^1.9.0 1.9.1 1.9.1
pointycastle ^3.1.3 3.9.1 4.0.0
protobuf ^3.1.0 3.1.0 6.0.0
recase ^4.1.0 4.1.0 4.1.0
typed_data ^1.3.0 1.4.0 1.4.0
web_socket_channel ^3.0.3 3.0.3 3.0.3
xml ^6.5.0 6.6.1 7.0.1
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
http_parser - 4.1.2 4.1.2
js - 0.7.2 0.7.2 Discontinued
meta - 1.18.2 1.18.2
petitparser - 7.0.2 7.0.2
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
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1

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

Found 3 issues. Showing the first 2:

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

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

The constraint `^3.1.0` on protobuf does not support the stable version `4.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.12, Dart 3.12.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
120
points
69
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A library to interface with the Witnet Protocol. - Ability to recover - build, sign, and send value transfers and data requests - communicate with a rust node or wallet server - communicate with the explorer

Repository (GitHub)
View/report issues

License

GPL-3.0 (license)

Dependencies

async, cbor, convert, crypto, dotenv, fixnum, hex, http, path, pointycastle, protobuf, recase, typed_data, web_socket_channel, xml

More

Packages that depend on witnet