@vue-solana/vue 2.4.0 → 2.6.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/index.cjs CHANGED
@@ -30,13 +30,14 @@ const useTransactionConfirmation = require('./shared/vue.Sbbm9JSu.cjs');
30
30
  const useWallet = require('./shared/vue.BGxz4dru.cjs');
31
31
  const useWallets = require('./shared/vue.DKyQ7J67.cjs');
32
32
  const injection = require('./shared/vue.DEHxNvUX.cjs');
33
- const kit = require('@vue-solana/core/kit');
34
33
  const errors = require('@vue-solana/core/errors');
35
34
  const rpc = require('@vue-solana/core/rpc');
36
35
  const timeout = require('@vue-solana/core/timeout');
37
36
  const walletStandard = require('@vue-solana/core/wallet-standard');
38
37
  const vue = require('vue');
39
38
  const iosWallet = require('@vue-solana/core/ios-wallet');
39
+ const types = require('@vue-solana/core/types');
40
+ const kit = require('@vue-solana/core/kit');
40
41
  require('@vue-solana/core/address');
41
42
  require('./shared/vue.DNxOpDXz.cjs');
42
43
  require('@vue-solana/core/action');
@@ -427,8 +428,25 @@ exports.useTransactionConfirmation = useTransactionConfirmation.useTransactionCo
427
428
  exports.useWallet = useWallet.useWallet;
428
429
  exports.useWallets = useWallets.useWallets;
429
430
  exports.solanaInjectionKey = injection.solanaInjectionKey;
430
- exports.address = kit.address;
431
- exports.createSolanaClient = kit.createSolanaClient;
432
- exports.lamports = kit.lamports;
433
431
  exports.VueSolana = VueSolana;
434
432
  exports.createSolanaPlugin = createSolanaPlugin;
433
+ Object.prototype.hasOwnProperty.call(types, '__proto__') &&
434
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
435
+ Object.defineProperty(exports, '__proto__', {
436
+ enumerable: true,
437
+ value: types['__proto__']
438
+ });
439
+
440
+ Object.keys(types).forEach(function (k) {
441
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = types[k];
442
+ });
443
+ Object.prototype.hasOwnProperty.call(kit, '__proto__') &&
444
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
445
+ Object.defineProperty(exports, '__proto__', {
446
+ enumerable: true,
447
+ value: kit['__proto__']
448
+ });
449
+
450
+ Object.keys(kit).forEach(function (k) {
451
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = kit[k];
452
+ });
package/dist/index.d.cts CHANGED
@@ -29,11 +29,12 @@ export { useWallet } from './useWallet.cjs';
29
29
  export { useWallets } from './useWallets.cjs';
30
30
  import { V as VueSolanaContext } from './shared/vue.DL3z5PxP.cjs';
31
31
  export { S as SolanaConnectionStatus, s as solanaInjectionKey } from './shared/vue.DL3z5PxP.cjs';
32
- export { Address, Commitment, Lamports, Rpc, Signature, SolanaClient, SolanaRpcApi, address, createSolanaClient, lamports } from '@vue-solana/core/kit';
33
32
  import { GetSolanaIosWalletsOptions } from '@vue-solana/core/ios-wallet';
34
33
  import { RegisterSolanaMobileWalletOptions } from '@vue-solana/core/mobile-wallet';
35
34
  import { SolanaConfig, SolanaWallet } from '@vue-solana/core/types';
35
+ export * from '@vue-solana/core/types';
36
36
  import { App } from 'vue';
37
+ export * from '@vue-solana/core/kit';
37
38
  import '@vue-solana/core/errors';
38
39
  import '@solana/kit-plugin-rpc';
39
40
  import '@solana/kit';
package/dist/index.d.mts CHANGED
@@ -29,11 +29,12 @@ export { useWallet } from './useWallet.mjs';
29
29
  export { useWallets } from './useWallets.mjs';
30
30
  import { V as VueSolanaContext } from './shared/vue.DL3z5PxP.mjs';
31
31
  export { S as SolanaConnectionStatus, s as solanaInjectionKey } from './shared/vue.DL3z5PxP.mjs';
