leofinance_lightning_api 0.11.11 copy "leofinance_lightning_api: ^0.11.11" to clipboard
leofinance_lightning_api: ^0.11.11 copied to clipboard

Provices a Stream interface to the LeoFinance Lightning HTTP API.

0
likes
100/ 160
pub points
0%
popularity

We analyzed this package 42 hours ago, and awarded it 100 pub points (of a possible 160):

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

0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: leofinance_lightning_api,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: leofinance_lightning_api.

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: BSD-3-Clause.

failed
Provide documentation
0 / 20trigger folding of the section

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

51 out of 332 API elements (15.4 %) 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: lightning_api, lightning_api.Account, lightning_api.Account.Account, lightning_api.Account.Account.fromJson, lightning_api.Account.balance.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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.

OK
Pass static analysis
50 / 50trigger folding of the section

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

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

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

Package Constraint Compatible Latest
equatable ^2.0.3 2.0.5 2.0.5
http ^0.13.3 0.13.6 1.2.2
intl ^0.17.0 0.17.0 0.19.0
json_annotation ^4.5.0 4.9.0 4.9.0
leofinance_hive_api ^0.4.0 0.4.8 0.4.8
logging ^1.0.2 1.3.0 1.3.0
rxdart ^0.27.3 0.27.7 0.28.0
scot_api ^0.4.1 0.4.3 0.4.3
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
http_parser - 4.1.1 4.1.1
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
pool - 1.5.1 1.5.1
source_span - 1.10.0 1.10.0
stack_trace - 1.12.0 1.12.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0

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

Found 3 issues. Showing the first 2:

The constraint `^0.13.3` on http does not support the stable version `1.0.0`.

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

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

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 32 errors:

  • UNDEFINED_METHOD - lib/src/lightning_api_client.dart:96:15 - The method 'ContentRequestFailure' isn't defined for the type 'LightningApiClient'.
  • UNDEFINED_METHOD - lib/src/lightning_api_client.dart:169:13 - The method 'NotFoundFailure' isn't defined for the type 'LightningApiClient'.
  • UNDEFINED_METHOD - lib/src/lightning_api_client.dart:183:13 - The method 'NotFoundFailure' isn't defined for the type 'LightningApiClient'.

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.13, Dart 3.5.3.

Check the analysis log for details.

0
likes
100
pub points
0%
popularity

Publisher

unverified uploader

Provices a Stream interface to the LeoFinance Lightning HTTP API.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

equatable, http, intl, json_annotation, leofinance_hive_api, logging, rxdart, scot_api

More

Packages that depend on leofinance_lightning_api