@zubari/sdk 0.1.29 → 0.1.31
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/{WalletManager-2jAcWdXE.d.mts → WalletManager-Du9oKIeu.d.mts} +1 -1
- package/dist/{WalletManager-CO-urS0z.d.ts → WalletManager-Ry-PqMUp.d.ts} +1 -1
- package/dist/{index-IPLQBUaD.d.mts → index-6y3uV1Sh.d.mts} +11 -1
- package/dist/{index-IPLQBUaD.d.ts → index-6y3uV1Sh.d.ts} +11 -1
- package/dist/{index-47yJyxgt.d.ts → index-BK6MH30q.d.ts} +2 -2
- package/dist/{index-CUX8jPBi.d.mts → index-yA3Aorn-.d.mts} +2 -2
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1946 -112
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1946 -112
- package/dist/index.mjs.map +1 -1
- package/dist/protocols/index.d.mts +331 -31
- package/dist/protocols/index.d.ts +331 -31
- package/dist/protocols/index.js +1946 -112
- package/dist/protocols/index.js.map +1 -1
- package/dist/protocols/index.mjs +1946 -112
- package/dist/protocols/index.mjs.map +1 -1
- package/dist/react/index.d.mts +3 -3
- package/dist/react/index.d.ts +3 -3
- package/dist/services/index.d.mts +1 -1
- package/dist/services/index.d.ts +1 -1
- package/dist/wallet/index.d.mts +3 -3
- package/dist/wallet/index.d.ts +3 -3
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import * as node_modules_viem__types_utils_ccip from 'node_modules/viem/_types/u
|
|
|
3
3
|
import * as viem from 'viem';
|
|
4
4
|
import { HDNodeWallet } from 'ethers';
|
|
5
5
|
import { S as SecureStorageAdapter } from './SecureStorage-jO783AhC.mjs';
|
|
6
|
-
import { N as NetworkType } from './index-
|
|
6
|
+
import { N as NetworkType } from './index-6y3uV1Sh.mjs';
|
|
7
7
|
|
|
8
8
|
interface NetworkConfig {
|
|
9
9
|
name: string;
|
|
@@ -3,7 +3,7 @@ import * as node_modules_viem__types_utils_ccip from 'node_modules/viem/_types/u
|
|
|
3
3
|
import * as viem from 'viem';
|
|
4
4
|
import { HDNodeWallet } from 'ethers';
|
|
5
5
|
import { S as SecureStorageAdapter } from './SecureStorage-jO783AhC.js';
|
|
6
|
-
import { N as NetworkType } from './index-
|
|
6
|
+
import { N as NetworkType } from './index-6y3uV1Sh.js';
|
|
7
7
|
|
|
8
8
|
interface NetworkConfig {
|
|
9
9
|
name: string;
|
|
@@ -114,6 +114,16 @@ interface TipStats {
|
|
|
114
114
|
tipCount: number;
|
|
115
115
|
uniqueTippers: number;
|
|
116
116
|
}
|
|
117
|
+
interface Tip {
|
|
118
|
+
tipId: string;
|
|
119
|
+
sender: string;
|
|
120
|
+
recipient: string;
|
|
121
|
+
token: string;
|
|
122
|
+
amount: bigint;
|
|
123
|
+
platformFee: bigint;
|
|
124
|
+
message: string;
|
|
125
|
+
timestamp: number;
|
|
126
|
+
}
|
|
117
127
|
interface SubscriptionPlan {
|
|
118
128
|
planId?: string;
|
|
119
129
|
name: string;
|
|
@@ -169,4 +179,4 @@ declare class ZubariError extends Error {
|
|
|
169
179
|
constructor(code: ZubariErrorCode, message: string, details?: unknown | undefined);
|
|
170
180
|
}
|
|
171
181
|
|
|
172
|
-
export { type Account as A, type BuyParams as B, type EarningsBreakdown as E, type LazyMintVoucher as L, type NetworkType as N, type RevenueSplit as R, type SendParams as S, type TokenBalance as T, type ZubariWalletConfig as Z, type NetworkBalance as a, type TxResult as b, type NFTMetadata as c, type NFT as d, type ListingParams as e, type Listing as f, type TipData as g, type TipResult as h, type TipStats as i, type
|
|
182
|
+
export { type Account as A, type BuyParams as B, type EarningsBreakdown as E, type LazyMintVoucher as L, type NetworkType as N, type RevenueSplit as R, type SendParams as S, type TokenBalance as T, type ZubariWalletConfig as Z, type NetworkBalance as a, type TxResult as b, type NFTMetadata as c, type NFT as d, type ListingParams as e, type Listing as f, type TipData as g, type TipResult as h, type TipStats as i, type Tip as j, type SubscriptionPlan as k, type Subscription as l, type SwapQuote as m, type SwapParams as n, type ZubariErrorCode as o, ZubariError as p };
|
|
@@ -114,6 +114,16 @@ interface TipStats {
|
|
|
114
114
|
tipCount: number;
|
|
115
115
|
uniqueTippers: number;
|
|
116
116
|
}
|
|
117
|
+
interface Tip {
|
|
118
|
+
tipId: string;
|
|
119
|
+
sender: string;
|
|
120
|
+
recipient: string;
|
|
121
|
+
token: string;
|
|
122
|
+
amount: bigint;
|
|
123
|
+
platformFee: bigint;
|
|
124
|
+
message: string;
|
|
125
|
+
timestamp: number;
|
|
126
|
+
}
|
|
117
127
|
interface SubscriptionPlan {
|
|
118
128
|
planId?: string;
|
|
119
129
|
name: string;
|
|
@@ -169,4 +179,4 @@ declare class ZubariError extends Error {
|
|
|
169
179
|
constructor(code: ZubariErrorCode, message: string, details?: unknown | undefined);
|
|
170
180
|
}
|
|
171
181
|
|
|
172
|
-
export { type Account as A, type BuyParams as B, type EarningsBreakdown as E, type LazyMintVoucher as L, type NetworkType as N, type RevenueSplit as R, type SendParams as S, type TokenBalance as T, type ZubariWalletConfig as Z, type NetworkBalance as a, type TxResult as b, type NFTMetadata as c, type NFT as d, type ListingParams as e, type Listing as f, type TipData as g, type TipResult as h, type TipStats as i, type
|
|
182
|
+
export { type Account as A, type BuyParams as B, type EarningsBreakdown as E, type LazyMintVoucher as L, type NetworkType as N, type RevenueSplit as R, type SendParams as S, type TokenBalance as T, type ZubariWalletConfig as Z, type NetworkBalance as a, type TxResult as b, type NFTMetadata as c, type NFT as d, type ListingParams as e, type Listing as f, type TipData as g, type TipResult as h, type TipStats as i, type Tip as j, type SubscriptionPlan as k, type Subscription as l, type SwapQuote as m, type SwapParams as n, type ZubariErrorCode as o, ZubariError as p };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Z as ZubariWalletConfig, N as NetworkType, A as Account, a as NetworkBalance, S as SendParams, b as TxResult } from './index-
|
|
2
|
-
import './WalletManager-
|
|
1
|
+
import { Z as ZubariWalletConfig, N as NetworkType, A as Account, a as NetworkBalance, S as SendParams, b as TxResult } from './index-6y3uV1Sh.js';
|
|
2
|
+
import './WalletManager-Ry-PqMUp.js';
|
|
3
3
|
|
|
4
4
|
interface ContractAddresses {
|
|
5
5
|
registry: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Z as ZubariWalletConfig, N as NetworkType, A as Account, a as NetworkBalance, S as SendParams, b as TxResult } from './index-
|
|
2
|
-
import './WalletManager-
|
|
1
|
+
import { Z as ZubariWalletConfig, N as NetworkType, A as Account, a as NetworkBalance, S as SendParams, b as TxResult } from './index-6y3uV1Sh.mjs';
|
|
2
|
+
import './WalletManager-Du9oKIeu.mjs';
|
|
3
3
|
|
|
4
4
|
interface ContractAddresses {
|
|
5
5
|
registry: string;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { P as PLATFORM_CONFIG, 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 { P as PLATFORM_CONFIG, a as ZUBARI_CONTRACTS, Z as ZubariWallet, g as getContractAddresses } from './index-yA3Aorn-.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-Du9oKIeu.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 { BrowserAddressDerivation, ChainAddress, ChainBalance, FeeEstimate, FeeRates, MultiChainAddresses, SupportedChain, SwapService, TransactionHistoryItem, TransactionParams, TransactionResult, TransactionService, TransactionServiceConfig, WdkApiClient, ZubariWdkService, ZubariWdkServiceConfig, createTransactionService, createZubariWdkService, getTransactionService, getWdkApiClient, getZubariWdkService, isBrowser } from './services/index.mjs';
|
|
6
|
-
export { A as Account, B as BuyParams, E as EarningsBreakdown, L as LazyMintVoucher, f as Listing, e as ListingParams, d as NFT, c as NFTMetadata, a as NetworkBalance, N as NetworkType, R as RevenueSplit, S as SendParams,
|
|
6
|
+
export { A as Account, B as BuyParams, E as EarningsBreakdown, L as LazyMintVoucher, f as Listing, e as ListingParams, d as NFT, c as NFTMetadata, a as NetworkBalance, N as NetworkType, R as RevenueSplit, S as SendParams, l as Subscription, k as SubscriptionPlan, n as SwapParams, m as SwapQuote, j as Tip, g as TipData, h as TipResult, i as TipStats, T as TokenBalance, b as TxResult, p as ZubariError, o as ZubariErrorCode, Z as ZubariWalletConfig } from './index-6y3uV1Sh.mjs';
|
|
7
7
|
export { FeeEstimateResult, SendTransactionResult, UseWalletManagerOptions, UseWalletManagerReturn, useWalletManager } from './react/index.mjs';
|
|
8
8
|
import 'node_modules/viem/_types/actions/siwe/verifySiweMessage';
|
|
9
9
|
import 'node_modules/viem/_types/utils/ccip';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { P as PLATFORM_CONFIG, 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 { P as PLATFORM_CONFIG, a as ZUBARI_CONTRACTS, Z as ZubariWallet, g as getContractAddresses } from './index-BK6MH30q.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-Ry-PqMUp.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 { BrowserAddressDerivation, ChainAddress, ChainBalance, FeeEstimate, FeeRates, MultiChainAddresses, SupportedChain, SwapService, TransactionHistoryItem, TransactionParams, TransactionResult, TransactionService, TransactionServiceConfig, WdkApiClient, ZubariWdkService, ZubariWdkServiceConfig, createTransactionService, createZubariWdkService, getTransactionService, getWdkApiClient, getZubariWdkService, isBrowser } from './services/index.js';
|
|
6
|
-
export { A as Account, B as BuyParams, E as EarningsBreakdown, L as LazyMintVoucher, f as Listing, e as ListingParams, d as NFT, c as NFTMetadata, a as NetworkBalance, N as NetworkType, R as RevenueSplit, S as SendParams,
|
|
6
|
+
export { A as Account, B as BuyParams, E as EarningsBreakdown, L as LazyMintVoucher, f as Listing, e as ListingParams, d as NFT, c as NFTMetadata, a as NetworkBalance, N as NetworkType, R as RevenueSplit, S as SendParams, l as Subscription, k as SubscriptionPlan, n as SwapParams, m as SwapQuote, j as Tip, g as TipData, h as TipResult, i as TipStats, T as TokenBalance, b as TxResult, p as ZubariError, o as ZubariErrorCode, Z as ZubariWalletConfig } from './index-6y3uV1Sh.js';
|
|
7
7
|
export { FeeEstimateResult, SendTransactionResult, UseWalletManagerOptions, UseWalletManagerReturn, useWalletManager } from './react/index.js';
|
|
8
8
|
import 'node_modules/viem/_types/actions/siwe/verifySiweMessage';
|
|
9
9
|
import 'node_modules/viem/_types/utils/ccip';
|