@zubari/sdk 0.5.5 → 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.
- package/dist/{TransactionService-DbNDRzXh.d.ts → TransactionService-BEkgF1T6.d.ts} +5 -9
- package/dist/{TransactionService-Cmw33HXX.d.mts → TransactionService-CF_C3Kqm.d.mts} +5 -9
- package/dist/{WalletManager-DIx8nENh.d.mts → WalletManager-BTewpMGA.d.mts} +131 -48
- package/dist/{WalletManager-CeLlZo2y.d.ts → WalletManager-BV1QA08D.d.ts} +131 -48
- package/dist/{contracts-JfZDzaV7.d.ts → contracts-CyIOTDtT.d.ts} +1 -1
- package/dist/{contracts-pugJnFzl.d.mts → contracts-i0GG-cBt.d.mts} +1 -1
- package/dist/index.d.mts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +59 -73
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +46 -60
- package/dist/index.mjs.map +1 -1
- package/dist/react/index.d.mts +4 -3
- package/dist/react/index.d.ts +4 -3
- package/dist/react/index.js +59 -73
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +46 -60
- package/dist/react/index.mjs.map +1 -1
- package/dist/services/index.d.mts +1 -1
- package/dist/services/index.d.ts +1 -1
- package/dist/services/index.js +59 -73
- package/dist/services/index.js.map +1 -1
- package/dist/services/index.mjs +46 -60
- package/dist/services/index.mjs.map +1 -1
- package/dist/wallet/index.d.mts +4 -3
- package/dist/wallet/index.d.ts +4 -3
- package/dist/wallet/index.js +59 -73
- package/dist/wallet/index.js.map +1 -1
- package/dist/wallet/index.mjs +46 -60
- package/dist/wallet/index.mjs.map +1 -1
- package/package.json +5 -4
|
@@ -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'):
|
|
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):
|
|
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'):
|
|
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):
|
|
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():
|
|
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'):
|
|
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):
|
|
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'):
|
|
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):
|
|
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():
|
|
266
|
+
declare function generateSeedPhrase(): string;
|
|
271
267
|
|
|
272
268
|
type BrowserAddressDerivation_BrowserMultiChainAddresses = BrowserMultiChainAddresses;
|
|
273
269
|
declare const BrowserAddressDerivation_deriveAllAddresses: typeof deriveAllAddresses;
|