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

Server-side SDK for LiveKit.

1
likes
100/ 160
pub points
40
downloads

We analyzed this package 24 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

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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: Apache-2.0.

failed
Provide documentation
10 / 20trigger folding of the section

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

18 out of 72 API elements (25.0 %) have documentation comments.

Some symbols that are missing documentation: livekit_server_sdk, livekit_server_sdk.AccessToken, livekit_server_sdk.AccessToken.AccessToken, livekit_server_sdk.AccessToken.apiKey, livekit_server_sdk.AccessToken.apiSecret.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
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

Package not compatible with runtime wasm

Because:

  • package:livekit_server_sdk/livekit_server_sdk.dart that imports:
  • package:livekit_server_sdk/src/room_service_client.dart that imports:
  • package:livekit_server_sdk/src/twirp_rpc.dart that imports:
  • package:livekit_server_sdk/src/http/http.dart that imports:
  • package:http/io_client.dart that imports:
  • package:http/src/io_streamed_response.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 19 issues. Showing the first 2:

INFO: Dangling library doc comment.

lib/src/proto/google/protobuf/timestamp.pb.dart:1:1

  ╷
1 │ ///
  │ ^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/proto/google/protobuf/timestamp.pb.dart

INFO: Dangling library doc comment.

lib/src/proto/livekit_models.pb.dart:1:1

  ╷
1 │ ///
  │ ^^^
  ╵

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

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
change_case ^1.0.2 1.1.0 2.1.0
dart_jsonwebtoken ^2.4.2 2.14.2 2.14.2
fixnum ^1.0.1 1.1.1 1.1.1
http ^0.13.5 0.13.6 1.2.2
protobuf ^2.0.1 2.1.0 3.1.0
Transitive dependencies
Package Constraint Compatible Latest
adaptive_number - 1.0.0 1.0.0
async - 2.12.0 2.12.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
ed25519_edwards - 0.3.1 0.3.1
http_parser - 4.1.1 4.1.1
js - 0.7.1 0.7.1
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
pointycastle - 3.9.1 3.9.1
source_span - 1.10.1 1.10.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 `^1.0.2` on change_case does not support the stable version `2.0.0`.

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

The constraint `^0.13.5` 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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • NON_TYPE_IN_CATCH_CLAUSE - lib/src/jwt/access_tokent.dart:109:10 - The name 'JWTExpiredException' isn't a type and can't be used in an on-catch clause.
  • NON_TYPE_IN_CATCH_CLAUSE - lib/src/jwt/access_tokent.dart:111:10 - The name 'JWTException' isn't a type and can't be used in an on-catch clause.

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.17, Dart 3.6.0.

Check the analysis log for details.

1
likes
100
points
40
downloads

Publisher

verified publisherlivekit.io

Weekly Downloads

Server-side SDK for LiveKit.

Homepage

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

change_case, dart_jsonwebtoken, fixnum, http, protobuf

More

Packages that depend on livekit_server_sdk