agixtsdk 0.0.8
agixtsdk: ^0.0.8 copied to clipboard
An SDK for AGiXT - A powerful SDK for interacting with AGiXT API
We analyzed this package 4 days ago, and awarded it 50 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Could not find any pubspec.yaml in the repository.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: agixtsdk, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
Homepage URL doesn't exist.
At the time of the analysis https://agixt.com was unreachable. Make sure that the website is reachable via HEAD requests.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
9 out of 115 API elements (7.8 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: agixtsdk, agixtsdk.AGiXTSDK, agixtsdk.AGiXTSDK.AGiXTSDK.new, agixtsdk.AGiXTSDK.addAgent, agixtsdk.AGiXTSDK.addChain.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 58 issues. Showing the first 2:
ERROR: A value of type 'String' can't be returned from the method 'registerUser' because it has a return type of 'Future
lib/agixtsdk.dart:149:14
╷
149 │ return _handleError(e);
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/agixtsdk.dart
ERROR: A value of type 'String' can't be returned from the method 'getMfaSetup' because it has a return type of 'Future
lib/agixtsdk.dart:165:14
╷
165 │ return _handleError(e);
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/agixtsdk.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
^2.12.0 |
2.13.0 | 2.13.0 | |
crypto |
^3.0.6 |
3.0.7 | 3.0.7 | |
fake_async |
^1.3.2 |
1.3.3 | 1.3.3 | |
fixnum |
^1.1.1 |
1.1.1 | 1.1.1 | |
http |
^1.3.0 |
1.6.0 | 1.6.0 | |
http_parser |
^4.1.2 |
4.1.2 | 4.1.2 | |
json_annotation |
^4.8.1 |
4.10.0 | 4.10.0 | |
leak_tracker |
^11.0.2 |
11.0.2 | 11.0.2 | |
material_color_utilities |
^0.11.1 |
0.11.1 | 0.13.0 | |
meta |
^1.12.0 |
1.17.0 | 1.18.1 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 | |
typed_data |
^1.4.0 |
1.4.0 | 1.4.0 | |
uuid |
^4.5.1 |
4.5.2 | 4.5.2 | |
web |
^1.1.0 |
1.1.1 | 1.1.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.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 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
vm_service |
- | 15.0.2 | 15.0.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.11.1` on material_color_utilities does not support the stable version `0.12.0`.
Try running dart pub upgrade --major-versions material_color_utilities to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 57 errors:
RETURN_OF_INVALID_TYPE-lib/agixtsdk.dart:149:14- A value of type 'String' can't be returned from the method 'registerUser' because it has a return type of 'Future<Map<String, dynamic>>'.RETURN_OF_INVALID_TYPE-lib/agixtsdk.dart:165:14- A value of type 'String' can't be returned from the method 'getMfaSetup' because it has a return type of 'Future<Map<String, dynamic>>'.RETURN_OF_INVALID_TYPE-lib/agixtsdk.dart:184:14- A value of type 'String' can't be returned from the method 'enableMfa' because it has a return type of 'Future<Map<String, dynamic>>'.
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.9, Flutter 3.38.9, Dart 3.10.8.
Check the analysis log for details.