@vue-solana/nuxt 0.4.0 → 0.5.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 +8 -1
- package/dist/module.cjs +5 -0
- package/dist/module.mjs +5 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -68,6 +68,7 @@ The module auto-imports these composables from direct `@vue-solana/vue/*` subpat
|
|
|
68
68
|
- `useSolanaWallet()`
|
|
69
69
|
- `useSolanaWallets()`
|
|
70
70
|
- `useSolanaBalance()`
|
|
71
|
+
- `useSolanaTransactionConfirmation()`
|
|
71
72
|
- `useSolanaSignAndSendTransaction()`
|
|
72
73
|
|
|
73
74
|
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.
|
|
@@ -172,7 +173,13 @@ If TypeScript cannot resolve `@solana/web3-compat`, add `types/web3-compat.d.ts`
|
|
|
172
173
|
|
|
173
174
|
```ts
|
|
174
175
|
declare module "@solana/web3-compat" {
|
|
175
|
-
export type {
|
|
176
|
+
export type {
|
|
177
|
+
Commitment,
|
|
178
|
+
RpcResponseAndContext,
|
|
179
|
+
SendOptions,
|
|
180
|
+
SignatureResult,
|
|
181
|
+
TransactionSignature,
|
|
182
|
+
} from "@solana/web3.js";
|
|
176
183
|
export {
|
|
177
184
|
Connection,
|
|
178
185
|
Keypair,
|
package/dist/module.cjs
CHANGED
|
@@ -60,6 +60,11 @@ const module$1 = kit.defineNuxtModule({
|
|
|
60
60
|
from: "@vue-solana/vue/useSignAndSendTransaction"
|
|
61
61
|
},
|
|
62
62
|
{ name: "useSolana", as: "useSolana", from: "@vue-solana/vue/useSolana" },
|
|
63
|
+
{
|
|
64
|
+
name: "useTransactionConfirmation",
|
|
65
|
+
as: "useSolanaTransactionConfirmation",
|
|
66
|
+
from: "@vue-solana/vue/useTransactionConfirmation"
|
|
67
|
+
},
|
|
63
68
|
{ name: "useWallet", as: "useSolanaWallet", from: "@vue-solana/vue/useWallet" },
|
|
64
69
|
{ name: "useWallets", as: "useSolanaWallets", from: "@vue-solana/vue/useWallets" }
|
|
65
70
|
]);
|
package/dist/module.mjs
CHANGED
|
@@ -57,6 +57,11 @@ const module$1 = defineNuxtModule({
|
|
|
57
57
|
from: "@vue-solana/vue/useSignAndSendTransaction"
|
|
58
58
|
},
|
|
59
59
|
{ name: "useSolana", as: "useSolana", from: "@vue-solana/vue/useSolana" },
|
|
60
|
+
{
|
|
61
|
+
name: "useTransactionConfirmation",
|
|
62
|
+
as: "useSolanaTransactionConfirmation",
|
|
63
|
+
from: "@vue-solana/vue/useTransactionConfirmation"
|
|
64
|
+
},
|
|
60
65
|
{ name: "useWallet", as: "useSolanaWallet", from: "@vue-solana/vue/useWallet" },
|
|
61
66
|
{ name: "useWallets", as: "useSolanaWallets", from: "@vue-solana/vue/useWallets" }
|
|
62
67
|
]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue-solana/nuxt",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Nuxt module for Solana applications.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@vue-solana/core": "0.
|
|
42
|
-
"@vue-solana/vue": "0.
|
|
41
|
+
"@vue-solana/core": "0.5.0",
|
|
42
|
+
"@vue-solana/vue": "0.6.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@solana/web3-compat": "^0.0.21",
|