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.

2
likes
100/ 160
pub points
48
downloads

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

The package description is too short.

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

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

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

Passed check 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.new, livekit_server_sdk.AccessToken.apiKey, livekit_server_sdk.AccessToken.apiSecret.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed 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

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

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 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 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
change_case ^1.0.2 1.1.0 2.2.0
dart_jsonwebtoken ^2.4.2 2.17.0 3.2.0
fixnum ^1.0.1 1.1.1 1.1.1
http ^0.13.5 0.13.6 1.3.0
protobuf ^2.0.1 2.1.0 4.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
adaptive_number - 1.0.0 1.0.0
async - 2.13.0 2.13.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.2 4.1.2
js - 0.7.2 0.7.2 Discontinued
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
pointycastle - 3.9.1 4.0.0
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 4 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 `^2.4.2` on dart_jsonwebtoken does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions dart_jsonwebtoken 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 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.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
100
points
48
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