@vue-solana/nuxt 1.2.0 → 2.0.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/dist/module.cjs CHANGED
@@ -27,30 +27,14 @@ const SOLANA_IMPORTS = SOLANA_COMPOSABLE_IMPORTS.map(([name, as]) => ({
27
27
  }));
28
28
 
29
29
  const VITE_OPTIMIZE_DEPS = [
30
- "@vue-solana/nuxt > @solana/web3-compat",
31
- "@vue-solana/nuxt > @vue-solana/vue > @solana/web3-compat",
32
- "@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > @solana/web3-compat",
33
- "@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js",
34
- "@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > qrcode",
30
+ "@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > @solana-mobile/wallet-standard-mobile",
35
31
  "@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > buffer",
36
32
  "@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > buffer/",
37
- "@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > bn.js",
38
33
  "@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > bs58",
39
- "@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > borsh",
40
- "@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > @solana/buffer-layout",
41
- "@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > jayson/lib/client/browser",
42
- "@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > eventemitter3",
43
- "@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > rpc-websockets",
44
- "@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > @solana-mobile/wallet-standard-mobile",
45
34
  "@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > tweetnacl",
46
- "@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > tweetnacl/nacl-fast.js",
47
- "@solana/kit",
48
- "@solana/kit-plugin-rpc",
49
- "@solana/kit-plugin-instruction-plan",
50
- "@solana-program/system"
35
+ "@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > tweetnacl/nacl-fast.js"
51
36
  ];
52
37
  const VITE_NEEDS_INTEROP = [
53
- "@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > eventemitter3",
54
38
  "@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > tweetnacl",
55
39
  "@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > tweetnacl/nacl-fast.js"
56
40
  ];
package/dist/module.mjs CHANGED
@@ -24,30 +24,14 @@ const SOLANA_IMPORTS = SOLANA_COMPOSABLE_IMPORTS.map(([name, as]) => ({
24
24
  }));
25
25
 
26
26
  const VITE_OPTIMIZE_DEPS = [
27
- "@vue-solana/nuxt > @solana/web3-compat",
28
- "@vue-solana/nuxt > @vue-solana/vue > @solana/web3-compat",
29
- "@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > @solana/web3-compat",
30
- "@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js",
31
- "@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > qrcode",
27
+ "@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > @solana-mobile/wallet-standard-mobile",
32
28
  "@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > buffer",
33
29
  "@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > buffer/",
34
- "@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > bn.js",
35
30
  "@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > bs58",
36
- "@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > borsh",
37
- "@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > @solana/buffer-layout",
38
- "@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > jayson/lib/client/browser",
39
- "@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > eventemitter3",
40
- "@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > rpc-websockets",
41
- "@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > @solana-mobile/wallet-standard-mobile",
42
31
  "@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > tweetnacl",
43
- "@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > tweetnacl/nacl-fast.js",
44
- "@solana/kit",
45
- "@solana/kit-plugin-rpc",
46
- "@solana/kit-plugin-instruction-plan",
47
- "@solana-program/system"
32
+ "@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > tweetnacl/nacl-fast.js"
48
33
  ];
49
34
  const VITE_NEEDS_INTEROP = [
50
- "@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > eventemitter3",
51
35
  "@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > tweetnacl",
52
36
  "@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > tweetnacl/nacl-fast.js"
53
37
  ];
@@ -1,3 +1,2 @@
1
1
  export { Buffer, installSolanaBufferPolyfill } from '@vue-solana/vue/buffer-polyfill';
2
2
  import '@vue-solana/vue/kit';
3
- import '@vue-solana/vue/web3';
@@ -1,3 +1,2 @@
1
1
  export { Buffer, installSolanaBufferPolyfill } from '@vue-solana/vue/buffer-polyfill';
2
2
  import '@vue-solana/vue/kit';
3
- import '@vue-solana/vue/web3';
@@ -1,3 +1,2 @@
1
1
  export { Buffer, installSolanaBufferPolyfill } from '@vue-solana/vue/buffer-polyfill';
2
2
  import '@vue-solana/vue/kit';
3
- import '@vue-solana/vue/web3';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue-solana/nuxt",
3
- "version": "1.2.0",
3
+ "version": "2.0.0",
4
4
  "description": "Nuxt module for Solana applications.",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -8,7 +8,6 @@
8
8
  "nuxt",
9
9
  "nuxt-module",
10
10
  "vue",
11
- "web3",
12
11
  "wallet"
13
12
  ],
14
13
  "homepage": "https://vue-solana-docs.vercel.app/packages/nuxt",
@@ -35,11 +34,6 @@
35
34
  "import": "./dist/runtime/buffer-polyfill.mjs",
36
35
  "require": "./dist/runtime/buffer-polyfill.cjs"
37
36
  },
38
- "./web3": {
39
- "types": "./dist/runtime/web3.d.ts",
40
- "import": "./dist/runtime/web3.mjs",
41
- "require": "./dist/runtime/web3.cjs"
42
- },
43
37
  "./kit": {
44
38
  "types": "./dist/runtime/kit.d.ts",
45
39
  "import": "./dist/runtime/kit.mjs",
@@ -53,8 +47,7 @@
53
47
  "access": "public"
54
48
  },
55
49
  "dependencies": {
56
- "@solana/web3-compat": "^0.0.21",
57
- "@vue-solana/vue": "1.2.0"
50
+ "@vue-solana/vue": "2.0.0"
58
51
  },
59
52
  "peerDependencies": {
60
53
  "nuxt": "^3.0.0 || ^4.0.0"
@@ -1,13 +0,0 @@
1
- 'use strict';
2
-
3
- const web3 = require('@vue-solana/vue/web3');
4
-
5
-
6
-
7
- exports.Connection = web3.Connection;
8
- exports.Keypair = web3.Keypair;
9
- exports.PublicKey = web3.PublicKey;
10
- exports.SystemProgram = web3.SystemProgram;
11
- exports.Transaction = web3.Transaction;
12
- exports.TransactionInstruction = web3.TransactionInstruction;
13
- exports.VersionedTransaction = web3.VersionedTransaction;
@@ -1 +0,0 @@
1
- export { AccountInfo, Commitment, Connection, Keypair, PublicKey, RpcResponseAndContext, SendOptions, SignatureResult, SignatureStatus, SystemProgram, Transaction, TransactionInstruction, TransactionSignature, VersionedTransaction } from '@vue-solana/vue/web3';
@@ -1 +0,0 @@
1
- export { AccountInfo, Commitment, Connection, Keypair, PublicKey, RpcResponseAndContext, SendOptions, SignatureResult, SignatureStatus, SystemProgram, Transaction, TransactionInstruction, TransactionSignature, VersionedTransaction } from '@vue-solana/vue/web3';
@@ -1 +0,0 @@
1
- export { AccountInfo, Commitment, Connection, Keypair, PublicKey, RpcResponseAndContext, SendOptions, SignatureResult, SignatureStatus, SystemProgram, Transaction, TransactionInstruction, TransactionSignature, VersionedTransaction } from '@vue-solana/vue/web3';
@@ -1 +0,0 @@
1
- export { Connection, Keypair, PublicKey, SystemProgram, Transaction, TransactionInstruction, VersionedTransaction } from '@vue-solana/vue/web3';