@vue-solana/core 1.1.0 → 1.2.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.
Files changed (50) hide show
  1. package/dist/address.d.cts +6 -0
  2. package/dist/address.d.mts +6 -0
  3. package/dist/address.d.ts +6 -0
  4. package/dist/clusters.d.cts +2 -1
  5. package/dist/clusters.d.mts +2 -1
  6. package/dist/clusters.d.ts +2 -1
  7. package/dist/index.cjs +7 -1
  8. package/dist/index.d.cts +2 -1
  9. package/dist/index.d.mts +2 -1
  10. package/dist/index.d.ts +2 -1
  11. package/dist/index.mjs +4 -1
  12. package/dist/ios-wallet.d.cts +2 -1
  13. package/dist/ios-wallet.d.mts +2 -1
  14. package/dist/ios-wallet.d.ts +2 -1
  15. package/dist/kit.cjs +21 -0
  16. package/dist/kit.d.cts +5 -0
  17. package/dist/kit.d.mts +5 -0
  18. package/dist/kit.d.ts +5 -0
  19. package/dist/kit.mjs +18 -0
  20. package/dist/mobile-wallet.d.cts +2 -1
  21. package/dist/mobile-wallet.d.mts +2 -1
  22. package/dist/mobile-wallet.d.ts +2 -1
  23. package/dist/rpc.cjs +5 -1
  24. package/dist/rpc.d.cts +7 -1
  25. package/dist/rpc.d.mts +7 -1
  26. package/dist/rpc.d.ts +7 -1
  27. package/dist/rpc.mjs +5 -1
  28. package/dist/shared/{core.BU9rgxEj.cjs → core.BQoh-5Wu.cjs} +3 -0
  29. package/dist/shared/core.DAUuCWrr.d.cts +98 -0
  30. package/dist/shared/core.DAUuCWrr.d.mts +98 -0
  31. package/dist/shared/core.DAUuCWrr.d.ts +98 -0
  32. package/dist/shared/{core.BBMCTQpw.mjs → core.DjbtrJWl.mjs} +3 -0
  33. package/dist/token-accounts.d.cts +18 -0
  34. package/dist/token-accounts.d.mts +18 -0
  35. package/dist/token-accounts.d.ts +18 -0
  36. package/dist/transaction.d.cts +15 -1
  37. package/dist/transaction.d.mts +15 -1
  38. package/dist/transaction.d.ts +15 -1
  39. package/dist/types.d.cts +3 -78
  40. package/dist/types.d.mts +3 -78
  41. package/dist/types.d.ts +3 -78
  42. package/dist/wallet-standard.cjs +1 -1
  43. package/dist/wallet-standard.d.cts +2 -1
  44. package/dist/wallet-standard.d.mts +2 -1
  45. package/dist/wallet-standard.d.ts +2 -1
  46. package/dist/wallet-standard.mjs +1 -1
  47. package/dist/wallet.d.cts +2 -1
  48. package/dist/wallet.d.mts +2 -1
  49. package/dist/wallet.d.ts +2 -1
  50. package/package.json +9 -2
@@ -1,8 +1,9 @@
1
1
  /// <reference path="../types/web3-compat.d.ts" />
2
2
  /// <reference path="../types/buffer.d.ts" />
3
3
  import { WalletAccount, Wallet } from '@wallet-standard/base';
4
- import { SolanaChain, SolanaWalletInfo, SolanaWallet, SolanaCluster } from './types.mjs';
4
+ import { a as SolanaChain, i as SolanaWalletInfo, h as SolanaWallet, c as SolanaCluster } from './shared/core.DAUuCWrr.mjs';
5
5
  import '@solana/web3-compat';
6
+ import '@solana/kit';
6
7
 
