olos_sdk 1.0.600 copy "olos_sdk: ^1.0.600" to clipboard
olos_sdk: ^1.0.600 copied to clipboard

unlisted

Designed for Dart apps, this middleware links with Olos API. Beyond standard connections, it enables WebSocket for seamless event reception via Olos Easy Connection.

70/ 160
pub points
76
downloads

We analyzed this package 4 days ago, and awarded it 70 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

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

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

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

OUT: Documenting olos_sdk... Discovering libraries... ERR: dartdoc 9.0.1 (/home/worker/dartdoc/build/dartdoc) failed: fatal error: unable to locate the input directory at '/tmp/pana_YUIVEF/lib/src/ws'. #0 PubPackageMeta.fromDir (package:dartdoc/src/package_meta.dart:218) #1 PubPackageMeta.fromFilename (package:dartdoc/src/package_meta.dart:205) #2 PackageMetaProvider.fromFilename (package:dartdoc/src/package_meta.dart:82) #3 PubPackageBuilder._packageMetasForFiles (package:dartdoc/src/model/package_builder.dart:199) #4 PubPackageBuilder._discoverLibraries (package:dartdoc/src/model/package_builder.dart:282)

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:olos_sdk/main.dart that imports:
  • package:olos_sdk/src/AgentHubClient/agent_hub_client.dart that imports:
  • package:olos_sdk/src/AgentHubClient/connect.dart that imports:
  • package:phoenix_wings/phoenix_wings.dart that imports:
  • package:phoenix_wings/src/phoenix_socket.dart that imports:
  • package:phoenix_wings/src/phoenix_io_connection.dart that imports:
  • dart:io
Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 47 issues. Showing the first 2:

ERROR: Target of URI doesn't exist: 'src/ws/olos_agent_ws.dart'.

lib/main.dart:17:8

   ╷
17 │ export 'src/ws/olos_agent_ws.dart' show OlosAgentWS;
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

ERROR: 3 positional arguments expected by 'createOlos', but 1 found.

lib/olos_test.dart:41:29

   ╷
41 │       olos.createOlos(config);
   │                             ^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/olos_test.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
curl_logger_dio_interceptor ^1.0.0 1.0.1 1.0.1
dio ^5.4.0 5.9.1 5.9.1
js ^0.7.0 0.7.2 0.7.2 Discontinued
json_serializable ^6.6.0 6.12.0 6.12.0
jwt_decoder ^2.0.1 2.0.1 2.0.1
mockito ^5.4.4 5.6.3 5.6.3
phoenix_wings ^1.0.2 1.0.2 1.0.2
short_uuids ^2.0.0 2.0.0 2.0.0
test ^1.25.2 1.29.0 1.29.0
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 94.0.0 94.0.0
analyzer - 10.0.2 10.0.2
any_base - 2.0.0 2.0.0
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
build - 4.0.4 4.0.4
build_config - 1.2.0 1.2.0
built_collection - 5.1.1 5.1.1
built_value - 8.12.3 8.12.3
checked_yaml - 2.0.4 2.0.4
cli_config - 0.2.0 0.2.0
code_builder - 4.11.1 4.11.1
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
coverage - 1.15.0 1.15.0
crypto - 3.0.7 3.0.7
dart_style - 3.1.5 3.1.5
dio_web_adapter - 2.1.1 2.1.1
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
frontend_server_client - 4.0.0 4.0.0
glob - 2.1.3 2.1.3
http - 1.6.0 1.6.0
http_multi_server - 3.2.2 3.2.2
http_parser - 4.1.2 4.1.2
io - 1.0.5 1.0.5
json_annotation - 4.10.0 4.10.0
json_schema - 5.2.2 5.2.2
logging - 1.3.0 1.3.0
matcher - 0.12.18 0.12.18
meta - 1.18.1 1.18.1
mime - 2.0.0 2.0.0
node_preamble - 2.0.2 2.0.2
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
pool - 1.5.2 1.5.2
pub_semver - 2.2.0 2.2.0
pubspec_parse - 1.5.0 1.5.0
quiver - 3.2.2 3.2.2
rfc_6901 - 0.2.1 0.2.1
shelf - 1.4.2 1.4.2
shelf_packages_handler - 3.0.2 3.0.2
shelf_static - 1.1.3 1.1.3
shelf_web_socket - 3.0.0 3.0.0
source_gen - 4.2.0 4.2.0
source_helper - 1.3.10 1.3.10
source_map_stack_trace - 2.1.2 2.1.2
source_maps - 0.10.13 0.10.13
source_span - 1.10.2 1.10.2
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.9 0.7.9
test_core - 0.6.15 0.6.15
typed_data - 1.4.0 1.4.0
uri - 1.0.0 1.0.0
uuid - 3.0.7 4.5.2
vm_service - 15.0.2 15.0.2
watcher - 1.2.1 1.2.1
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
web_socket_channel - 3.0.3 3.0.3
webkit_inspection_protocol - 1.2.1 1.2.1
yaml - 3.1.3 3.1.3

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

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • js.

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:

  • URI_DOES_NOT_EXIST - lib/main.dart:17:8 - Target of URI doesn't exist: 'src/ws/olos_agent_ws.dart'.
  • NOT_ENOUGH_POSITIONAL_ARGUMENTS - lib/olos_test.dart:41:29 - 3 positional arguments expected by 'createOlos', but 1 found.

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:
1
likes
70
points
76
downloads

Publisher

unverified uploader

Weekly Downloads

Designed for Dart apps, this middleware links with Olos API. Beyond standard connections, it enables WebSocket for seamless event reception via Olos Easy Connection.

Homepage

License

MIT (license)

Dependencies

curl_logger_dio_interceptor, dio, js, json_serializable, jwt_decoder, mockito, phoenix_wings, short_uuids, test

More

Packages that depend on olos_sdk