@zubari/sdk 0.5.6 → 0.5.7

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.
@@ -207,10 +207,6 @@ declare function getWdkApiClient(baseUrl?: string, authToken?: string): WdkApiCl
207
207
  * - TON: ed25519 derivation with TON address format
208
208
  * - TRON: secp256k1 + base58check
209
209
  * - Spark: Bitcoin-based with custom derivation
210
- *
211
- * NOTE: All @scure/* and @noble/* packages are loaded via dynamic import()
212
- * to prevent CJS require() of ESM-only modules. This ensures compatibility
213
- * with Next.js and other bundlers that may load the CJS build.
214
210
  */
215
211
 
216
212
  interface ChainAddress$1 {
@@ -234,7 +230,7 @@ declare function deriveEthereumAddress(seed: string): string;
234
230
  * Derive Bitcoin address from seed phrase (BIP-84 native SegWit)
235
231
  * Uses @scure libraries for browser compatibility
236
232
  */
237
- declare function deriveBitcoinAddress(seed: string, network?: 'mainnet' | 'testnet'): Promise<string>;
233
+ declare function deriveBitcoinAddress(seed: string, network?: 'mainnet' | 'testnet'): string;
238
234
  /**
239
235
  * Derive Solana address from seed phrase using SLIP-0010 (ed25519)
240
236
  */
@@ -249,13 +245,13 @@ declare function deriveTonAddress(seed: string): Promise<string>;
249
245
  * TRON uses secp256k1 like Ethereum but with base58check encoding
250
246
  * Uses @scure/base for browser compatibility
251
247
  */
252
- declare function deriveTronAddress(seed: string): Promise<string>;
248
+ declare function deriveTronAddress(seed: string): string;
253
249
  /**
254
250
  * Derive Spark address from seed phrase
255
251
  * Spark uses its own derivation path and bech32 format
256
252
  * Uses @scure libraries for browser compatibility
257
253
  */
258
- declare function deriveSparkAddress(seed: string, network?: 'mainnet' | 'testnet'): Promise<string>;
254
+ declare function deriveSparkAddress(seed: string, network?: 'mainnet' | 'testnet'): string;
259
255
  /**
260
256
  * Derive addresses for all supported chains
261
257
  */
@@ -263,11 +259,11 @@ declare function deriveAllAddresses(seed: string, network?: 'mainnet' | 'testnet
263
259
  /**
264
260
  * Validate a BIP-39 seed phrase using @scure/bip39
265
261
  */
266
- declare function isValidSeed(seed: string): Promise<boolean>;
262
+ declare function isValidSeed(seed: string): boolean;
267
263
  /**
268
264
  * Generate a random BIP-39 seed phrase using @scure/bip39
269
265
  */
270
- declare function generateSeedPhrase(): Promise<string>;
266
+ declare function generateSeedPhrase(): string;
271
267
 
272
268
  type BrowserAddressDerivation_BrowserMultiChainAddresses = BrowserMultiChainAddresses;
273
269
  declare const BrowserAddressDerivation_deriveAllAddresses: typeof deriveAllAddresses;
@@ -207,10 +207,6 @@ declare function getWdkApiClient(baseUrl?: string, authToken?: string): WdkApiCl
207
207
  * - TON: ed25519 derivation with TON address format
208
208
  * - TRON: secp256k1 + base58check
209
209
  * - Spark: Bitcoin-based with custom derivation
210
- *
211
- * NOTE: All @scure/* and @noble/* packages are loaded via dynamic import()
212
- * to prevent CJS require() of ESM-only modules. This ensures compatibility
213
- * with Next.js and other bundlers that may load the CJS build.
214
210
  */
215
211
 
216
212
  interface ChainAddress$1 {
@@ -234,7 +230,7 @@ declare function deriveEthereumAddress(seed: string): string;
234
230
  * Derive Bitcoin address from seed phrase (BIP-84 native SegWit)
235
231
  * Uses @scure libraries for browser compatibility
236
232
  */
237
- declare function deriveBitcoinAddress(seed: string, network?: 'mainnet' | 'testnet'): Promise<string>;
233
+ declare function deriveBitcoinAddress(seed: string, network?: 'mainnet' | 'testnet'): string;
238
234
  /**
239
235
  * Derive Solana address from seed phrase using SLIP-0010 (ed25519)
240
236
  */
@@ -249,13 +245,13 @@ declare function deriveTonAddress(seed: string): Promise<string>;
249
245
  * TRON uses secp256k1 like Ethereum but with base58check encoding
250
246
  * Uses @scure/base for browser compatibility
251
247
  */
252
- declare function deriveTronAddress(seed: string): Promise<string>;
248
+ declare function deriveTronAddress(seed: string): string;
253
249
  /**
254
250
  * Derive Spark address from seed phrase
255
251
  * Spark uses its own derivation path and bech32 format
256
252
  * Uses @scure libraries for browser compatibility
257
253
  */
258
- declare function deriveSparkAddress(seed: string, network?: 'mainnet' | 'testnet'): Promise<string>;
254
+ declare function deriveSparkAddress(seed: string, network?: 'mainnet' | 'testnet'): string;
259
255
  /**
260
256
  * Derive addresses for all supported chains
261
257
  */
@@ -263,11 +259,11 @@ declare function deriveAllAddresses(seed: string, network?: 'mainnet' | 'testnet
263
259
  /**
264
260
  * Validate a BIP-39 seed phrase using @scure/bip39
265
261
  */
266
- declare function isValidSeed(seed: string): Promise<boolean>;
262
+ declare function isValidSeed(seed: string): boolean;
267
263
  /**
268
264
  * Generate a random BIP-39 seed phrase using @scure/bip39
269
265
  */
270
- declare function generateSeedPhrase(): Promise<string>;
266
+ declare function generateSeedPhrase(): string;
271
267
 
272
268
  type BrowserAddressDerivation_BrowserMultiChainAddresses = BrowserMultiChainAddresses;
273
269
  declare const BrowserAddressDerivation_deriveAllAddresses: typeof deriveAllAddresses;