@zubari/sdk 0.2.8 → 0.3.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/{TransactionService-8xSEGoWA.d.mts → TransactionService-DURp3bRL.d.ts} +34 -10
- package/dist/{TransactionService-CaIcCoqY.d.ts → TransactionService-DuMJmrG3.d.mts} +34 -10
- package/dist/{WalletManager-B1qvFF4K.d.mts → WalletManager-D0xMpgfo.d.mts} +133 -50
- package/dist/{WalletManager-CCs4Jsv7.d.ts → WalletManager-DsAg7MwL.d.ts} +133 -50
- package/dist/{index-Cx389p_j.d.mts → index-DF0Gf8NK.d.mts} +7 -1
- package/dist/{index-Cx389p_j.d.ts → index-DF0Gf8NK.d.ts} +7 -1
- package/dist/{index-Cqrpp3XA.d.ts → index-N2u4haqL.d.mts} +22 -11
- package/dist/{index-BOc9U2TK.d.mts → index-kS-xopkl.d.ts} +22 -11
- package/dist/index.d.mts +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/index.js +3064 -1770
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3064 -1770
- package/dist/index.mjs.map +1 -1
- package/dist/protocols/index.d.mts +54 -22
- package/dist/protocols/index.d.ts +54 -22
- package/dist/protocols/index.js +1008 -76
- package/dist/protocols/index.js.map +1 -1
- package/dist/protocols/index.mjs +1008 -76
- package/dist/protocols/index.mjs.map +1 -1
- package/dist/react/index.d.mts +5 -4
- package/dist/react/index.d.ts +5 -4
- package/dist/react/index.js +884 -884
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +884 -884
- package/dist/react/index.mjs.map +1 -1
- package/dist/services/index.d.mts +2 -2
- package/dist/services/index.d.ts +2 -2
- package/dist/services/index.js +152 -75
- package/dist/services/index.js.map +1 -1
- package/dist/services/index.mjs +152 -75
- package/dist/services/index.mjs.map +1 -1
- package/dist/wallet/index.d.mts +5 -4
- package/dist/wallet/index.d.ts +5 -4
- package/dist/wallet/index.js +1352 -1105
- package/dist/wallet/index.js.map +1 -1
- package/dist/wallet/index.mjs +1352 -1105
- package/dist/wallet/index.mjs.map +1 -1
- package/package.json +9 -6
|
@@ -15,6 +15,12 @@ interface TokenBalance {
|
|
|
15
15
|
balanceUsd: number;
|
|
16
16
|
decimals: number;
|
|
17
17
|
}
|
|
18
|
+
interface TokenInfo {
|
|
19
|
+
address: string;
|
|
20
|
+
symbol: string;
|
|
21
|
+
decimals: number;
|
|
22
|
+
name: string;
|
|
23
|
+
}
|
|
18
24
|
interface NetworkBalance {
|
|
19
25
|
network: NetworkType;
|
|
20
26
|
native: {
|
|
@@ -258,4 +264,4 @@ declare class ZubariError extends Error {
|
|
|
258
264
|
constructor(code: ZubariErrorCode, message: string, details?: unknown | undefined);
|
|
259
265
|
}
|
|
260
266
|
|
|
261
|
-
export { type Account as A, type BuyParams as B, type CreateVoucherParams as C, type EarningsBreakdown as E, type LazyMintVoucher as L, type NFTCurrency as N, type PayoutHistoryResponse as P, type RevenueSplit as R, type SendParams as S, type TokenBalance as T, type WatermarkingData as W, type ZubariWalletConfig as Z, type NetworkType as a, type NetworkBalance as b, type TxResult as c, type NFTAttribute as d, type NFTMetadata as e, type NFT as f, type ListingParams as g, type Listing as h, type TipData as i, type TipResult as j, type TipStats as k, type Tip as l, type SubscriptionPlan as m, type Subscription as n, type SwapQuote as o, type SwapParams as p, type ZubariErrorCode as q, ZubariError as r, type
|
|
267
|
+
export { type Account as A, type BuyParams as B, type CreateVoucherParams as C, type EarningsBreakdown as E, type LazyMintVoucher as L, type NFTCurrency as N, type PayoutHistoryResponse as P, type RevenueSplit as R, type SendParams as S, type TokenBalance as T, type WatermarkingData as W, type ZubariWalletConfig as Z, type NetworkType as a, type NetworkBalance as b, type TxResult as c, type NFTAttribute as d, type NFTMetadata as e, type NFT as f, type ListingParams as g, type Listing as h, type TipData as i, type TipResult as j, type TipStats as k, type Tip as l, type SubscriptionPlan as m, type Subscription as n, type SwapQuote as o, type SwapParams as p, type ZubariErrorCode as q, ZubariError as r, type TokenInfo as s, type EarningsResponse as t, type BreakdownResponse as u, type PlatformFeeResponse as v, type ClaimResult as w };
|
|
@@ -15,6 +15,12 @@ interface TokenBalance {
|
|
|
15
15
|
balanceUsd: number;
|
|
16
16
|
decimals: number;
|
|
17
17
|
}
|
|
18
|
+
interface TokenInfo {
|
|
19
|
+
address: string;
|
|
20
|
+
symbol: string;
|
|
21
|
+
decimals: number;
|
|
22
|
+
name: string;
|
|
23
|
+
}
|
|
18
24
|
interface NetworkBalance {
|
|
19
25
|
network: NetworkType;
|
|
20
26
|
native: {
|
|
@@ -258,4 +264,4 @@ declare class ZubariError extends Error {
|
|
|
258
264
|
constructor(code: ZubariErrorCode, message: string, details?: unknown | undefined);
|
|
259
265
|
}
|
|
260
266
|
|
|
261
|
-
export { type Account as A, type BuyParams as B, type CreateVoucherParams as C, type EarningsBreakdown as E, type LazyMintVoucher as L, type NFTCurrency as N, type PayoutHistoryResponse as P, type RevenueSplit as R, type SendParams as S, type TokenBalance as T, type WatermarkingData as W, type ZubariWalletConfig as Z, type NetworkType as a, type NetworkBalance as b, type TxResult as c, type NFTAttribute as d, type NFTMetadata as e, type NFT as f, type ListingParams as g, type Listing as h, type TipData as i, type TipResult as j, type TipStats as k, type Tip as l, type SubscriptionPlan as m, type Subscription as n, type SwapQuote as o, type SwapParams as p, type ZubariErrorCode as q, ZubariError as r, type
|
|
267
|
+
export { type Account as A, type BuyParams as B, type CreateVoucherParams as C, type EarningsBreakdown as E, type LazyMintVoucher as L, type NFTCurrency as N, type PayoutHistoryResponse as P, type RevenueSplit as R, type SendParams as S, type TokenBalance as T, type WatermarkingData as W, type ZubariWalletConfig as Z, type NetworkType as a, type NetworkBalance as b, type TxResult as c, type NFTAttribute as d, type NFTMetadata as e, type NFT as f, type ListingParams as g, type Listing as h, type TipData as i, type TipResult as j, type TipStats as k, type Tip as l, type SubscriptionPlan as m, type Subscription as n, type SwapQuote as o, type SwapParams as p, type ZubariErrorCode as q, ZubariError as r, type TokenInfo as s, type EarningsResponse as t, type BreakdownResponse as u, type PlatformFeeResponse as v, type ClaimResult as w };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Z as ZubariWalletConfig, a as NetworkType, A as Account, b as NetworkBalance, S as SendParams, c as TxResult } from './index-
|
|
2
|
-
import './WalletManager-
|
|
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';
|
|
3
3
|
|
|
4
4
|
interface ContractAddresses {
|
|
5
5
|
registry: string;
|
|
@@ -83,12 +83,13 @@ declare function getContractAddresses(network: 'testnet' | 'mainnet'): ContractA
|
|
|
83
83
|
* ZubariWallet - Multi-chain self-custodial wallet
|
|
84
84
|
*
|
|
85
85
|
* Core wallet class that manages accounts across multiple blockchain networks
|
|
86
|
-
* using Tether WDK as the underlying infrastructure layer.
|
|
86
|
+
* using Tether WDK as the underlying infrastructure layer via ZubariWdkService.
|
|
87
87
|
*/
|
|
88
88
|
declare class ZubariWallet {
|
|
89
89
|
private readonly seed;
|
|
90
90
|
private readonly config;
|
|
91
91
|
private readonly accounts;
|
|
92
|
+
private readonly wdkService;
|
|
92
93
|
private initialized;
|
|
93
94
|
constructor(seed: string, config: ZubariWalletConfig);
|
|
94
95
|
/**
|
|
@@ -96,7 +97,7 @@ declare class ZubariWallet {
|
|
|
96
97
|
*/
|
|
97
98
|
initialize(): Promise<void>;
|
|
98
99
|
/**
|
|
99
|
-
* Derive account for a specific network using BIP-44
|
|
100
|
+
* Derive account for a specific network using BIP-44 via WDK API
|
|
100
101
|
*/
|
|
101
102
|
private deriveAccount;
|
|
102
103
|
/**
|
|
@@ -112,9 +113,13 @@ declare class ZubariWallet {
|
|
|
112
113
|
*/
|
|
113
114
|
getAllAddresses(): Promise<Record<NetworkType, string>>;
|
|
114
115
|
/**
|
|
115
|
-
* Get balance for a specific network
|
|
116
|
+
* Get balance for a specific network via WDK API
|
|
116
117
|
*/
|
|
117
118
|
getBalance(network: NetworkType): Promise<NetworkBalance>;
|
|
119
|
+
/**
|
|
120
|
+
* Format balance from wei/satoshi to human-readable string
|
|
121
|
+
*/
|
|
122
|
+
private formatBalance;
|
|
118
123
|
/**
|
|
119
124
|
* Get balances for all enabled networks
|
|
120
125
|
*/
|
|
@@ -124,11 +129,11 @@ declare class ZubariWallet {
|
|
|
124
129
|
*/
|
|
125
130
|
getTotalPortfolioUsd(): Promise<number>;
|
|
126
131
|
/**
|
|
127
|
-
* Send native currency on a specific network
|
|
132
|
+
* Send native currency on a specific network via WDK API
|
|
128
133
|
*/
|
|
129
134
|
send(network: NetworkType, params: SendParams): Promise<TxResult>;
|
|
130
135
|
/**
|
|
131
|
-
* Send ERC-20 token on EVM networks
|
|
136
|
+
* Send ERC-20 token on EVM networks via WDK API
|
|
132
137
|
*/
|
|
133
138
|
sendToken(network: NetworkType, token: string, to: string, amount: bigint): Promise<TxResult>;
|
|
134
139
|
/**
|
|
@@ -146,13 +151,13 @@ declare class ZubariWallet {
|
|
|
146
151
|
*/
|
|
147
152
|
getBitcoinAddress(): Promise<string>;
|
|
148
153
|
/**
|
|
149
|
-
* Pay Lightning invoice via Spark network
|
|
154
|
+
* Pay Lightning invoice via Spark network using WDK API
|
|
150
155
|
* Uses WDK WalletManagerSpark (m/44'/998')
|
|
151
156
|
* @param invoice - Lightning invoice string (lnbc...)
|
|
152
157
|
*/
|
|
153
158
|
sendLightning(invoice: string): Promise<TxResult>;
|
|
154
159
|
/**
|
|
155
|
-
* Create Lightning invoice via Spark
|
|
160
|
+
* Create Lightning invoice via Spark using WDK API
|
|
156
161
|
* @param amount - Amount in millisatoshis
|
|
157
162
|
* @param memo - Optional payment memo
|
|
158
163
|
* @returns Lightning invoice string (lnbc...)
|
|
@@ -163,11 +168,17 @@ declare class ZubariWallet {
|
|
|
163
168
|
*/
|
|
164
169
|
private isValidLightningInvoice;
|
|
165
170
|
/**
|
|
166
|
-
* Decode Lightning invoice
|
|
171
|
+
* Decode Lightning invoice using backend API
|
|
172
|
+
* Parses BOLT11 invoice to extract payment details
|
|
167
173
|
*/
|
|
168
174
|
private decodeLightningInvoice;
|
|
169
175
|
/**
|
|
170
|
-
*
|
|
176
|
+
* Basic Lightning invoice parsing (fallback)
|
|
177
|
+
* Extracts amount from invoice prefix when API is unavailable
|
|
178
|
+
*/
|
|
179
|
+
private parseInvoiceBasic;
|
|
180
|
+
/**
|
|
181
|
+
* Get Lightning (Spark) balance via WDK API
|
|
171
182
|
*/
|
|
172
183
|
getLightningBalance(): Promise<{
|
|
173
184
|
available: bigint;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Z as ZubariWalletConfig, a as NetworkType, A as Account, b as NetworkBalance, S as SendParams, c as TxResult } from './index-
|
|
2
|
-
import './WalletManager-
|
|
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';
|
|
3
3
|
|
|
4
4
|
interface ContractAddresses {
|
|
5
5
|
registry: string;
|
|
@@ -83,12 +83,13 @@ declare function getContractAddresses(network: 'testnet' | 'mainnet'): ContractA
|
|
|
83
83
|
* ZubariWallet - Multi-chain self-custodial wallet
|
|
84
84
|
*
|
|
85
85
|
* Core wallet class that manages accounts across multiple blockchain networks
|
|
86
|
-
* using Tether WDK as the underlying infrastructure layer.
|
|
86
|
+
* using Tether WDK as the underlying infrastructure layer via ZubariWdkService.
|
|
87
87
|
*/
|
|
88
88
|
declare class ZubariWallet {
|
|
89
89
|
private readonly seed;
|
|
90
90
|
private readonly config;
|
|
91
91
|
private readonly accounts;
|
|
92
|
+
private readonly wdkService;
|
|
92
93
|
private initialized;
|
|
93
94
|
constructor(seed: string, config: ZubariWalletConfig);
|
|
94
95
|
/**
|
|
@@ -96,7 +97,7 @@ declare class ZubariWallet {
|
|
|
96
97
|
*/
|
|
97
98
|
initialize(): Promise<void>;
|
|
98
99
|
/**
|
|
99
|
-
* Derive account for a specific network using BIP-44
|
|
100
|
+
* Derive account for a specific network using BIP-44 via WDK API
|
|
100
101
|
*/
|
|
101
102
|
private deriveAccount;
|
|
102
103
|
/**
|
|
@@ -112,9 +113,13 @@ declare class ZubariWallet {
|
|
|
112
113
|
*/
|
|
113
114
|
getAllAddresses(): Promise<Record<NetworkType, string>>;
|
|
114
115
|
/**
|
|
115
|
-
* Get balance for a specific network
|
|
116
|
+
* Get balance for a specific network via WDK API
|
|
116
117
|
*/
|
|
117
118
|
getBalance(network: NetworkType): Promise<NetworkBalance>;
|
|
119
|
+
/**
|
|
120
|
+
* Format balance from wei/satoshi to human-readable string
|
|
121
|
+
*/
|
|
122
|
+
private formatBalance;
|
|
118
123
|
/**
|
|
119
124
|
* Get balances for all enabled networks
|
|
120
125
|
*/
|
|
@@ -124,11 +129,11 @@ declare class ZubariWallet {
|
|
|
124
129
|
*/
|
|
125
130
|
getTotalPortfolioUsd(): Promise<number>;
|
|
126
131
|
/**
|
|
127
|
-
* Send native currency on a specific network
|
|
132
|
+
* Send native currency on a specific network via WDK API
|
|
128
133
|
*/
|
|
129
134
|
send(network: NetworkType, params: SendParams): Promise<TxResult>;
|
|
130
135
|
/**
|
|
131
|
-
* Send ERC-20 token on EVM networks
|
|
136
|
+
* Send ERC-20 token on EVM networks via WDK API
|
|
132
137
|
*/
|
|
133
138
|
sendToken(network: NetworkType, token: string, to: string, amount: bigint): Promise<TxResult>;
|
|
134
139
|
/**
|
|
@@ -146,13 +151,13 @@ declare class ZubariWallet {
|
|
|
146
151
|
*/
|
|
147
152
|
getBitcoinAddress(): Promise<string>;
|
|
148
153
|
/**
|
|
149
|
-
* Pay Lightning invoice via Spark network
|
|
154
|
+
* Pay Lightning invoice via Spark network using WDK API
|
|
150
155
|
* Uses WDK WalletManagerSpark (m/44'/998')
|
|
151
156
|
* @param invoice - Lightning invoice string (lnbc...)
|
|
152
157
|
*/
|
|
153
158
|
sendLightning(invoice: string): Promise<TxResult>;
|
|
154
159
|
/**
|
|
155
|
-
* Create Lightning invoice via Spark
|
|
160
|
+
* Create Lightning invoice via Spark using WDK API
|
|
156
161
|
* @param amount - Amount in millisatoshis
|
|
157
162
|
* @param memo - Optional payment memo
|
|
158
163
|
* @returns Lightning invoice string (lnbc...)
|
|
@@ -163,11 +168,17 @@ declare class ZubariWallet {
|
|
|
163
168
|
*/
|
|
164
169
|
private isValidLightningInvoice;
|
|
165
170
|
/**
|
|
166
|
-
* Decode Lightning invoice
|
|
171
|
+
* Decode Lightning invoice using backend API
|
|
172
|
+
* Parses BOLT11 invoice to extract payment details
|
|
167
173
|
*/
|
|
168
174
|
private decodeLightningInvoice;
|
|
169
175
|
/**
|
|
170
|
-
*
|
|
176
|
+
* Basic Lightning invoice parsing (fallback)
|
|
177
|
+
* Extracts amount from invoice prefix when API is unavailable
|
|
178
|
+
*/
|
|
179
|
+
private parseInvoiceBasic;
|
|
180
|
+
/**
|
|
181
|
+
* Get Lightning (Spark) balance via WDK API
|
|
171
182
|
*/
|
|
172
183
|
getLightningBalance(): Promise<{
|
|
173
184
|
available: bigint;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
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-
|
|
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-
|
|
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';
|
|
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
|
-
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-
|
|
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-
|
|
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
|
+
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 '
|
|
8
|
+
import 'node_modules/viem/_types/actions/siwe/verifySiweMessage';
|
|
9
|
+
import 'node_modules/viem/_types/utils/ccip';
|
|
9
10
|
import 'viem';
|
|
10
11
|
import 'ethers';
|
|
11
12
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
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-
|
|
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-
|
|
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';
|
|
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
|
-
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-
|
|
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-
|
|
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
|
+
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 '
|
|
8
|
+
import 'node_modules/viem/_types/actions/siwe/verifySiweMessage';
|
|
9
|
+
import 'node_modules/viem/_types/utils/ccip';
|
|
9
10
|
import 'viem';
|
|
10
11
|
import 'ethers';
|
|
11
12
|
|