@zubari/sdk 0.2.7 → 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-xZYY0MEX.d.mts → index-N2u4haqL.d.mts} +23 -11
- package/dist/{index-BPojlGT6.d.ts → index-kS-xopkl.d.ts} +23 -11
- package/dist/index.d.mts +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/index.js +3070 -1772
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3070 -1772
- 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 -71
- package/dist/services/index.js.map +1 -1
- package/dist/services/index.mjs +152 -71
- 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 +1358 -1107
- package/dist/wallet/index.js.map +1 -1
- package/dist/wallet/index.mjs +1358 -1107
- 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,9 +1,10 @@
|
|
|
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;
|
|
6
6
|
nft: string;
|
|
7
|
+
nft1155: string;
|
|
7
8
|
marketplace: string;
|
|
8
9
|
tips: string;
|
|
9
10
|
subscriptions: string;
|
|
@@ -82,12 +83,13 @@ declare function getContractAddresses(network: 'testnet' | 'mainnet'): ContractA
|
|
|
82
83
|
* ZubariWallet - Multi-chain self-custodial wallet
|
|
83
84
|
*
|
|
84
85
|
* Core wallet class that manages accounts across multiple blockchain networks
|
|
85
|
-
* using Tether WDK as the underlying infrastructure layer.
|
|
86
|
+
* using Tether WDK as the underlying infrastructure layer via ZubariWdkService.
|
|
86
87
|
*/
|
|
87
88
|
declare class ZubariWallet {
|
|
88
89
|
private readonly seed;
|
|
89
90
|
private readonly config;
|
|
90
91
|
private readonly accounts;
|
|
92
|
+
private readonly wdkService;
|
|
91
93
|
private initialized;
|
|
92
94
|
constructor(seed: string, config: ZubariWalletConfig);
|
|
93
95
|
/**
|
|
@@ -95,7 +97,7 @@ declare class ZubariWallet {
|
|
|
95
97
|
*/
|
|
96
98
|
initialize(): Promise<void>;
|
|
97
99
|
/**
|
|
98
|
-
* Derive account for a specific network using BIP-44
|
|
100
|
+
* Derive account for a specific network using BIP-44 via WDK API
|
|
99
101
|
*/
|
|
100
102
|
private deriveAccount;
|
|
101
103
|
/**
|
|
@@ -111,9 +113,13 @@ declare class ZubariWallet {
|
|
|
111
113
|
*/
|
|
112
114
|
getAllAddresses(): Promise<Record<NetworkType, string>>;
|
|
113
115
|
/**
|
|
114
|
-
* Get balance for a specific network
|
|
116
|
+
* Get balance for a specific network via WDK API
|
|
115
117
|
*/
|
|
116
118
|
getBalance(network: NetworkType): Promise<NetworkBalance>;
|
|
119
|
+
/**
|
|
120
|
+
* Format balance from wei/satoshi to human-readable string
|
|
121
|
+
*/
|
|
122
|
+
private formatBalance;
|
|
117
123
|
/**
|
|
118
124
|
* Get balances for all enabled networks
|
|
119
125
|
*/
|
|
@@ -123,11 +129,11 @@ declare class ZubariWallet {
|
|
|
123
129
|
*/
|
|
124
130
|
getTotalPortfolioUsd(): Promise<number>;
|
|
125
131
|
/**
|
|
126
|
-
* Send native currency on a specific network
|
|
132
|
+
* Send native currency on a specific network via WDK API
|
|
127
133
|
*/
|
|
128
134
|
send(network: NetworkType, params: SendParams): Promise<TxResult>;
|
|
129
135
|
/**
|
|
130
|
-
* Send ERC-20 token on EVM networks
|
|
136
|
+
* Send ERC-20 token on EVM networks via WDK API
|
|
131
137
|
*/
|
|
132
138
|
sendToken(network: NetworkType, token: string, to: string, amount: bigint): Promise<TxResult>;
|
|
133
139
|
/**
|
|
@@ -145,13 +151,13 @@ declare class ZubariWallet {
|
|
|
145
151
|
*/
|
|
146
152
|
getBitcoinAddress(): Promise<string>;
|
|
147
153
|
/**
|
|
148
|
-
* Pay Lightning invoice via Spark network
|
|
154
|
+
* Pay Lightning invoice via Spark network using WDK API
|
|
149
155
|
* Uses WDK WalletManagerSpark (m/44'/998')
|
|
150
156
|
* @param invoice - Lightning invoice string (lnbc...)
|
|
151
157
|
*/
|
|
152
158
|
sendLightning(invoice: string): Promise<TxResult>;
|
|
153
159
|
/**
|
|
154
|
-
* Create Lightning invoice via Spark
|
|
160
|
+
* Create Lightning invoice via Spark using WDK API
|
|
155
161
|
* @param amount - Amount in millisatoshis
|
|
156
162
|
* @param memo - Optional payment memo
|
|
157
163
|
* @returns Lightning invoice string (lnbc...)
|
|
@@ -162,11 +168,17 @@ declare class ZubariWallet {
|
|
|
162
168
|
*/
|
|
163
169
|
private isValidLightningInvoice;
|
|
164
170
|
/**
|
|
165
|
-
* Decode Lightning invoice
|
|
171
|
+
* Decode Lightning invoice using backend API
|
|
172
|
+
* Parses BOLT11 invoice to extract payment details
|
|
166
173
|
*/
|
|
167
174
|
private decodeLightningInvoice;
|
|
168
175
|
/**
|
|
169
|
-
*
|
|
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
|
|
170
182
|
*/
|
|
171
183
|
getLightningBalance(): Promise<{
|
|
172
184
|
available: bigint;
|
|
@@ -1,9 +1,10 @@
|
|
|
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;
|
|
6
6
|
nft: string;
|
|
7
|
+
nft1155: string;
|
|
7
8
|
marketplace: string;
|
|
8
9
|
tips: string;
|
|
9
10
|
subscriptions: string;
|
|
@@ -82,12 +83,13 @@ declare function getContractAddresses(network: 'testnet' | 'mainnet'): ContractA
|
|
|
82
83
|
* ZubariWallet - Multi-chain self-custodial wallet
|
|
83
84
|
*
|
|
84
85
|
* Core wallet class that manages accounts across multiple blockchain networks
|
|
85
|
-
* using Tether WDK as the underlying infrastructure layer.
|
|
86
|
+
* using Tether WDK as the underlying infrastructure layer via ZubariWdkService.
|
|
86
87
|
*/
|
|
87
88
|
declare class ZubariWallet {
|
|
88
89
|
private readonly seed;
|
|
89
90
|
private readonly config;
|
|
90
91
|
private readonly accounts;
|
|
92
|
+
private readonly wdkService;
|
|
91
93
|
private initialized;
|
|
92
94
|
constructor(seed: string, config: ZubariWalletConfig);
|
|
93
95
|
/**
|
|
@@ -95,7 +97,7 @@ declare class ZubariWallet {
|
|
|
95
97
|
*/
|
|
96
98
|
initialize(): Promise<void>;
|
|
97
99
|
/**
|
|
98
|
-
* Derive account for a specific network using BIP-44
|
|
100
|
+
* Derive account for a specific network using BIP-44 via WDK API
|
|
99
101
|
*/
|
|
100
102
|
private deriveAccount;
|
|
101
103
|
/**
|
|
@@ -111,9 +113,13 @@ declare class ZubariWallet {
|
|
|
111
113
|
*/
|
|
112
114
|
getAllAddresses(): Promise<Record<NetworkType, string>>;
|
|
113
115
|
/**
|
|
114
|
-
* Get balance for a specific network
|
|
116
|
+
* Get balance for a specific network via WDK API
|
|
115
117
|
*/
|
|
116
118
|
getBalance(network: NetworkType): Promise<NetworkBalance>;
|
|
119
|
+
/**
|
|
120
|
+
* Format balance from wei/satoshi to human-readable string
|
|
121
|
+
*/
|
|
122
|
+
private formatBalance;
|
|
117
123
|
/**
|
|
118
124
|
* Get balances for all enabled networks
|
|
119
125
|
*/
|
|
@@ -123,11 +129,11 @@ declare class ZubariWallet {
|
|
|
123
129
|
*/
|
|
124
130
|
getTotalPortfolioUsd(): Promise<number>;
|
|
125
131
|
/**
|
|
126
|
-
* Send native currency on a specific network
|
|
132
|
+
* Send native currency on a specific network via WDK API
|
|
127
133
|
*/
|
|
128
134
|
send(network: NetworkType, params: SendParams): Promise<TxResult>;
|
|
129
135
|
/**
|
|
130
|
-
* Send ERC-20 token on EVM networks
|
|
136
|
+
* Send ERC-20 token on EVM networks via WDK API
|
|
131
137
|
*/
|
|
132
138
|
sendToken(network: NetworkType, token: string, to: string, amount: bigint): Promise<TxResult>;
|
|
133
139
|
/**
|
|
@@ -145,13 +151,13 @@ declare class ZubariWallet {
|
|
|
145
151
|
*/
|
|
146
152
|
getBitcoinAddress(): Promise<string>;
|
|
147
153
|
/**
|
|
148
|
-
* Pay Lightning invoice via Spark network
|
|
154
|
+
* Pay Lightning invoice via Spark network using WDK API
|
|
149
155
|
* Uses WDK WalletManagerSpark (m/44'/998')
|
|
150
156
|
* @param invoice - Lightning invoice string (lnbc...)
|
|
151
157
|
*/
|
|
152
158
|
sendLightning(invoice: string): Promise<TxResult>;
|
|
153
159
|
/**
|
|
154
|
-
* Create Lightning invoice via Spark
|
|
160
|
+
* Create Lightning invoice via Spark using WDK API
|
|
155
161
|
* @param amount - Amount in millisatoshis
|
|
156
162
|
* @param memo - Optional payment memo
|
|
157
163
|
* @returns Lightning invoice string (lnbc...)
|
|
@@ -162,11 +168,17 @@ declare class ZubariWallet {
|
|
|
162
168
|
*/
|
|
163
169
|
private isValidLightningInvoice;
|
|
164
170
|
/**
|
|
165
|
-
* Decode Lightning invoice
|
|
171
|
+
* Decode Lightning invoice using backend API
|
|
172
|
+
* Parses BOLT11 invoice to extract payment details
|
|
166
173
|
*/
|
|
167
174
|
private decodeLightningInvoice;
|
|
168
175
|
/**
|
|
169
|
-
*
|
|
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
|
|
170
182
|
*/
|
|
171
183
|
getLightningBalance(): Promise<{
|
|
172
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
|
|