coral_xyz 1.0.0-beta.8
coral_xyz: ^1.0.0-beta.8 copied to clipboard
A Dart client for Anchor programs on Solana. Provides type-safe program interactions, IDL parsing, and seamless integration with Solana's Anchor framework.
We analyzed this package 23 days ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Repository has no matching pubspec.yaml with name: coral_xyz.
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: coral_xyz, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
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.
10/10 points: 20% or more of the public API has dartdoc comments
3328 out of 4594 API elements (72.4 %) have documentation comments.
Some symbols that are missing documentation: coral_xyz.AccountCacheConfig.AccountCacheConfig.new, coral_xyz.AccountCacheManager.AccountCacheManager.new, coral_xyz.AccountChangeNotification.AccountChangeNotification.new, coral_xyz.AccountClient.AccountClient.new, coral_xyz.AccountCoderError.AccountCoderError.new.
10/10 points: Package has an example
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:coral_xyz/coral_xyz.dartthat imports:package:coral_xyz/src/provider/anchor_provider.dartthat imports:package:coral_xyz/src/utils/logger.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 91 issues. Showing the first 2:
WARNING: The operand can't be 'null', so the condition is always 'true'.
lib/src/account/account_definition.dart:124:51
╷
124 │ requireDiscriminator: account.discriminator != null,
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/account/account_definition.dart
WARNING: The value of the field '_maxBufferSize' isn't used.
lib/src/event/event_listener.dart:19:14
╷
19 │ final int? _maxBufferSize;
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/event/event_listener.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
analyzer |
^8.4.0 |
8.4.1 | 9.0.0 | |
base_codecs |
^1.0.1 |
1.0.1 | 1.0.1 | |
blockchain_utils |
^5.2.0 |
5.4.0 | 5.4.0 | |
bs58 |
^1.0.2 |
1.0.2 | 1.0.2 | |
build |
^4.0.2 |
4.0.3 | 4.0.3 | |
convert |
^3.1.1 |
3.1.2 | 3.1.2 | |
crypto |
^3.0.3 |
3.0.7 | 3.0.7 | |
cryptography |
^2.7.0 |
2.9.0 | 2.9.0 | |
ed25519_hd_key |
^2.3.0 |
2.3.0 | 2.3.0 | |
equatable |
^2.0.5 |
2.0.7 | 2.0.7 | |
http |
^1.2.0 |
1.6.0 | 1.6.0 | |
logging |
^1.3.0 |
1.3.0 | 1.3.0 | |
meta |
^1.16.0 |
1.17.0 | 1.17.0 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 | |
solana |
^0.31.2+1 |
0.31.2+1 | 0.32.0 | |
source_gen |
^4.0.2 |
4.1.1 | 4.1.1 | |
web_socket_channel |
>=2.0.0 <4.0.0 |
3.0.3 | 3.0.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 91.0.0 | 92.0.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
base_x |
- | 2.0.1 | 2.0.1 | |
bip39 |
- | 1.0.6 | 1.0.6 | |
borsh_annotation |
- | 0.3.2 | 0.3.2 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
dart_style |
- | 3.1.3 | 3.1.3 | |
decimal |
- | 3.2.4 | 3.2.4 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
freezed_annotation |
- | 2.4.4 | 3.1.0 | |
glob |
- | 2.1.3 | 2.1.3 | |
hex |
- | 0.2.0 | 0.2.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.20.2 | 0.20.2 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
json_annotation |
- | 4.9.0 | 4.9.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
pinenacl |
- | 0.6.0 | 0.6.0 | |
pointycastle |
- | 3.9.1 | 4.0.0 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
rational |
- | 2.2.3 | 2.2.3 | |
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 | |
watcher |
- | 1.2.0 | 1.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^8.4.0` on analyzer does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions analyzer to update the constraint.
The constraint `^0.31.2+1` on solana does not support the stable version `0.32.0`.
Try running dart pub upgrade --major-versions solana to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.3, Dart 3.10.4.
Check the analysis log for details.