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

Platformweb

Connect to a BCHD full node with a simplified grpc-web client wrapper.

0
likes
120/ 140
pub points
8%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

3934 out of 6173 API elements (63.7 %) have documentation comments.

Some symbols that are missing documentation: grpc_bchrpc_web, grpc_bchrpc_web.Block, grpc_bchrpc_web.Block$json, grpc_bchrpc_web.Block.$_whichOneof, grpc_bchrpc_web.Block.Block.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Web

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:grpc_bchrpc_web/grpc_bchrpc_web.dart that imports:
  • package:grpc_bchrpc_web/src/client.dart that imports:
  • package:grpc/grpc_web.dart that imports:
  • package:grpc/src/client/web_channel.dart that imports:
  • package:grpc/src/client/transport/xhr_transport.dart that imports:
  • dart:html
Package not compatible with platform iOS

Because:

  • package:grpc_bchrpc_web/grpc_bchrpc_web.dart that imports:
  • package:grpc_bchrpc_web/src/client.dart that imports:
  • package:grpc/grpc_web.dart that imports:
  • package:grpc/src/client/web_channel.dart that imports:
  • package:grpc/src/client/transport/xhr_transport.dart that imports:
  • dart:html
Package not compatible with platform Windows

Because:

  • package:grpc_bchrpc_web/grpc_bchrpc_web.dart that imports:
  • package:grpc_bchrpc_web/src/client.dart that imports:
  • package:grpc/grpc_web.dart that imports:
  • package:grpc/src/client/web_channel.dart that imports:
  • package:grpc/src/client/transport/xhr_transport.dart that imports:
  • dart:html
Package not compatible with platform Linux

Because:

  • package:grpc_bchrpc_web/grpc_bchrpc_web.dart that imports:
  • package:grpc_bchrpc_web/src/client.dart that imports:
  • package:grpc/grpc_web.dart that imports:
  • package:grpc/src/client/web_channel.dart that imports:
  • package:grpc/src/client/transport/xhr_transport.dart that imports:
  • dart:html
Package not compatible with platform macOS

Because:

  • package:grpc_bchrpc_web/grpc_bchrpc_web.dart that imports:
  • package:grpc_bchrpc_web/src/client.dart that imports:
  • package:grpc/grpc_web.dart that imports:
  • package:grpc/src/client/web_channel.dart that imports:
  • package:grpc/src/client/transport/xhr_transport.dart that imports:
  • dart:html
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 8 issues. Showing the first 2:

INFO: Use 'isNotEmpty' rather than negating the result of 'isEmpty'.

lib/src/client.dart:78:32

   ╷
78 │     } else if (hash != null && !hash.isEmpty) {
   │                                ^^^^^^^^^^^^^
   ╵

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

INFO: Dangling library doc comment.

lib/src/generated/bchrpc.pb.dart:1:1

  ╷
1 │ ///
  │ ^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/generated/bchrpc.pb.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
fixnum ^1.0.0 1.1.0 1.1.0
grpc ^3.0.0 3.2.4 3.2.4
protobuf ^2.0.0 2.1.0 3.1.0
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.5.1 3.5.1
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
google_identity_services_web - 0.3.1+1 0.3.1+1
googleapis_auth - 1.6.0 1.6.0
http - 1.2.1 1.2.1
http2 - 2.3.0 2.3.0
http_parser - 4.0.2 4.0.2
meta - 1.15.0 1.15.0
path - 1.9.0 1.9.0
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
web - 0.5.1 0.5.1

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

The constraint `^2.0.0` on protobuf does not support the stable version `3.0.0`.

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

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

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.

0
likes
120
pub points
8%
popularity

Publisher

verified publisherslp.dev

Connect to a BCHD full node with a simplified grpc-web client wrapper.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

fixnum, grpc, protobuf

More

Packages that depend on grpc_bchrpc_web