@vue-solana/nuxt 2.2.0 → 2.3.0
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 +4 -0
- package/dist/module.cjs +2 -0
- package/dist/module.mjs +2 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -124,6 +124,8 @@ The module auto-imports these composables from direct `@vue-solana/vue/*` subpat
|
|
|
124
124
|
- `useSolanaIdentity()`
|
|
125
125
|
- `useSolanaPlanTransaction()`
|
|
126
126
|
- `useSolanaPlanTransactions()`
|
|
127
|
+
- `useSolanaSendTransaction()`
|
|
128
|
+
- `useSolanaSendTransactions()`
|
|
127
129
|
|
|
128
130
|
| Composable | Purpose |
|
|
129
131
|
| ------------------------------------ | -------------------------------------------------------------------------------- |
|
|
@@ -155,6 +157,8 @@ The module auto-imports these composables from direct `@vue-solana/vue/*` subpat
|
|
|
155
157
|
| `useSolanaIdentity()` | Reactive Kit client `identity` signer ref. |
|
|
156
158
|
| `useSolanaPlanTransaction()` | Plans a single transaction message from instruction inputs without signing. |
|
|
157
159
|
| `useSolanaPlanTransactions()` | Plans a batch of transaction messages from instruction inputs. |
|
|
160
|
+
| `useSolanaSendTransaction()` | Plans, signs, submits, and confirms one transaction through the client. |
|
|
161
|
+
| `useSolanaSendTransactions()` | Sends a batch of transactions (parallel or sequential) through the client. |
|
|
158
162
|
|
|
159
163
|
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.
|
|
160
164
|
|
package/dist/module.cjs
CHANGED
|
@@ -17,6 +17,8 @@ const SOLANA_COMPOSABLE_IMPORTS = [
|
|
|
17
17
|
["useRequest", "useSolanaRequest"],
|
|
18
18
|
["useRpc", "useSolanaRpc"],
|
|
19
19
|
["useSelectedWalletAccount", "useSolanaSelectedWalletAccount"],
|
|
20
|
+
["useSendTransaction", "useSolanaSendTransaction"],
|
|
21
|
+
["useSendTransactions", "useSolanaSendTransactions"],
|
|
20
22
|
["useSignIn", "useSolanaSignIn"],
|
|
21
23
|
["useSignMessage", "useSolanaSignMessage"],
|
|
22
24
|
["useSignAndSendTransaction", "useSolanaSignAndSendTransaction"],
|
package/dist/module.mjs
CHANGED
|
@@ -14,6 +14,8 @@ const SOLANA_COMPOSABLE_IMPORTS = [
|
|
|
14
14
|
["useRequest", "useSolanaRequest"],
|
|
15
15
|
["useRpc", "useSolanaRpc"],
|
|
16
16
|
["useSelectedWalletAccount", "useSolanaSelectedWalletAccount"],
|
|
17
|
+
["useSendTransaction", "useSolanaSendTransaction"],
|
|
18
|
+
["useSendTransactions", "useSolanaSendTransactions"],
|
|
17
19
|
["useSignIn", "useSolanaSignIn"],
|
|
18
20
|
["useSignMessage", "useSolanaSignMessage"],
|
|
19
21
|
["useSignAndSendTransaction", "useSolanaSignAndSendTransaction"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue-solana/nuxt",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "Nuxt module for Solana applications.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@vue-solana/vue": "2.
|
|
50
|
+
"@vue-solana/vue": "2.3.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"nuxt": "^3.0.0 || ^4.0.0"
|