@vue-solana/nuxt 2.1.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 CHANGED
@@ -101,6 +101,7 @@ The module auto-imports these composables from direct `@vue-solana/vue/*` subpat
101
101
  - `useSolanaRpc()`
102
102
  - `useSolanaConnection()`
103
103
  - `useSolanaAccountInfo()`
104
+ - `useSolanaAirdrop()`
104
105
  - `useSolanaBalance()`
105
106
  - `useSolanaProgramAccounts()`
106
107
  - `useSolanaTokenAccounts()`
@@ -123,6 +124,8 @@ The module auto-imports these composables from direct `@vue-solana/vue/*` subpat
123
124
  - `useSolanaIdentity()`
124
125
  - `useSolanaPlanTransaction()`
125
126
  - `useSolanaPlanTransactions()`
127
+ - `useSolanaSendTransaction()`
128
+ - `useSolanaSendTransactions()`
126
129
 
127
130
  | Composable | Purpose |
128
131
  | ------------------------------------ | -------------------------------------------------------------------------------- |
@@ -131,6 +134,7 @@ The module auto-imports these composables from direct `@vue-solana/vue/*` subpat
131
134
  | `useSolanaRpc()` | Cluster, endpoint, connection status, latest blockhash, and `checkConnection()`. |
132
135
  | `useSolanaConnection()` | Deprecated alias for the Kit client returned by `useSolanaClient()`. |
133
136
  | `useSolanaAccountInfo()` | Account info reads and optional subscriptions. |
137
+ | `useSolanaAirdrop()` | Airdrops SOL into an account on test networks and local validators. |
134
138
  | `useSolanaBalance()` | Lamport balance reads. |
135
139
  | `useSolanaProgramAccounts()` | Program account scans with filters and `dataSlice`. |
136
140
  | `useSolanaTokenAccounts()` | SPL token account reads for an owner. |
@@ -153,6 +157,8 @@ The module auto-imports these composables from direct `@vue-solana/vue/*` subpat
153
157
  | `useSolanaIdentity()` | Reactive Kit client `identity` signer ref. |
154
158
  | `useSolanaPlanTransaction()` | Plans a single transaction message from instruction inputs without signing. |
155
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. |
156
162
 
157
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.
158
164
 
package/dist/module.cjs CHANGED
@@ -6,6 +6,7 @@ var _documentCurrentScript = typeof document !== 'undefined' ? document.currentS
6
6
  const SOLANA_COMPOSABLE_IMPORTS = [
7
7
  ["useAccountInfo", "useSolanaAccountInfo"],
8
8
  ["useAction", "useSolanaAction"],
9
+ ["useAirdrop", "useSolanaAirdrop"],
9
10
  ["useBalance", "useSolanaBalance"],
10
11
  ["useConnection", "useSolanaConnection"],
11
12
  ["useIdentity", "useSolanaIdentity"],
@@ -16,6 +17,8 @@ const SOLANA_COMPOSABLE_IMPORTS = [
16
17
  ["useRequest", "useSolanaRequest"],
17
18
  ["useRpc", "useSolanaRpc"],
18
19
  ["useSelectedWalletAccount", "useSolanaSelectedWalletAccount"],
20
+ ["useSendTransaction", "useSolanaSendTransaction"],
21
+ ["useSendTransactions", "useSolanaSendTransactions"],
19
22
  ["useSignIn", "useSolanaSignIn"],
20
23
  ["useSignMessage", "useSolanaSignMessage"],
21
24
  ["useSignAndSendTransaction", "useSolanaSignAndSendTransaction"],
package/dist/module.mjs CHANGED
@@ -3,6 +3,7 @@ import { defineNuxtModule, createResolver, addPlugin, addImports } from '@nuxt/k
3
3
  const SOLANA_COMPOSABLE_IMPORTS = [
4
4
  ["useAccountInfo", "useSolanaAccountInfo"],
5
5
  ["useAction", "useSolanaAction"],
6
+ ["useAirdrop", "useSolanaAirdrop"],
6
7
  ["useBalance", "useSolanaBalance"],
7
8
  ["useConnection", "useSolanaConnection"],
8
9
  ["useIdentity", "useSolanaIdentity"],
@@ -13,6 +14,8 @@ const SOLANA_COMPOSABLE_IMPORTS = [
13
14
  ["useRequest", "useSolanaRequest"],
14
15
  ["useRpc", "useSolanaRpc"],
15
16
  ["useSelectedWalletAccount", "useSolanaSelectedWalletAccount"],
17
+ ["useSendTransaction", "useSolanaSendTransaction"],
18
+ ["useSendTransactions", "useSolanaSendTransactions"],
16
19
  ["useSignIn", "useSolanaSignIn"],
17
20
  ["useSignMessage", "useSolanaSignMessage"],
18
21
  ["useSignAndSendTransaction", "useSolanaSignAndSendTransaction"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue-solana/nuxt",
3
- "version": "2.1.0",
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.1.0"
50
+ "@vue-solana/vue": "2.3.0"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "nuxt": "^3.0.0 || ^4.0.0"