@vue-solana/nuxt 0.2.8 → 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 CHANGED
@@ -70,7 +70,7 @@ The module auto-imports these composables from direct `@vue-solana/vue/*` subpat
70
70
 
71
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.
72
72
 
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. iOS browser wallet adapters and desktop native app wallet adapters are planned but not implemented yet.
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.
74
74
 
75
75
  ## Read RPC State
76
76
 
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 { SolanaConfig } from '@vue-solana/core';
2
+ import { VueSolanaPluginOptions } from '@vue-solana/vue';
3
3
 
4
- type ModuleOptions = SolanaConfig;
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 { SolanaConfig } from '@vue-solana/core';
2
+ import { VueSolanaPluginOptions } from '@vue-solana/vue';
3
3
 
4
- type ModuleOptions = SolanaConfig;
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 { SolanaConfig } from '@vue-solana/core';
2
+ import { VueSolanaPluginOptions } from '@vue-solana/vue';
3
3
 
4
- type ModuleOptions = SolanaConfig;
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: {
@@ -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
  });
@@ -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.2.8",
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.3.3",
42
- "@vue-solana/vue": "0.3.3"
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",