solana_wallet_adapter_platform_interface 0.0.6 copy "solana_wallet_adapter_platform_interface: ^0.0.6" to clipboard
solana_wallet_adapter_platform_interface: ^0.0.6 copied to clipboard

A shared platform interface for the solana_wallet_adapter plugin.

130/ 160
pub points
227
downloads

We analyzed this package 14 hours ago, and awarded it 130 pub points (of a possible 160):

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Repository URL doesn't exist.

At the time of the analysis https://github.com/merigo-labs/solana-wallet-adapter-platform-interface was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/merigo-labs/solana-wallet-adapter-platform-interface/issues/new/choose was unreachable. Make sure that the website is reachable via HEAD requests.

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

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

248 out of 280 API elements (88.6 %) have documentation comments.

Some symbols that are missing documentation: association, channels, channels.WebListener.WebListener.new, channels.WebListener.onAccountChanged, channels.WebListener.onConnect.

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 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:solana_wallet_adapter_platform_interface/exceptions.dart that imports:
  • package:solana_wallet_adapter_platform_interface/src/exceptions/solana_wallet_adapter_protocol_exception.dart that imports:
  • package:solana_jsonrpc/jsonrpc.dart that imports:
  • package:solana_jsonrpc/src/jsonrpc/websocket_client.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:solana_wallet_adapter_platform_interface/exceptions.dart that imports:
  • package:solana_wallet_adapter_platform_interface/src/exceptions/solana_wallet_adapter_protocol_exception.dart that imports:
  • package:solana_jsonrpc/jsonrpc.dart that imports:
  • package:solana_jsonrpc/src/jsonrpc/websocket_client.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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 123 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/models/account.dart:40:16

   ╷
40 │   bool operator==(final dynamic other) => other is Account && other.address == address;
   │                ^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/models/account.dart

INFO: Dangling library doc comment.

lib/constants.dart:2:1

  ╷
2 │ /// ------------------------------------------------------------------------------------------------
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

Partially passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
async ^2.10.0 2.13.0 2.13.0
plugin_platform_interface ^2.1.0 2.1.8 2.1.8
shared_preferences ^2.0.17 2.5.3 2.5.3
solana_buffer ^0.0.1 0.0.1 0.0.1
solana_common ^0.1.0+1 0.1.0+1 0.1.0+1
solana_jsonrpc ^0.0.1 0.0.1 0.0.1
synchronized ^3.0.1 3.4.0 3.4.0
webcrypto ^0.5.3 0.5.8 0.6.0
Transitive dependencies
Package Constraint Compatible Latest Notes
base_codecs - 1.0.1 1.0.1
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
shared_preferences_android - 2.4.15 2.4.15
shared_preferences_foundation - 2.5.5 2.5.5
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.1 1.10.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
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
web - 0.5.1 1.1.1
web_socket_channel - 2.4.5 3.0.3
xdg_directories - 1.1.0 1.1.0

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

The constraint `^0.5.3` on webcrypto does not support the stable version `0.6.0`, that was published 0 days ago.

When webcrypto is 30 days old, this package will no longer be awarded points in this category.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.1, Flutter 3.38.0, Dart 3.10.0-290.4.beta.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: