@vue-solana/core 4.1.1 → 4.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -73,9 +73,11 @@ Full Vue Solana docs:
73
73
  | ------------- | ----------------------------------------------------------------- |
74
74
  | Runtime | ESM only (modern bundlers; Node needs ESM) |
75
75
  | TypeScript | TypeScript 5.x recommended |
76
- | Solana client | `@solana/kit@^8.5.0` (and `@solana/kit-plugin-rpc`) |
76
+ | Solana client | `@solana/kit@^8.6.0` (and `@solana/kit-plugin-rpc`) |
77
77
  | Clusters | `mainnet` (alias `mainnet-beta`), `devnet`, `testnet`, `localnet` |
78
78
 
79
+ <br>
80
+
79
81
  Since v3.0.0 this package is ESM only: there is no `require` export condition and no top-level `main`, so `require("@vue-solana/core")` fails with `No "exports" main defined`. Pin to `@vue-solana/core@^2` if you must stay on CommonJS.
80
82
 
81
83
  This package no longer depends on `@solana/web3-compat`. It depends on `@solana/kit` and `@solana/kit-plugin-rpc`, so apps do not need to install either directly for normal Vue Solana usage.
@@ -151,6 +153,8 @@ const config: SolanaConfig = {
151
153
  | `payer` | `TransactionSigner` | None | Kit client fee payer and signer for client-sent transactions. |
152
154
  | `payerSecretKey` | `string` | None | Base64 64-byte Ed25519 keypair, secret key first, resolved at client creation. |
153
155
 
156
+ <br>
157
+
154
158
  Supported clusters are `mainnet` (legacy alias `mainnet-beta`), `testnet`, `devnet`, and `localnet`. If `endpoint` is omitted, the package uses the public Solana RPC endpoint for the selected cluster. If `wsEndpoint` is omitted, it is derived from the RPC endpoint.
155
159
 
156
160
  `autoConnect` is consumed by the Vue plugin and Nuxt module. It defaults to `false`; when set to `true`, Vue Solana reconnects only a previously selected wallet identity that is discovered again on the client.
@@ -248,6 +252,8 @@ Direct subpaths:
248
252
  | `normalizeSolanaError(error)` | Normalizes an unknown error into a `SolanaError`. |
249
253
  | `isSolanaActionAborted(error)` | Detects abort errors from superseded action dispatches. |
250
254
 
255
+ <br>
256
+
251
257
  The Solana Pay request helpers live in `@vue-solana/core/solana-pay`; `createSolanaPayReference()` and `verifySolanaPayPayment()` live in `@vue-solana/core/solana-pay-confirmation`, and `getSolanaPayPaymentStatus()` lives in `@vue-solana/core/solana-pay-status`.
252
258
 
253
259
  The client-sent API is the official Kit `ClientWithTransactionSending` capability installed by `createSolanaClient()`. It does not use a wallet popup; `sent` is reached after the RPC executor completes its send-and-confirm operation at `confirmed` commitment. Use a `payer`, and keep funded keys in a trusted server or relayer context.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue-solana/core",
3
- "version": "4.1.1",
3
+ "version": "4.1.2",
4
4
  "description": "Framework-agnostic primitives for Vue Solana libraries.",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -116,7 +116,7 @@
116
116
  },
117
117
  "dependencies": {
118
118
  "@solana-mobile/wallet-standard-mobile": "^0.5.3",
119
- "@solana/kit": "^8.5.0",
119
+ "@solana/kit": "^8.6.0",
120
120
  "@solana/kit-plugin-rpc": "^0.19.0",
121
121
  "@solana/wallet-standard-features": "^1.3.0",
122
122
  "@wallet-standard/app": "^1.1.1",