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

40/ 160
pub points
0
downloads

We analyzed this package 27 hours ago, and awarded it 40 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

Failed to verify repository URL.

packages/komodo_defi_local_auth/pubspec.yaml from the repository URL mismatch: expected https://github.com/KomodoPlatform/komodo-defi-sdk-flutter but got https://github.com/GLEECBTC/komodo-defi-sdk-flutter.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: komodo_defi_local_auth,
    • contains a version property, and,
    • does not contain a publish_to property.

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
0 / 20trigger folding of the section

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

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

ERROR: The argument type 'int?' can't be assigned to the parameter type 'int'.

lib/src/trezor/trezor_repository.dart:89:13

   ╷
89 │             taskId,
   │             ^^^^^^
   ╵

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

WARNING: Returning a 'Future' without 'await' inside a try block.

lib/src/komodo_defi_local_auth.dart:547:7

    ╷
547 │       return _authService.getMnemonic(
    │       ^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/komodo_defi_local_auth.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
flutter_bloc ^9.1.1 9.1.1 9.1.1
flutter_secure_storage ^10.0.0-beta.4 10.3.4 11.2.0
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.2
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.6.0 4.6.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
bloc - 9.2.1 9.2.1
characters - 1.4.1 1.4.1
clock - 1.1.3 1.1.3
code_assets - 2.1.0 2.1.0
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
csslib - 1.0.2 1.0.2
decimal - 3.2.6 3.2.6
equatable - 2.1.0 3.0.0
ffi - 2.2.0 2.2.0
ffi_leak_tracker - 0.1.2 0.1.2
fixnum - 1.1.1 1.1.1
flutter_plugin_android_lifecycle - 2.0.35 2.0.35
flutter_secure_storage_darwin - 0.3.2 0.4.3
flutter_secure_storage_linux - 3.0.3 3.0.3
flutter_secure_storage_platform_interface - 2.1.1 2.1.1
flutter_secure_storage_web - 2.1.1 2.1.1
flutter_secure_storage_windows - 4.2.2 4.2.2
hive_ce - 2.20.0 2.20.0
hive_ce_flutter - 2.3.4 2.3.4
hooks - 2.2.0 2.2.0
html - 0.15.7 0.15.7
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
intl - 0.20.3 0.20.3
isolate_channel - 0.6.1 0.6.1
jni - 1.0.3 1.0.3
jni_flutter - 1.0.3 1.0.3
jni_util - 1.0.0 1.0.0
json_annotation - 4.12.0 4.12.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.2.0
local_auth_darwin - 1.6.1 2.0.4
local_auth_platform_interface - 1.1.0 1.1.0
local_auth_windows - 1.0.11 2.0.2
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
nested - 1.0.0 1.0.0
objective_c - 9.6.0 9.6.0
package_config - 3.0.0 3.0.0
path - 1.9.1 1.9.1
path_provider - 2.1.6 2.1.6
path_provider_android - 2.3.1 2.3.1
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.2 2.2.2
path_provider_platform_interface - 2.1.3 2.1.3
path_provider_windows - 2.3.0 2.3.0
platform - 3.2.0 3.2.0
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.5+1 6.1.5+1
pub_semver - 2.2.1 2.2.1
rational - 2.2.3 2.2.3
record_use - 1.1.1 1.1.1
source_span - 1.10.2 1.10.2
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.4.3 2.4.3
web - 1.1.1 1.1.1
win32 - 6.4.0 6.4.0
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.4 3.1.4

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

The constraint `^10.0.0-beta.4` on flutter_secure_storage does not support the stable version `11.0.0`.

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

The constraint `^2.3.0` on local_auth does not support the stable version `3.0.0`.

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/trezor/trezor_repository.dart:89:13 - The argument type 'int?' can't be assigned to the parameter type 'int'.

Run flutter pub downgrade and then flutter 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.19, Flutter 3.47.4, Dart 3.13.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
40
points
0
downloads

Documentation

API reference

Publisher

verified publisherkomodoplatform.com

Weekly Downloads

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

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