@dzapio/sdk 2.0.22 → 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 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dzapio/sdk",
3
- "version": "2.0.22",
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",