@vue-solana/nuxt 1.1.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 +2 -13
- package/dist/module.mjs +2 -13
- package/dist/runtime/buffer-polyfill.d.cts +1 -1
- package/dist/runtime/buffer-polyfill.d.mts +1 -1
- package/dist/runtime/buffer-polyfill.d.ts +1 -1
- package/dist/runtime/kit.cjs +9 -0
- package/dist/runtime/kit.d.cts +1 -0
- package/dist/runtime/kit.d.mts +1 -0
- package/dist/runtime/kit.d.ts +1 -0
- package/dist/runtime/kit.mjs +1 -0
- package/package.json +6 -8
- package/dist/runtime/web3.cjs +0 -13
- package/dist/runtime/web3.d.cts +0 -1
- package/dist/runtime/web3.d.mts +0 -1
- package/dist/runtime/web3.d.ts +0 -1
- package/dist/runtime/web3.mjs +0 -1
package/dist/module.cjs
CHANGED
|
@@ -13,6 +13,7 @@ const SOLANA_COMPOSABLE_IMPORTS = [
|
|
|
13
13
|
["useSignAndSendTransaction", "useSolanaSignAndSendTransaction"],
|
|
14
14
|
["useSignatureStatus", "useSolanaSignatureStatus"],
|
|
15
15
|
["useSolana", "useSolana"],
|
|
16
|
+
["useSolanaClient", "useSolanaClient"],
|
|
16
17
|
["useTokenAccounts", "useSolanaTokenAccounts"],
|
|
17
18
|
["useTokenBalance", "useSolanaTokenBalance"],
|
|
18
19
|
["useTransactionConfirmation", "useSolanaTransactionConfirmation"],
|
|
@@ -26,26 +27,14 @@ const SOLANA_IMPORTS = SOLANA_COMPOSABLE_IMPORTS.map(([name, as]) => ({
|
|
|
26
27
|
}));
|
|
27
28
|
|
|
28
29
|
const VITE_OPTIMIZE_DEPS = [
|
|
29
|
-
"@vue-solana/nuxt > @solana/
|
|
30
|
-
"@vue-solana/nuxt > @vue-solana/vue > @solana/web3-compat",
|
|
31
|
-
"@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > @solana/web3-compat",
|
|
32
|
-
"@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js",
|
|
33
|
-
"@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",
|
|
34
31
|
"@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > buffer",
|
|
35
32
|
"@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > buffer/",
|
|
36
|
-
"@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > bn.js",
|
|
37
33
|
"@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > bs58",
|
|
38
|
-
"@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > borsh",
|
|
39
|
-
"@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > @solana/buffer-layout",
|
|
40
|
-
"@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > jayson/lib/client/browser",
|
|
41
|
-
"@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > eventemitter3",
|
|
42
|
-
"@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > rpc-websockets",
|
|
43
|
-
"@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > @solana-mobile/wallet-standard-mobile",
|
|
44
34
|
"@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > tweetnacl",
|
|
45
35
|
"@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > tweetnacl/nacl-fast.js"
|
|
46
36
|
];
|
|
47
37
|
const VITE_NEEDS_INTEROP = [
|
|
48
|
-
"@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > eventemitter3",
|
|
49
38
|
"@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > tweetnacl",
|
|
50
39
|
"@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > tweetnacl/nacl-fast.js"
|
|
51
40
|
];
|
package/dist/module.mjs
CHANGED
|
@@ -10,6 +10,7 @@ const SOLANA_COMPOSABLE_IMPORTS = [
|
|
|
10
10
|
["useSignAndSendTransaction", "useSolanaSignAndSendTransaction"],
|
|
11
11
|
["useSignatureStatus", "useSolanaSignatureStatus"],
|
|
12
12
|
["useSolana", "useSolana"],
|
|
13
|
+
["useSolanaClient", "useSolanaClient"],
|
|
13
14
|
["useTokenAccounts", "useSolanaTokenAccounts"],
|
|
14
15
|
["useTokenBalance", "useSolanaTokenBalance"],
|
|
15
16
|
["useTransactionConfirmation", "useSolanaTransactionConfirmation"],
|
|
@@ -23,26 +24,14 @@ const SOLANA_IMPORTS = SOLANA_COMPOSABLE_IMPORTS.map(([name, as]) => ({
|
|
|
23
24
|
}));
|
|
24
25
|
|
|
25
26
|
const VITE_OPTIMIZE_DEPS = [
|
|
26
|
-
"@vue-solana/nuxt > @solana/
|
|
27
|
-
"@vue-solana/nuxt > @vue-solana/vue > @solana/web3-compat",
|
|
28
|
-
"@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > @solana/web3-compat",
|
|
29
|
-
"@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js",
|
|
30
|
-
"@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",
|
|
31
28
|
"@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > buffer",
|
|
32
29
|
"@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > buffer/",
|
|
33
|
-
"@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > bn.js",
|
|
34
30
|
"@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > bs58",
|
|
35
|
-
"@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > borsh",
|
|
36
|
-
"@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > @solana/buffer-layout",
|
|
37
|
-
"@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > jayson/lib/client/browser",
|
|
38
|
-
"@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > eventemitter3",
|
|
39
|
-
"@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > rpc-websockets",
|
|
40
|
-
"@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > @solana-mobile/wallet-standard-mobile",
|
|
41
31
|
"@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > tweetnacl",
|
|
42
32
|
"@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > tweetnacl/nacl-fast.js"
|
|
43
33
|
];
|
|
44
34
|
const VITE_NEEDS_INTEROP = [
|
|
45
|
-
"@vue-solana/nuxt > @solana/web3-compat > @solana/web3.js > eventemitter3",
|
|
46
35
|
"@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > tweetnacl",
|
|
47
36
|
"@vue-solana/nuxt > @vue-solana/vue > @vue-solana/core > tweetnacl/nacl-fast.js"
|
|
48
37
|
];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Buffer, installSolanaBufferPolyfill } from '@vue-solana/vue/buffer-polyfill';
|
|
2
|
-
import '@vue-solana/vue/
|
|
2
|
+
import '@vue-solana/vue/kit';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Buffer, installSolanaBufferPolyfill } from '@vue-solana/vue/buffer-polyfill';
|
|
2
|
-
import '@vue-solana/vue/
|
|
2
|
+
import '@vue-solana/vue/kit';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Buffer, installSolanaBufferPolyfill } from '@vue-solana/vue/buffer-polyfill';
|
|
2
|
-
import '@vue-solana/vue/
|
|
2
|
+
import '@vue-solana/vue/kit';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Address, Lamports, Rpc, SolanaClient, SolanaRpcApi, address, createSolanaClient, lamports } from '@vue-solana/vue/kit';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Address, Lamports, Rpc, SolanaClient, SolanaRpcApi, address, createSolanaClient, lamports } from '@vue-solana/vue/kit';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Address, Lamports, Rpc, SolanaClient, SolanaRpcApi, address, createSolanaClient, lamports } from '@vue-solana/vue/kit';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { address, createSolanaClient, lamports } from '@vue-solana/vue/kit';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue-solana/nuxt",
|
|
3
|
-
"version": "
|
|
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,10 +34,10 @@
|
|
|
35
34
|
"import": "./dist/runtime/buffer-polyfill.mjs",
|
|
36
35
|
"require": "./dist/runtime/buffer-polyfill.cjs"
|
|
37
36
|
},
|
|
38
|
-
"./
|
|
39
|
-
"types": "./dist/runtime/
|
|
40
|
-
"import": "./dist/runtime/
|
|
41
|
-
"require": "./dist/runtime/
|
|
37
|
+
"./kit": {
|
|
38
|
+
"types": "./dist/runtime/kit.d.ts",
|
|
39
|
+
"import": "./dist/runtime/kit.mjs",
|
|
40
|
+
"require": "./dist/runtime/kit.cjs"
|
|
42
41
|
}
|
|
43
42
|
},
|
|
44
43
|
"files": [
|
|
@@ -48,8 +47,7 @@
|
|
|
48
47
|
"access": "public"
|
|
49
48
|
},
|
|
50
49
|
"dependencies": {
|
|
51
|
-
"@solana/
|
|
52
|
-
"@vue-solana/vue": "1.1.0"
|
|
50
|
+
"@vue-solana/vue": "2.0.0"
|
|
53
51
|
},
|
|
54
52
|
"peerDependencies": {
|
|
55
53
|
"nuxt": "^3.0.0 || ^4.0.0"
|
package/dist/runtime/web3.cjs
DELETED
|
@@ -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;
|
package/dist/runtime/web3.d.cts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AccountInfo, Commitment, Connection, Keypair, PublicKey, RpcResponseAndContext, SendOptions, SignatureResult, SignatureStatus, SystemProgram, Transaction, TransactionInstruction, TransactionSignature, VersionedTransaction } from '@vue-solana/vue/web3';
|
package/dist/runtime/web3.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AccountInfo, Commitment, Connection, Keypair, PublicKey, RpcResponseAndContext, SendOptions, SignatureResult, SignatureStatus, SystemProgram, Transaction, TransactionInstruction, TransactionSignature, VersionedTransaction } from '@vue-solana/vue/web3';
|
package/dist/runtime/web3.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AccountInfo, Commitment, Connection, Keypair, PublicKey, RpcResponseAndContext, SendOptions, SignatureResult, SignatureStatus, SystemProgram, Transaction, TransactionInstruction, TransactionSignature, VersionedTransaction } from '@vue-solana/vue/web3';
|
package/dist/runtime/web3.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Connection, Keypair, PublicKey, SystemProgram, Transaction, TransactionInstruction, VersionedTransaction } from '@vue-solana/vue/web3';
|