@vue-solana/nuxt 0.2.7 → 0.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 +12 -1
- package/dist/module.cjs +2 -1
- package/dist/module.d.cts +2 -2
- package/dist/module.d.mts +2 -2
- package/dist/module.d.ts +2 -2
- package/dist/module.mjs +2 -1
- package/dist/runtime/plugin.cjs +3 -1
- package/dist/runtime/plugin.mjs +3 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -11,6 +11,7 @@ New to Solana? Start with the official docs and the project concepts guide:
|
|
|
11
11
|
- [Solana Clusters](https://solana.com/docs/references/clusters)
|
|
12
12
|
- [Vue Solana Concepts Guide](https://vue-solana-docs.vercel.app/concepts/solana-for-vue-developers)
|
|
13
13
|
- [`@vue-solana/nuxt` docs](https://vue-solana-docs.vercel.app/packages/nuxt)
|
|
14
|
+
- [Agent Skill](https://vue-solana-docs.vercel.app/agent-skill)
|
|
14
15
|
- [Live demo](https://vue-solana-docs.vercel.app/demo)
|
|
15
16
|
|
|
16
17
|
## Install
|
|
@@ -69,7 +70,7 @@ The module auto-imports these composables from direct `@vue-solana/vue/*` subpat
|
|
|
69
70
|
|
|
70
71
|
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.
|
|
71
72
|
|
|
72
|
-
Android Mobile Wallet Adapter registration also runs only on the client. On Android Chrome and Chrome PWAs, `Mobile Wallet Adapter` can appear in the same `useSolanaWallets()` list as browser extension wallets. iOS
|
|
73
|
+
Android Mobile Wallet Adapter registration also runs only on the client. On Android Chrome and Chrome PWAs, `Mobile Wallet Adapter` can appear in the same `useSolanaWallets()` list as browser extension wallets. On iOS browsers, Phantom, Solflare, and Backpack can appear in the same list through wallet-specific universal links. Desktop native app wallet adapters are planned but not implemented yet.
|
|
73
74
|
|
|
74
75
|
## Read RPC State
|
|
75
76
|
|
|
@@ -149,6 +150,16 @@ Docs: <a href="https://vue-solana-docs.vercel.app/examples/nuxt" target="_blank"
|
|
|
149
150
|
|
|
150
151
|
Live demo: [vue-solana-docs.vercel.app/demo](https://vue-solana-docs.vercel.app/demo)
|
|
151
152
|
|
|
153
|
+
## AI Agent Skill
|
|
154
|
+
|
|
155
|
+
If you use an AI coding agent, install the Vue Solana Agent Skill for Nuxt module setup, auto-imported composables, SSR caveats, wallet flow guidance, and transaction gotchas:
|
|
156
|
+
|
|
157
|
+
```sh
|
|
158
|
+
npx skills add vue-solana/vue-solana --skill vue-solana
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
Docs: [Vue Solana Agent Skill](https://vue-solana-docs.vercel.app/agent-skill)
|
|
162
|
+
|
|
152
163
|
## Known TypeScript Issue
|
|
153
164
|
|
|
154
165
|
`@solana/web3-compat@0.0.21` currently has broken TypeScript metadata. Runtime imports still use the real package, but TypeScript consumers may need a local declaration shim.
|
package/dist/module.cjs
CHANGED
|
@@ -15,7 +15,8 @@ const VITE_OPTIMIZE_DEPS = [
|
|
|
15
15
|
"jayson/lib/client/browser",
|
|
16
16
|
"eventemitter3",
|
|
17
17
|
"rpc-websockets",
|
|
18
|
-
"@solana-mobile/wallet-standard-mobile"
|
|
18
|
+
"@solana-mobile/wallet-standard-mobile",
|
|
19
|
+
"tweetnacl"
|
|
19
20
|
];
|
|
20
21
|
const module$1 = kit.defineNuxtModule({
|
|
21
22
|
meta: {
|
package/dist/module.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineNuxtModule } from '@nuxt/kit';
|
|
2
|
-
import {
|
|
2
|
+
import { VueSolanaPluginOptions } from '@vue-solana/vue';
|
|
3
3
|
|
|
4
|
-
type ModuleOptions =
|
|
4
|
+
type ModuleOptions = VueSolanaPluginOptions;
|
|
5
5
|
type DefinedNuxtModule = ReturnType<ReturnType<typeof defineNuxtModule<ModuleOptions>>["with"]>;
|
|
6
6
|
declare const module$1: DefinedNuxtModule;
|
|
7
7
|
|
package/dist/module.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineNuxtModule } from '@nuxt/kit';
|
|
2
|
-
import {
|
|
2
|
+
import { VueSolanaPluginOptions } from '@vue-solana/vue';
|
|
3
3
|
|
|
4
|
-
type ModuleOptions =
|
|
4
|
+
type ModuleOptions = VueSolanaPluginOptions;
|
|
5
5
|
type DefinedNuxtModule = ReturnType<ReturnType<typeof defineNuxtModule<ModuleOptions>>["with"]>;
|
|
6
6
|
declare const module$1: DefinedNuxtModule;
|
|
7
7
|
|
package/dist/module.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineNuxtModule } from '@nuxt/kit';
|
|
2
|
-
import {
|
|
2
|
+
import { VueSolanaPluginOptions } from '@vue-solana/vue';
|
|
3
3
|
|
|
4
|
-
type ModuleOptions =
|
|
4
|
+
type ModuleOptions = VueSolanaPluginOptions;
|
|
5
5
|
type DefinedNuxtModule = ReturnType<ReturnType<typeof defineNuxtModule<ModuleOptions>>["with"]>;
|
|
6
6
|
declare const module$1: DefinedNuxtModule;
|
|
7
7
|
|
package/dist/module.mjs
CHANGED
|
@@ -12,7 +12,8 @@ const VITE_OPTIMIZE_DEPS = [
|
|
|
12
12
|
"jayson/lib/client/browser",
|
|
13
13
|
"eventemitter3",
|
|
14
14
|
"rpc-websockets",
|
|
15
|
-
"@solana-mobile/wallet-standard-mobile"
|
|
15
|
+
"@solana-mobile/wallet-standard-mobile",
|
|
16
|
+
"tweetnacl"
|
|
16
17
|
];
|
|
17
18
|
const module$1 = defineNuxtModule({
|
|
18
19
|
meta: {
|
package/dist/runtime/plugin.cjs
CHANGED
|
@@ -11,7 +11,9 @@ const plugin = _app.defineNuxtPlugin((nuxtApp) => {
|
|
|
11
11
|
endpoint: config.endpoint,
|
|
12
12
|
wsEndpoint: config.wsEndpoint,
|
|
13
13
|
commitment: config.commitment,
|
|
14
|
-
autoConnect: config.autoConnect
|
|
14
|
+
autoConnect: config.autoConnect,
|
|
15
|
+
mobileWallet: config.mobileWallet,
|
|
16
|
+
iosWallet: config.iosWallet
|
|
15
17
|
})
|
|
16
18
|
);
|
|
17
19
|
});
|
package/dist/runtime/plugin.mjs
CHANGED
|
@@ -9,7 +9,9 @@ const plugin = defineNuxtPlugin((nuxtApp) => {
|
|
|
9
9
|
endpoint: config.endpoint,
|
|
10
10
|
wsEndpoint: config.wsEndpoint,
|
|
11
11
|
commitment: config.commitment,
|
|
12
|
-
autoConnect: config.autoConnect
|
|
12
|
+
autoConnect: config.autoConnect,
|
|
13
|
+
mobileWallet: config.mobileWallet,
|
|
14
|
+
iosWallet: config.iosWallet
|
|
13
15
|
})
|
|
14
16
|
);
|
|
15
17
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue-solana/nuxt",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.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.4.0",
|
|
42
|
+
"@vue-solana/vue": "0.4.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@solana/web3-compat": "^0.0.21",
|