7
8
  interface AdaptSolanaWalletOptions {
8
9
  chain?: SolanaChain;
@@ -1,8 +1,9 @@
1
1
  /// <reference path="../types/web3-compat.d.ts" />
2
2
  /// <reference path="../types/buffer.d.ts" />
3
3
  import { WalletAccount, Wallet } from '@wallet-standard/base';
4
- import { SolanaChain, SolanaWalletInfo, SolanaWallet, SolanaCluster } from './types.js';
4
+ import { a as SolanaChain, i as SolanaWalletInfo, h as SolanaWallet, c as SolanaCluster } from './shared/core.DAUuCWrr.js';
5
5
  import '@solana/web3-compat';
6
+ import '@solana/kit';
6
7
 
7
8
  interface AdaptSolanaWalletOptions {
8
9
  chain?: SolanaChain;
@@ -1,4 +1,4 @@
1
- export { S as SOLANA_CHAINS, a as SOLANA_MOBILE_WALLET_ADAPTER_WALLET_NAME, b as adaptSolanaStandardWallet, g as getRegisteredSolanaWallets, c as getSolanaChain, i as isSolanaStandardWallet, s as subscribeSolanaWallets } from './shared/core.BBMCTQpw.mjs';
1
+ export { S as SOLANA_CHAINS, a as SOLANA_MOBILE_WALLET_ADAPTER_WALLET_NAME, b as adaptSolanaStandardWallet, g as getRegisteredSolanaWallets, c as getSolanaChain, i as isSolanaStandardWallet, s as subscribeSolanaWallets } from './shared/core.DjbtrJWl.mjs';
2
2
  import '@wallet-standard/features';
3
3
  import '@solana/wallet-standard-features';
4
4
  import '@solana/web3-compat';
package/dist/wallet.d.cts CHANGED
@@ -1,8 +1,9 @@
1
1
  /// <reference path="../types/web3-compat.d.ts" />
2
2
  /// <reference path="../types/buffer.d.ts" />
3
- import { SolanaWallet } from './types.cjs';
3
+ import { h as SolanaWallet } from './shared/core.DAUuCWrr.cjs';
4
4
  import { SolanaError } from './errors.cjs';
5
5
  import '@solana/web3-compat';
6
+ import '@solana/kit';
6
7
 
7
8
  type SolanaWalletErrorCode = "NO_WALLET_SELECTED" | "WALLET_NOT_CONNECTED" | "WALLET_FEATURE_UNSUPPORTED";
8
9
  declare class SolanaWalletError extends SolanaError {
package/dist/wallet.d.mts CHANGED
@@ -1,8 +1,9 @@
1
1
  /// <reference path="../types/web3-compat.d.ts" />
2
2
  /// <reference path="../types/buffer.d.ts" />
3
- import { SolanaWallet } from './types.mjs';
3
+ import { h as SolanaWallet } from './shared/core.DAUuCWrr.mjs';
4
4
  import { SolanaError } from './errors.mjs';
5
5
  import '@solana/web3-compat';
6
+ import '@solana/kit';
6
7
 
7
8
  type SolanaWalletErrorCode = "NO_WALLET_SELECTED" | "WALLET_NOT_CONNECTED" | "WALLET_FEATURE_UNSUPPORTED";
8
9
  declare class SolanaWalletError extends SolanaError {
package/dist/wallet.d.ts CHANGED
@@ -1,8 +1,9 @@
1
1
  /// <reference path="../types/web3-compat.d.ts" />
2
2
  /// <reference path="../types/buffer.d.ts" />
3
- import { SolanaWallet } from './types.js';
3
+ import { h as SolanaWallet } from './shared/core.DAUuCWrr.js';
4
4
  import { SolanaError } from './errors.js';
5
5
  import '@solana/web3-compat';
6
+ import '@solana/kit';
6
7
 
7
8
  type SolanaWalletErrorCode = "NO_WALLET_SELECTED" | "WALLET_NOT_CONNECTED" | "WALLET_FEATURE_UNSUPPORTED";
8
9
  declare class SolanaWalletError extends SolanaError {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue-solana/core",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Framework-agnostic primitives for Vue Solana libraries.",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -60,6 +60,11 @@
60
60
  "import": "./dist/ios-wallet.mjs",
61
61
  "require": "./dist/ios-wallet.cjs"
62
62
  },
63
+ "./kit": {
64
+ "types": "./dist/kit.d.ts",
65
+ "import": "./dist/kit.mjs",
66
+ "require": "./dist/kit.cjs"
67
+ },
63
68
  "./mobile-wallet": {
64
69
  "types": "./dist/mobile-wallet.d.ts",
65
70
  "import": "./dist/mobile-wallet.mjs",
@@ -115,14 +120,16 @@
115
120
  },
116
121
  "dependencies": {
117
122
  "@solana-mobile/wallet-standard-mobile": "^0.5.3",
123
+ "@solana/kit": "^8.3.0",
124
+ "@solana/kit-plugin-rpc": "^0.19.0",
118
125
  "@solana/spl-token": "^0.4.15",
119
126
  "@solana/wallet-standard-features": "^1.3.0",
120
127
  "@solana/web3-compat": "^0.0.21",
121
128
  "@wallet-standard/app": "^1.1.1",
122
129
  "@wallet-standard/base": "^1.1.1",
123
130
  "@wallet-standard/features": "^1.1.1",
124
- "buffer": "^6.0.3",
125
131
  "bs58": "^6.0.0",
132
+ "buffer": "^6.0.3",
126
133
  "tweetnacl": "^1.0.3"
127
134
  },
128
135
  "devDependencies": {