这是indexloc提供的服务,不要输入任何密码

komodo_defi_local_auth 0.3.1+2 copy "komodo_defi_local_auth: ^0.3.1+2" to clipboard
komodo_defi_local_auth: ^0.3.1+2 copied to clipboard

A package responsible for managing and abstracting out an authentication service on top of the API's methods

140/ 160
pub points
0
downloads

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

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

100 out of 128 API elements (78.1 %) have documentation comments.

Some symbols that are missing documentation: komodo_defi_local_auth.AuthenticationState.AuthenticationState.completed, komodo_defi_local_auth.AuthenticationState.AuthenticationState.error, komodo_defi_local_auth.AuthenticationState.AuthenticationState.new, komodo_defi_local_auth.AuthenticationState.error, komodo_defi_local_auth.AuthenticationState.message.

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 does not support platform `Web`.

Because:

  • package:komodo_defi_local_auth/komodo_defi_local_auth.dart that imports:
  • package:komodo_defi_local_auth/src/trezor/_trezor_index.dart that imports:
  • package:komodo_defi_local_auth/src/trezor/trezor_auth_service.dart that imports:
  • package:komodo_defi_local_auth/src/auth/auth_service.dart that imports:
  • package:komodo_defi_framework/komodo_defi_framework.dart that imports:
  • package:komodo_defi_framework/src/config/kdf_startup_config.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:komodo_defi_local_auth/komodo_defi_local_auth.dart that imports:
  • package:komodo_defi_local_auth/src/trezor/_trezor_index.dart that imports:
  • package:komodo_defi_local_auth/src/trezor/trezor_repository.dart that imports:
  • package:komodo_defi_types/komodo_defi_types.dart that imports:
  • package:komodo_defi_types/src/types.dart that imports:
  • package:komodo_defi_types/src/withdrawal/withdrawal_types.dart that imports:
  • package:komodo_defi_rpc_methods/komodo_defi_rpc_methods.dart that imports:
  • package:komodo_defi_rpc_methods/src/util/util.dart that imports:
  • package:komodo_defi_rpc_methods/src/util/methods_index_generator.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 21 issues. Showing the first 2:

INFO: The line length exceeds the 80-character limit.

lib/src/auth/auth_service.dart:86:81

   ╷
86 │   /// Attempts to restore a user session without requiring password authentication
   │                                                                                 ^^
   ╵

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

INFO: 'bool' parameters should be named parameters.

lib/src/auth/auth_service.dart:232:57

    ╷
232 │   Future<void> updateUserBip39Status(String walletName, bool isBip39) async {
    │                                                         ^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/auth/auth_service.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
flutter_bloc ^9.1.1 9.1.1 9.1.1
flutter_secure_storage ^10.0.0-beta.4 10.0.0-beta.4 10.0.0-beta.4
freezed_annotation ^3.0.0 3.1.0 3.1.0
komodo_defi_framework ^0.3.1+2 0.3.1+2 0.3.1+2
komodo_defi_rpc_methods ^0.3.1+1 0.3.1+1 0.3.1+1
komodo_defi_types ^0.3.2+1 0.3.2+1 0.3.2+1
local_auth ^2.3.0 2.3.0 3.0.0
logging ^1.3.0 1.3.0 1.3.0
mutex ^3.1.0 3.1.0 3.1.0
uuid ^4.4.2 4.5.2 4.5.2
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
bloc - 9.1.0 9.1.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
csslib - 1.0.2 1.0.2
decimal - 3.2.4 3.2.4
equatable - 2.0.7 2.0.7
ffi - 2.1.4 2.1.4
fixnum - 1.1.1 1.1.1
flutter_plugin_android_lifecycle - 2.0.32 2.0.32
flutter_secure_storage_darwin - 0.1.0 0.1.0
flutter_secure_storage_linux - 2.0.1 2.0.1
flutter_secure_storage_platform_interface - 2.0.1 2.0.1
flutter_secure_storage_web - 2.0.0 2.0.0
flutter_secure_storage_windows - 4.0.0 4.0.0
hive_ce - 2.15.1 2.15.1
hive_ce_flutter - 2.3.3 2.3.3
html - 0.15.6 0.15.6
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
isolate_channel - 0.2.2+1 0.2.2+1
json_annotation - 4.9.0 4.9.0
komodo_coin_updates - 1.1.1 1.1.1
komodo_coins - 0.3.1+2 0.3.1+2
komodo_wallet_build_transformer - 0.4.0 0.4.0
local_auth_android - 1.0.56 2.0.0
local_auth_darwin - 1.6.1 2.0.0
local_auth_platform_interface - 1.1.0 1.1.0
local_auth_windows - 1.0.11 2.0.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
nested - 1.0.0 1.0.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.20 2.2.20
path_provider_foundation - 2.4.3 2.4.3
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
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.5+1 6.1.5+1
rational - 2.2.3 2.2.3
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
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
win32 - 5.15.0 5.15.0
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

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

The constraint `^2.3.0` on local_auth does not support the stable version `3.0.0`, that was published 28 days ago.

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

Try running dart pub upgrade --major-versions local_auth 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:
0
likes
140
points
0
downloads

Publisher

verified publisherkomodoplatform.com

Weekly Downloads

A package responsible for managing and abstracting out an authentication service on top of the API's methods

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_bloc, flutter_secure_storage, freezed_annotation, komodo_defi_framework, komodo_defi_rpc_methods, komodo_defi_types, local_auth, logging, mutex, uuid

More

Packages that depend on komodo_defi_local_auth