atproto_core 0.9.8 copy "atproto_core: ^0.9.8" to clipboard
atproto_core: ^0.9.8 copied to clipboard

Core library for clients and tools. This package is mainly used by https://atprotodart.com packages.

2
likes
120/ 140
pub points
18%
popularity

We analyzed this package 28 hours 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: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

173 out of 220 API elements (78.6 %) have documentation comments.

Some symbols that are missing documentation: atproto_core, atproto_core.AuthScope, atproto_core.AuthScope.AuthScope, atproto_core.AuthToken.copyWith, atproto_core.AuthToken.toJson.

10/10 points: Package has an example and has no issues with screenshots

OK
Platform support
20 / 20trigger folding of the section

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:atproto_core/atproto_core.dart that imports:
  • package:atproto_core/src/sessions/sessions.dart that imports:
  • package:atproto_core/src/clients/service_context.dart that imports:
  • package:atproto_core/src/clients/challenge.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_browser.dart that imports:
  • package:universal_io/src/internet_address.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 6 issues. Showing the first 2:

WARNING: The annotation 'jsonSerializable' can only be used on classes.

lib/src/sessions/auth_token.dart:23:4

   ╷
23 │   @jsonSerializable
   │    ^^^^^^^^^^^^^^^^
   ╵

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

WARNING: The annotation 'JsonKey' can only be used on fields or getters.

lib/src/sessions/auth_token.dart:29:6

   ╷
29 │     @JsonKey(name: 'sub') required String subject,
   │      ^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
at_uri ^0.3.2 0.3.2 0.3.2
cbor ^6.2.0 6.2.0 6.2.0
freezed_annotation ^2.4.1 2.4.1 2.4.1
json_annotation ^4.8.1 4.9.0 4.9.0
multiformats ^0.2.3 0.2.3 0.2.3
universal_io ^2.2.2 2.2.2 2.2.2
xrpc ^0.5.2 0.5.2 0.5.2
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
at_identifier - 0.2.2 0.2.2
base_codecs - 1.0.1 1.0.1
buffer - 1.2.3 1.2.3
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
dart_multihash - 1.0.1 1.0.1
hex - 0.2.0 0.2.0
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
ieee754 - 1.0.3 1.0.3
meta - 1.15.0 1.15.0
mime - 1.0.5 1.0.5
nsid - 0.4.1 0.4.1
path - 1.9.0 1.9.0
source_span - 1.10.0 1.10.0
stream_channel - 2.1.2 2.1.2
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
web_socket_channel - 2.4.5 3.0.0

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

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

Analyzed with Pana 0.22.3, Dart 3.4.0.

Check the analysis log for details.

2
likes
120
pub points
18%
popularity
screenshot

Publisher

verified publisheratprotodart.com

Core library for clients and tools. This package is mainly used by https://atprotodart.com packages.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#atproto #bluesky #api #core

Documentation

Documentation
API reference

Funding

Consider supporting this project:

github.com

License

BSD-3-Clause (LICENSE)

Dependencies

at_uri, cbor, freezed_annotation, json_annotation, multiformats, universal_io, xrpc

More

Packages that depend on atproto_core