@dzapio/sdk 2.0.21 → 2.0.23
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/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -157,6 +157,7 @@ type NativeTokenInfo = {
|
|
|
157
157
|
balance: string;
|
|
158
158
|
price?: string;
|
|
159
159
|
logo: string;
|
|
160
|
+
isErc20?: boolean;
|
|
160
161
|
};
|
|
161
162
|
declare const contractErrorActions: {
|
|
162
163
|
readonly TRY_ANOTHER_ROUTE: "TRY_ANOTHER_ROUTE";
|
|
@@ -364,7 +365,7 @@ type TokenPermitData = {
|
|
|
364
365
|
supported: boolean;
|
|
365
366
|
};
|
|
366
367
|
};
|
|
367
|
-
type TokenInfo = Prettify<NativeTokenInfo & {
|
|
368
|
+
type TokenInfo = Prettify<Omit<NativeTokenInfo, 'isErc20'> & {
|
|
368
369
|
chainId: number;
|
|
369
370
|
balanceInUsd?: number | null;
|
|
370
371
|
isDisabledOnSwapBridge?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -157,6 +157,7 @@ type NativeTokenInfo = {
|
|
|
157
157
|
balance: string;
|
|
158
158
|
price?: string;
|
|
159
159
|
logo: string;
|
|
160
|
+
isErc20?: boolean;
|
|
160
161
|
};
|
|
161
162
|
declare const contractErrorActions: {
|
|
162
163
|
readonly TRY_ANOTHER_ROUTE: "TRY_ANOTHER_ROUTE";
|
|
@@ -364,7 +365,7 @@ type TokenPermitData = {
|
|
|
364
365
|
supported: boolean;
|
|
365
366
|
};
|
|
366
367
|
};
|
|
367
|
-
type TokenInfo = Prettify<NativeTokenInfo & {
|
|
368
|
+
type TokenInfo = Prettify<Omit<NativeTokenInfo, 'isErc20'> & {
|
|
368
369
|
chainId: number;
|
|
369
370
|
balanceInUsd?: number | null;
|
|
370
371
|
isDisabledOnSwapBridge?: {
|
package/dist/index.js
CHANGED
|
@@ -554,7 +554,7 @@ var artheraNativeToken = "0x000000000000000000000000000000000000aA09";
|
|
|
554
554
|
var suiNativeToken = "0x2::sui::SUI";
|
|
555
555
|
var aptosNativeToken = "0x1::aptos_coin::AptosCoin";
|
|
556
556
|
var stableChainNativeToken = "0x0000000000000000000000000000000000001000";
|
|
557
|
-
var tempoNativeToken = "
|
|
557
|
+
var tempoNativeToken = "0x20C0000000000000000000000000000000000000";
|
|
558
558
|
var nativeTokens = [
|
|
559
559
|
"0x0000000000000000000000000000000000001010",
|
|
560
560
|
eFormatNativeTokenLowerCase,
|
package/dist/index.mjs
CHANGED
|
@@ -529,7 +529,7 @@ var artheraNativeToken = "0x000000000000000000000000000000000000aA09";
|
|
|
529
529
|
var suiNativeToken = "0x2::sui::SUI";
|
|
530
530
|
var aptosNativeToken = "0x1::aptos_coin::AptosCoin";
|
|
531
531
|
var stableChainNativeToken = "0x0000000000000000000000000000000000001000";
|
|
532
|
-
var tempoNativeToken = "
|
|
532
|
+
var tempoNativeToken = "0x20C0000000000000000000000000000000000000";
|
|
533
533
|
var nativeTokens = [
|
|
534
534
|
"0x0000000000000000000000000000000000001010",
|
|
535
535
|
eFormatNativeTokenLowerCase,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dzapio/sdk",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.23",
|
|
4
4
|
"description": "A TypeScript/JavaScript SDK for interacting with the DZap protocol, providing utilities for DeFi operations including Swaps, Bridges, and Zaps.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"source": "src/index.ts",
|