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

Provices a Stream interface to the LeoFinance Lightning HTTP API.

100/ 160
pub points
23
downloads

We analyzed this package 1 hour ago, and awarded it 100 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

Failed to verify repository URL.

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

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.

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

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

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

51 out of 335 API elements (15.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: lightning_api, lightning_api.Account, lightning_api.Account.Account.fromJson, lightning_api.Account.Account.new, lightning_api.Account.balance.

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 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.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

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
equatable ^2.0.3 2.0.8 2.0.8
http ^0.13.3 0.13.6 1.6.0
intl ^0.17.0 0.17.0 0.20.2
json_annotation ^4.5.0 4.10.0 4.10.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 Notes
async - 2.13.0 2.13.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
http_parser - 4.1.2 4.1.2
meta - 1.18.1 1.18.1
path - 1.9.1 1.9.1
pool - 1.5.2 1.5.2
source_span - 1.10.2 1.10.2
stack_trace - 1.12.1 1.12.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

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.

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 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.23.9, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
100
points
23
downloads

Publisher

unverified uploader

Weekly Downloads

Provices a Stream interface to the LeoFinance Lightning HTTP API.

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