@vue-solana/nuxt 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.
- package/README.md +6 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -64,6 +64,8 @@ New to Solana? Start with the official docs and the project concepts guide:
|
|
|
64
64
|
| Solana client | Provided through `@vue-solana/core` |
|
|
65
65
|
| Clusters | `mainnet` (alias `mainnet-beta`), `devnet`, `testnet`, `localnet` |
|
|
66
66
|
|
|
67
|
+
<br>
|
|
68
|
+
|
|
67
69
|
## Install
|
|
68
70
|
|
|
69
71
|
```sh
|
|
@@ -117,6 +119,8 @@ Nuxt module options are stored in public runtime config, so they must be JSON-se
|
|
|
117
119
|
| `iosWallet` | JSON-serializable iOS wallet options or `false` | Enabled on iOS browsers | Configures or disables iOS browser wallet universal links (Phantom, Solflare, Backpack). |
|
|
118
120
|
| `clientPlugin` | `boolean` | `true` | Set to `false` to skip the module's runtime plugin and install `createSolanaPlugin` yourself. |
|
|
119
121
|
|
|
122
|
+
<br>
|
|
123
|
+
|
|
120
124
|
For development, use `devnet` and request free test SOL from the official faucet:
|
|
121
125
|
|
|
122
126
|
```txt
|
|
@@ -250,6 +254,8 @@ The module auto-imports these composables from direct `@vue-solana/vue/*` subpat
|
|
|
250
254
|
| `useSolanaSendTransaction()` | Plans, signs, submits, and confirms one transaction through the client. |
|
|
251
255
|
| `useSolanaSendTransactions()` | Sends a batch of transactions (parallel or sequential) through the client. |
|
|
252
256
|
|
|
257
|
+
<br>
|
|
258
|
+
|
|
253
259
|
The default client built by the module composes `solanaRpc()` followed by `rpcAirdrop()` when no `commitment` is configured (a configured `commitment` builds the same stack explicitly so it reaches the RPC layer); `solanaRpc()` installs `rpcTransactionPlanner()`, `rpcTransactionPlanSigningExecutor()`, and `rpcTransactionPlanSendingExecutor()` itself. The old custom fallback sender is not used. `useSolanaSendTransaction()` and `useSolanaSendTransactions()` therefore use the official client-sending capability, but the module does not configure a payer because `payer` and `payerSecretKey` are omitted from `ModuleOptions`. Their `sent` status is reached after the official executor completes its send-and-confirm operation at `confirmed` commitment.
|
|
254
260
|
|
|
255
261
|
The runtime plugin is client-only. Auto-imported composables can be called during SSR and return inert state until hydration provides the real client context. Trigger RPC and wallet work from client lifecycle hooks or user actions.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue-solana/nuxt",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.2",
|
|
4
4
|
"description": "Nuxt module for Solana applications.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@vue-solana/vue": "4.1.
|
|
48
|
+
"@vue-solana/vue": "4.1.2"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"nuxt": "^3.0.0 || ^4.0.0"
|