haystack_client 1.0.0 copy "haystack_client: ^1.0.0" to clipboard
haystack_client: ^1.0.0 copied to clipboard

Client for SkySpark servers using haystack protocol. SkySpark is a project to serve your IoT data and make analytics. Haystack defines a tagging model and REST API for IoT.

0
likes
110/ 140
pub points
0%
popularity

We analyzed this package 3 days ago, and awarded it 110 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: AFL-3.0.

OK
Provide documentation
20 / 20trigger folding of the section

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

39 out of 48 API elements (81.3 %) have documentation comments.

Some symbols that are missing documentation: haystack_client.HClientWatch, haystack_client.HClientWatch.HClientWatch, haystack_client.HClientWatch.isClosed, haystack_client.HSkySparkClient.authHeaders, haystack_client.HSkySparkClient.watchClose.

10/10 points: Package has 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
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 27 issues. Showing the first 2:

WARNING: 'Future.value' shouldn't be called with a null argument for the non-nullable type argument 'Object'.

lib/src/client/h_skyspark_client.dart:326:14

    ╷
326 │       return Future.value();
    │              ^^^^^^^^^^^^^^
    ╵

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

WARNING: This 'onError' handler must return a value assignable to 'HGrid', but ends without returning a value.

lib/src/client/h_skyspark_client.dart:343:67

    ╷
343 │       return call("watchUnsub", b.toGrid()).catchError((Object e) {});
    │                                                                   ^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/client/h_skyspark_client.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
collection ^1.15.0-nullsafety.4 1.18.0 1.18.0
crypto ^3.0.0 3.0.3 3.0.3
haystack ^2.0.0 2.0.1 2.0.1
http ^0.13.0 0.13.6 1.2.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
clock - 1.1.1 1.1.1
http_parser - 4.0.2 4.0.2
intl - 0.17.0 0.19.0
lists - 1.0.1 1.0.1
matcher - 0.12.16+1 0.12.16+1
meta - 1.15.0 1.15.0
path - 1.9.0 1.9.0
quiver - 3.2.1 3.2.1
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.1 0.7.1
typed_data - 1.3.2 1.3.2
unicode - 0.3.1 0.3.1

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

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

Try running dart pub upgrade --major-versions http 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
110
pub points
0%
popularity

Publisher

unverified uploader

Client for SkySpark servers using haystack protocol. SkySpark is a project to serve your IoT data and make analytics. Haystack defines a tagging model and REST API for IoT.

Homepage

Documentation

API reference

License

AFL-3.0 (LICENSE)

Dependencies

collection, crypto, haystack, http

More

Packages that depend on haystack_client