@vue-solana/vue 2.5.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,7 +30,6 @@ 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');
@@ -38,6 +37,7 @@ const walletStandard = require('@vue-solana/core/wallet-standard');
38
37
  const vue = require('vue');
39
38
  const iosWallet = require('@vue-solana/core/ios-wallet');
40
39
  const types = require('@vue-solana/core/types');
40
+ const kit = require('@vue-solana/core/kit');
41
41
  require('@vue-solana/core/address');
42
42
  require('./shared/vue.DNxOpDXz.cjs');
43
43
  require('@vue-solana/core/action');
@@ -430,23 +430,23 @@ exports.useWallets = useWallets.useWallets;
430
430
  exports.solanaInjectionKey = injection.solanaInjectionKey;
431
431
  exports.VueSolana = VueSolana;
432
432
  exports.createSolanaPlugin = createSolanaPlugin;
433
- Object.prototype.hasOwnProperty.call(kit, '__proto__') &&
433
+ Object.prototype.hasOwnProperty.call(types, '__proto__') &&
434
434
  !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
435
435
  Object.defineProperty(exports, '__proto__', {
436
436
  enumerable: true,
437
- value: kit['__proto__']
437
+ value: types['__proto__']
438
438
  });
439
439
 
440
- Object.keys(kit).forEach(function (k) {
441
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = kit[k];
440
+ Object.keys(types).forEach(function (k) {
441
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = types[k];
442
442
  });
443
- Object.prototype.hasOwnProperty.call(types, '__proto__') &&
443
+ Object.prototype.hasOwnProperty.call(kit, '__proto__') &&
444
444
  !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
445
445
  Object.defineProperty(exports, '__proto__', {
446
446
  enumerable: true,
447
- value: types['__proto__']
447
+ value: kit['__proto__']
448
448
  });
449
449
 
450
- Object.keys(types).forEach(function (k) {
451
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = types[k];
450
+ Object.keys(kit).forEach(function (k) {
451
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = kit[k];
452
452
  });
package/dist/index.d.cts CHANGED
@@ -29,12 +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 * 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';
36
35
  export * from '@vue-solana/core/types';
37
36
  import { App } from 'vue';
37
+ export * from '@vue-solana/core/kit';
38
38
  import '@vue-solana/core/errors';
39
39
  import '@solana/kit-plugin-rpc';
40
40
  import '@solana/kit';
package/dist/index.d.mts CHANGED
@@ -29,12 +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 * 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';
36
35
  export * from '@vue-solana/core/types';
37
36
  import { App } from 'vue';
37
+ export * from '@vue-solana/core/kit';
38
38
  import '@vue-solana/core/errors';
39
39
  import '@solana/kit-plugin-rpc';
40
40
  import '@solana/kit';
package/dist/index.d.ts CHANGED
@@ -29,12 +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 * 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';
36
35
  export * from '@vue-solana/core/types';
37
36
  import { App } from 'vue';
37
+ export * from '@vue-solana/core/kit';
38
38
  import '@vue-solana/core/errors';
39
39
  import '@solana/kit-plugin-rpc';
40
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,7 +28,6 @@ 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 * 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';
@@ -36,6 +35,7 @@ import { getRegisteredSolanaWallets, getSolanaChain, adaptSolanaStandardWallet,
36
35
  import { shallowRef, ref, triggerRef } from 'vue';
37
36
  import { handleSolanaIosWalletCallback, getSolanaIosWallets, isSolanaIosWalletInfo, adaptSolanaIosWallet } from '@vue-solana/core/ios-wallet';
38
37
  export * from '@vue-solana/core/types';
38
+ export * from '@vue-solana/core/kit';
39
39
  import '@vue-solana/core/address';
40
40
  import './shared/vue.Bfu1dCKe.mjs';
41
41
  import '@vue-solana/core/action';
@@ -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.5.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.5.0"
218
+ "@vue-solana/core": "2.6.0"
218
219
  },
219
220
  "peerDependencies": {
220
221
  "vue": "^3.5.0"