solana_wallet_adapter_web 0.0.9 copy "solana_wallet_adapter_web: ^0.0.9" to clipboard
solana_wallet_adapter_web: ^0.0.9 copied to clipboard

Platformweb

Web implementation of the solana_wallet_adapter plugin.

1
likes
140/ 160
pub points
232
downloads

We analyzed this package 2 days ago, and awarded it 140 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-web 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-web/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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

98 out of 133 API elements (73.7 %) have documentation comments.

Some symbols that are missing documentation: desktop_browser_interoperability.ConnectParams, desktop_browser_interoperability.ConnectParams.ConnectParams.new, desktop_browser_interoperability.ConnectParams.onlyIfTrusted, desktop_browser_interoperability.DisconnectParams, desktop_browser_interoperability.DisconnectParams.DisconnectParams.new.

Passed check 10/10 points: Package has an example

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

Passed check 20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Web

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:solana_wallet_adapter_web/solana_wallet_adapter_web.dart that declares support for platforms: Web.
Package does not support platform `iOS`.

Because:

  • package:solana_wallet_adapter_web/solana_wallet_adapter_web.dart that declares support for platforms: Web.
Package does not support platform `Windows`.

Because:

  • package:solana_wallet_adapter_web/solana_wallet_adapter_web.dart that declares support for platforms: Web.
Package does not support platform `Linux`.

Because:

  • package:solana_wallet_adapter_web/solana_wallet_adapter_web.dart that declares support for platforms: Web.
Package does not support platform `macOS`.

Because:

  • package:solana_wallet_adapter_web/solana_wallet_adapter_web.dart that declares support for platforms: Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:solana_wallet_adapter_web/solana_wallet_adapter_web.dart that imports:
  • package:solana_wallet_adapter_web/solana_wallet_adapter_web_platform.dart that imports:
  • package:solana_wallet_adapter_web/desktop_browser_provider.dart that imports:
  • package:solana_wallet_adapter_platform_interface/stores.dart that imports:
  • package:solana_wallet_adapter_platform_interface/src/stores/web_store.dart that imports:
  • package:solana_wallet_adapter_platform_interface/src/stores/store_info.dart that imports:
  • package:solana_wallet_adapter_platform_interface/solana_wallet_adapter_platform.dart that imports:
  • package:solana_wallet_adapter_platform_interface/src/scenarios/scenario.dart that imports:
  • package:solana_wallet_adapter_platform_interface/src/sessions/session.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_web/solana_wallet_adapter_web.dart that imports:
  • package:solana_wallet_adapter_web/solana_wallet_adapter_web_platform.dart that imports:
  • package:solana_wallet_adapter_web/desktop_browser_provider.dart that imports:
  • package:solana_wallet_adapter_web/desktop_browser_interoperability.dart that imports:
  • package:js/js_util.dart that imports:
  • dart:js_util

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 27 issues. Showing the first 2:

INFO: Dangling library doc comment.

lib/desktop_browser_interoperability.dart:1:1

  ╷
1 │ /// Imports
  │ ^^^^^^^^^^^
  ╵

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

INFO: 'dart:html' is deprecated and shouldn't be used. Use package:web and dart:js_interop instead.

lib/desktop_browser_provider.dart:1:1

  ╷
1 │ ┌ /// Imports
2 │ │ /// ------------------------------------------------------------------------------------------------
3 │ │ 
4 │ └ import 'dart:html';
  ╵

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

Failed report section
Support up-to-date dependencies
30 / 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
js ^0.6.5 0.6.7 0.7.2 Discontinued
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
solana_wallet_adapter_platform_interface ^0.0.6 0.0.6 0.0.6
solana_web3 ^0.1.2 0.1.3 0.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
base_codecs - 1.0.1 1.0.1
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
http - 1.3.0 1.3.0
http_parser - 4.1.2 4.1.2
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.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
pinenacl - 0.5.1 0.6.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
shared_preferences - 2.5.3 2.5.3
shared_preferences_android - 2.4.10 2.4.10
shared_preferences_foundation - 2.5.4 2.5.4
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
solana_borsh - 0.0.1 0.0.1
solana_buffer - 0.0.1 0.0.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
synchronized - 3.3.1 3.3.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.5
web - 0.5.1 1.1.1
web_socket_channel - 2.4.5 3.0.3
webcrypto - 0.5.8 0.5.8
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.6.5` on js does not support the stable version `0.7.0`.

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

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

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

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: