@zubari/sdk 0.3.0 → 0.3.2

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.
@@ -1,5 +1,5 @@
1
1
  import { Z as ZubariWalletConfig, a as NetworkType, A as Account, b as NetworkBalance, S as SendParams, c as TxResult } from './index-DF0Gf8NK.js';
2
- import './WalletManager-DsAg7MwL.js';
2
+ import './WalletManager-CEjN-YBF.js';
3
3
 
4
4
  interface ContractAddresses {
5
5
  registry: string;
@@ -1,5 +1,5 @@
1
1
  import { Z as ZubariWalletConfig, a as NetworkType, A as Account, b as NetworkBalance, S as SendParams, c as TxResult } from './index-DF0Gf8NK.mjs';
2
- import './WalletManager-D0xMpgfo.mjs';
2
+ import './WalletManager-bo35aHOJ.mjs';
3
3
 
4
4
  interface ContractAddresses {
5
5
  registry: string;
package/dist/index.d.mts CHANGED
@@ -1,12 +1,11 @@
1
- export { C as CURRENCY_ADDRESSES, N as NFT_VOUCHER_DOMAIN, c as NFT_VOUCHER_TYPES, P as PLATFORM_CONFIG, b as ZERO_ADDRESS, a as ZUBARI_CONTRACTS, Z as ZubariWallet, g as getContractAddresses } from './index-N2u4haqL.mjs';
2
- export { D as DERIVATION_PATHS, N as NETWORKS, T as TESTNET_NETWORKS, W as WalletManager, b as WalletManagerConfig, a as WalletState, g as getNetworkConfig } from './WalletManager-D0xMpgfo.mjs';
1
+ export { C as CURRENCY_ADDRESSES, N as NFT_VOUCHER_DOMAIN, c as NFT_VOUCHER_TYPES, P as PLATFORM_CONFIG, b as ZERO_ADDRESS, a as ZUBARI_CONTRACTS, Z as ZubariWallet, g as getContractAddresses } from './index-DJnsirV5.mjs';
2
+ export { D as DERIVATION_PATHS, N as NETWORKS, T as TESTNET_NETWORKS, W as WalletManager, b as WalletManagerConfig, a as WalletState, g as getNetworkConfig } from './WalletManager-bo35aHOJ.mjs';
3
3
  export { M as MemoryStorageAdapter, S as SecureStorageAdapter, W as WebEncryptedStorageAdapter, c as createSecureStorage } from './SecureStorage-jO783AhC.mjs';
4
4
  export { ZubariMarketProtocol, ZubariNFTProtocol, ZubariPayoutsProtocol, ZubariSubscriptionProtocol, ZubariTipsProtocol } from './protocols/index.mjs';
5
5
  export { B as BrowserAddressDerivation, l as ChainAddress, m as ChainBalance, v as FeeEstimate, F as FeeRates, M as MultiChainAddresses, k as SupportedChain, S as SwapService, u as TransactionHistoryItem, s as TransactionParams, t as TransactionResult, p as TransactionService, w as TransactionServiceConfig, W as WdkApiClient, Z as ZubariWdkService, o as ZubariWdkServiceConfig, r as createTransactionService, i as createZubariWdkService, q as getTransactionService, g as getWdkApiClient, h as getZubariWdkService, j as isBrowser } from './TransactionService-DuMJmrG3.mjs';
6
6
  export { A as Account, B as BuyParams, C as CreateVoucherParams, E as EarningsBreakdown, L as LazyMintVoucher, h as Listing, g as ListingParams, f as NFT, d as NFTAttribute, N as NFTCurrency, e as NFTMetadata, b as NetworkBalance, a as NetworkType, R as RevenueSplit, S as SendParams, n as Subscription, m as SubscriptionPlan, p as SwapParams, o as SwapQuote, l as Tip, i as TipData, j as TipResult, k as TipStats, T as TokenBalance, c as TxResult, W as WatermarkingData, r as ZubariError, q as ZubariErrorCode, Z as ZubariWalletConfig } from './index-DF0Gf8NK.mjs';
7
7
  export { FeeEstimateResult, SendTransactionResult, UseWalletManagerOptions, UseWalletManagerReturn, useWalletManager } from './react/index.mjs';
8
- import 'node_modules/viem/_types/actions/siwe/verifySiweMessage';
9
- import 'node_modules/viem/_types/utils/ccip';
8
+ import 'abitype';
10
9
  import 'viem';
11
10
  import 'ethers';
12
11
 
package/dist/index.d.ts CHANGED
@@ -1,12 +1,11 @@
1
- export { C as CURRENCY_ADDRESSES, N as NFT_VOUCHER_DOMAIN, c as NFT_VOUCHER_TYPES, P as PLATFORM_CONFIG, b as ZERO_ADDRESS, a as ZUBARI_CONTRACTS, Z as ZubariWallet, g as getContractAddresses } from './index-kS-xopkl.js';
2
- export { D as DERIVATION_PATHS, N as NETWORKS, T as TESTNET_NETWORKS, W as WalletManager, b as WalletManagerConfig, a as WalletState, g as getNetworkConfig } from './WalletManager-DsAg7MwL.js';
1
+ export { C as CURRENCY_ADDRESSES, N as NFT_VOUCHER_DOMAIN, c as NFT_VOUCHER_TYPES, P as PLATFORM_CONFIG, b as ZERO_ADDRESS, a as ZUBARI_CONTRACTS, Z as ZubariWallet, g as getContractAddresses } from './index-BpjMiC3n.js';
2
+ export { D as DERIVATION_PATHS, N as NETWORKS, T as TESTNET_NETWORKS, W as WalletManager, b as WalletManagerConfig, a as WalletState, g as getNetworkConfig } from './WalletManager-CEjN-YBF.js';
3
3
  export { M as MemoryStorageAdapter, S as SecureStorageAdapter, W as WebEncryptedStorageAdapter, c as createSecureStorage } from './SecureStorage-jO783AhC.js';
4
4
  export { ZubariMarketProtocol, ZubariNFTProtocol, ZubariPayoutsProtocol, ZubariSubscriptionProtocol, ZubariTipsProtocol } from './protocols/index.js';
5
5
  export { B as BrowserAddressDerivation, l as ChainAddress, m as ChainBalance, v as FeeEstimate, F as FeeRates, M as MultiChainAddresses, k as SupportedChain, S as SwapService, u as TransactionHistoryItem, s as TransactionParams, t as TransactionResult, p as TransactionService, w as TransactionServiceConfig, W as WdkApiClient, Z as ZubariWdkService, o as ZubariWdkServiceConfig, r as createTransactionService, i as createZubariWdkService, q as getTransactionService, g as getWdkApiClient, h as getZubariWdkService, j as isBrowser } from './TransactionService-DURp3bRL.js';
6
6
  export { A as Account, B as BuyParams, C as CreateVoucherParams, E as EarningsBreakdown, L as LazyMintVoucher, h as Listing, g as ListingParams, f as NFT, d as NFTAttribute, N as NFTCurrency, e as NFTMetadata, b as NetworkBalance, a as NetworkType, R as RevenueSplit, S as SendParams, n as Subscription, m as SubscriptionPlan, p as SwapParams, o as SwapQuote, l as Tip, i as TipData, j as TipResult, k as TipStats, T as TokenBalance, c as TxResult, W as WatermarkingData, r as ZubariError, q as ZubariErrorCode, Z as ZubariWalletConfig } from './index-DF0Gf8NK.js';
7
7
  export { FeeEstimateResult, SendTransactionResult, UseWalletManagerOptions, UseWalletManagerReturn, useWalletManager } from './react/index.js';
8
- import 'node_modules/viem/_types/actions/siwe/verifySiweMessage';
9
- import 'node_modules/viem/_types/utils/ccip';
8
+ import 'abitype';
10
9
  import 'viem';
11
10
  import 'ethers';
12
11
 
@@ -1,8 +1,7 @@
1
1
  import { a as NetworkType } from '../index-DF0Gf8NK.mjs';
2
- import { b as WalletManagerConfig, a as WalletState, C as ChainBalance, M as MultiChainAddresses, W as WalletManager } from '../WalletManager-D0xMpgfo.mjs';
3
- export { S as SUPPORTED_CHAINS } from '../WalletManager-D0xMpgfo.mjs';
4
- import 'node_modules/viem/_types/actions/siwe/verifySiweMessage';
5
- import 'node_modules/viem/_types/utils/ccip';
2
+ import { b as WalletManagerConfig, a as WalletState, C as ChainBalance, M as MultiChainAddresses, W as WalletManager } from '../WalletManager-bo35aHOJ.mjs';
3
+ export { S as SUPPORTED_CHAINS } from '../WalletManager-bo35aHOJ.mjs';
4
+ import 'abitype';
6
5
  import 'viem';
7
6
  import 'ethers';
8
7
  import '../SecureStorage-jO783AhC.mjs';
@@ -1,8 +1,7 @@
1
1
  import { a as NetworkType } from '../index-DF0Gf8NK.js';
2
- import { b as WalletManagerConfig, a as WalletState, C as ChainBalance, M as MultiChainAddresses, W as WalletManager } from '../WalletManager-DsAg7MwL.js';
3
- export { S as SUPPORTED_CHAINS } from '../WalletManager-DsAg7MwL.js';
4
- import 'node_modules/viem/_types/actions/siwe/verifySiweMessage';
5
- import 'node_modules/viem/_types/utils/ccip';
2
+ import { b as WalletManagerConfig, a as WalletState, C as ChainBalance, M as MultiChainAddresses, W as WalletManager } from '../WalletManager-CEjN-YBF.js';
3
+ export { S as SUPPORTED_CHAINS } from '../WalletManager-CEjN-YBF.js';
4
+ import 'abitype';
6
5
  import 'viem';
7
6
  import 'ethers';
8
7
  import '../SecureStorage-jO783AhC.js';
@@ -1,8 +1,7 @@
1
- export { Z as ZubariWallet } from '../index-N2u4haqL.mjs';
2
- export { C as ChainBalance, M as MultiChainAddresses, S as SUPPORTED_CHAINS, W as WalletManager, b as WalletManagerConfig, a as WalletState } from '../WalletManager-D0xMpgfo.mjs';
1
+ export { Z as ZubariWallet } from '../index-DJnsirV5.mjs';
2
+ export { C as ChainBalance, M as MultiChainAddresses, S as SUPPORTED_CHAINS, W as WalletManager, b as WalletManagerConfig, a as WalletState } from '../WalletManager-bo35aHOJ.mjs';
3
3
  import '../index-DF0Gf8NK.mjs';
4
- import 'node_modules/viem/_types/actions/siwe/verifySiweMessage';
5
- import 'node_modules/viem/_types/utils/ccip';
4
+ import 'abitype';
6
5
  import 'viem';
7
6
  import 'ethers';
8
7
  import '../SecureStorage-jO783AhC.mjs';
@@ -1,8 +1,7 @@
1
- export { Z as ZubariWallet } from '../index-kS-xopkl.js';
2
- export { C as ChainBalance, M as MultiChainAddresses, S as SUPPORTED_CHAINS, W as WalletManager, b as WalletManagerConfig, a as WalletState } from '../WalletManager-DsAg7MwL.js';
1
+ export { Z as ZubariWallet } from '../index-BpjMiC3n.js';
2
+ export { C as ChainBalance, M as MultiChainAddresses, S as SUPPORTED_CHAINS, W as WalletManager, b as WalletManagerConfig, a as WalletState } from '../WalletManager-CEjN-YBF.js';
3
3
  import '../index-DF0Gf8NK.js';
4
- import 'node_modules/viem/_types/actions/siwe/verifySiweMessage';
5
- import 'node_modules/viem/_types/utils/ccip';
4
+ import 'abitype';
6
5
  import 'viem';
7
6
  import 'ethers';
8
7
  import '../SecureStorage-jO783AhC.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zubari/sdk",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "Multi-chain self-custodial wallet SDK for Web3 creator economy. Supports Ethereum, Bitcoin, TON, TRON, Solana, and Lightning (Spark) from a single BIP-39 seed phrase.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -104,18 +104,16 @@
104
104
  "dependencies": {
105
105
  "@scure/base": "^2.0.0",
106
106
  "@scure/bip32": "^2.0.1",
107
- "bs58": "^6.0.0",
108
- "ed25519-hd-key": "^1.3.0",
109
- "tweetnacl": "^1.0.3"
110
- },
111
- "optionalDependencies": {
112
107
  "@tetherto/wdk": "1.0.0-beta.4",
113
108
  "@tetherto/wdk-wallet-btc": "1.0.0-beta.4",
114
109
  "@tetherto/wdk-wallet-evm": "1.0.0-beta.4",
115
110
  "@tetherto/wdk-wallet-solana": "1.0.0-beta.4",
116
111
  "@tetherto/wdk-wallet-spark": "1.0.0-beta.5",
117
112
  "@tetherto/wdk-wallet-ton": "1.0.0-beta.6",
118
- "@tetherto/wdk-wallet-tron": "1.0.0-beta.3"
113
+ "@tetherto/wdk-wallet-tron": "1.0.0-beta.3",
114
+ "bs58": "^6.0.0",
115
+ "ed25519-hd-key": "^1.3.0",
116
+ "tweetnacl": "^1.0.3"
119
117
  },
120
118
  "devDependencies": {
121
119
  "@babel/core": "^7.28.5",