32
- export { Address, Commitment, Lamports, Rpc, Signature, SolanaClient, SolanaRpcApi, address, createSolanaClient, lamports } from '@vue-solana/core/kit';
33
32
  import { GetSolanaIosWalletsOptions } from '@vue-solana/core/ios-wallet';
34
33
  import { RegisterSolanaMobileWalletOptions } from '@vue-solana/core/mobile-wallet';
35
34
  import { SolanaConfig, SolanaWallet } from '@vue-solana/core/types';
35
+ export * from '@vue-solana/core/types';
36
36
  import { App } from 'vue';
37
+ export * from '@vue-solana/core/kit';
37
38
  import '@vue-solana/core/errors';
38
39
  import '@solana/kit-plugin-rpc';
39
40
  import '@solana/kit';
package/dist/index.d.ts CHANGED
@@ -29,11 +29,12 @@ export { useWallet } from './useWallet.js';
29
29
  export { useWallets } from './useWallets.js';
30
30
  import { V as VueSolanaContext } from './shared/vue.DL3z5PxP.js';
31
31
  export { S as SolanaConnectionStatus, s as solanaInjectionKey } from './shared/vue.DL3z5PxP.js';
32
- export { Address, Commitment, Lamports, Rpc, Signature, SolanaClient, SolanaRpcApi, address, createSolanaClient, lamports } from '@vue-solana/core/kit';
33
32
  import { GetSolanaIosWalletsOptions } from '@vue-solana/core/ios-wallet';
34
33
  import { RegisterSolanaMobileWalletOptions } from '@vue-solana/core/mobile-wallet';
35
34
  import { SolanaConfig, SolanaWallet } from '@vue-solana/core/types';
35
+ export * from '@vue-solana/core/types';
36
36
  import { App } from 'vue';
37
+ export * from '@vue-solana/core/kit';
37
38
  import '@vue-solana/core/errors';
38
39
  import '@solana/kit-plugin-rpc';
39
40
  import '@solana/kit';
package/dist/index.mjs CHANGED
@@ -9,7 +9,7 @@ export { u as useProgramAccounts } from './shared/vue.C13umiQi.mjs';
9
9
  export { u as useIdentity, a as usePayer } from './shared/vue.B-xtuLtD.mjs';
10
10
  export { u as useRequest } from './shared/vue.B8VvC8d2.mjs';
11
11
  export { u as useRpc } from './shared/vue.BsGwt78R.mjs';
12
- export { S as SelectedWalletAccountProvider, c as createSelectedWalletAccountContext, p as provideSelectedWalletAccount, s as selectedWalletAccountInjectionKey, u as useSelectedWalletAccount } from './shared/vue.DXQVIRZA.mjs';
12
+ export { S as SelectedWalletAccountProvider, c as createSelectedWalletAccountContext, p as provideSelectedWalletAccount, s as selectedWalletAccountInjectionKey, u as useSelectedWalletAccount } from './shared/vue.BngCaeXJ.mjs';
13
13
  export { u as useSendTransaction, a as useSendTransactions } from './shared/vue.DAthhH4D.mjs';
14
14
  export { u as useSignMessage } from './shared/vue.JUWqu6kD.mjs';
15
15
  export { u as useSignAndSendTransaction } from './shared/vue.Dyi1OCI1.mjs';
@@ -28,13 +28,14 @@ export { g as getConfirmedTransactionStatus, u as useTransactionConfirmation } f
28
28
  export { u as useWallet } from './shared/vue.D218Ow7t.mjs';
29
29
  export { u as useWallets } from './shared/vue.C_4qJDiF.mjs';
30
30
  import { s as solanaInjectionKey } from './shared/vue.D_P5SqqD.mjs';
31
- export { address, createSolanaClient, lamports } from '@vue-solana/core/kit';
32
31
  import { createSolanaError, normalizeSolanaError } from '@vue-solana/core/errors';
33
32
  import { createSolanaContext } from '@vue-solana/core/rpc';
34
33
  import { withTimeout } from '@vue-solana/core/timeout';
35
34
  import { getRegisteredSolanaWallets, getSolanaChain, adaptSolanaStandardWallet, subscribeSolanaWallets } from '@vue-solana/core/wallet-standard';
36
35
  import { shallowRef, ref, triggerRef } from 'vue';
37
36
  import { handleSolanaIosWalletCallback, getSolanaIosWallets, isSolanaIosWalletInfo, adaptSolanaIosWallet } from '@vue-solana/core/ios-wallet';
37
+ export * from '@vue-solana/core/types';
38
+ export * from '@vue-solana/core/kit';
38
39
  import '@vue-solana/core/address';
39
40
  import './shared/vue.Bfu1dCKe.mjs';
40
41
  import '@vue-solana/core/action';
package/dist/kit.cjs CHANGED
@@ -4,6 +4,13 @@ const kit = require('@vue-solana/core/kit');
4
4
 
5
5
 
6
6
 
7
- exports.address = kit.address;
8
- exports.createSolanaClient = kit.createSolanaClient;
9
- exports.lamports = kit.lamports;
7
+ Object.prototype.hasOwnProperty.call(kit, '__proto__') &&
8
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
9
+ Object.defineProperty(exports, '__proto__', {
10
+ enumerable: true,
11
+ value: kit['__proto__']
12
+ });
13
+
14
+ Object.keys(kit).forEach(function (k) {
15
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = kit[k];
16
+ });
package/dist/kit.d.cts CHANGED
@@ -1 +1 @@
1
- export { Address, Commitment, Lamports, Rpc, Signature, SolanaClient, SolanaRpcApi, address, createSolanaClient, lamports } from '@vue-solana/core/kit';
1
+ export * from '@vue-solana/core/kit';
package/dist/kit.d.mts CHANGED
@@ -1 +1 @@
1
- export { Address, Commitment, Lamports, Rpc, Signature, SolanaClient, SolanaRpcApi, address, createSolanaClient, lamports } from '@vue-solana/core/kit';
1
+ export * from '@vue-solana/core/kit';
package/dist/kit.d.ts CHANGED
@@ -1 +1 @@
1
- export { Address, Commitment, Lamports, Rpc, Signature, SolanaClient, SolanaRpcApi, address, createSolanaClient, lamports } from '@vue-solana/core/kit';
1
+ export * from '@vue-solana/core/kit';
package/dist/kit.mjs CHANGED
@@ -1 +1 @@
1
- export { address, createSolanaClient, lamports } from '@vue-solana/core/kit';
1
+ export * from '@vue-solana/core/kit';
@@ -1,4 +1,4 @@
1
- import { provide, inject, ref, watch, getCurrentScope, onScopeDispose, computed, defineComponent } from 'vue';
1
+ import { inject, ref, watch, getCurrentScope, onScopeDispose, computed, provide, defineComponent } from 'vue';
2
2
  import { s as solanaInjectionKey } from './vue.D_P5SqqD.mjs';
3
3
 
4
4
  const SELECTED_WALLET_ACCOUNT_STORAGE_KEY = "vue-solana:selected-wallet-account";
@@ -1,3 +1,3 @@
1
- export { S as SelectedWalletAccountProvider, c as createSelectedWalletAccountContext, p as provideSelectedWalletAccount, s as selectedWalletAccountInjectionKey, u as useSelectedWalletAccount } from './shared/vue.DXQVIRZA.mjs';
1
+ export { S as SelectedWalletAccountProvider, c as createSelectedWalletAccountContext, p as provideSelectedWalletAccount, s as selectedWalletAccountInjectionKey, u as useSelectedWalletAccount } from './shared/vue.BngCaeXJ.mjs';
2
2
  import 'vue';
3
3
  import './shared/vue.D_P5SqqD.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue-solana/vue",
3
- "version": "2.4.0",
3
+ "version": "2.6.0",
4
4
  "description": "Vue plugin and composables for Solana applications.",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -21,6 +21,7 @@
21
21
  "directory": "packages/vue"
22
22
  },
23
23
  "type": "module",
24
+ "sideEffects": false,
24
25
  "main": "./dist/index.cjs",
25
26
  "module": "./dist/index.mjs",
26
27
  "types": "./dist/index.d.ts",
@@ -214,7 +215,7 @@
214
215
  },
215
216
  "dependencies": {
216
217
  "bs58": "^6.0.0",
217
- "@vue-solana/core": "2.4.0"
218
+ "@vue-solana/core": "2.6.0"
218
219
  },
219
220
  "peerDependencies": {
220
221
  "vue": "^3.5.0"