@covalenthq/client-sdk 0.6.5 → 0.6.6

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.
@@ -212,8 +212,6 @@ declare class BlockTransactionWithContractTransfers {
212
212
  pretty_gas_quote: string;
213
213
  /** * The native gas exchange rate for the requested `quote-currency`. */
214
214
  gas_quote_rate: number;
215
- /** * The explorer links for this transaction. */
216
- explorers: Explorer[];
217
215
  transfers: TokenTransferItem[];
218
216
  constructor(data: BlockTransactionWithContractTransfers);
219
217
  }
@@ -274,6 +272,8 @@ declare class TokenTransferItem {
274
272
  balance_quote: number;
275
273
  /** * Additional details on which transfer events were invoked. Defaults to `true`. */
276
274
  method_calls: MethodCallsForTransfers[];
275
+ /** * The explorer links for this transaction. */
276
+ explorers: Explorer[];
277
277
  constructor(data: TokenTransferItem);
278
278
  }
279
279
  declare class MethodCallsForTransfers {
@@ -21,7 +21,7 @@ export type Chains = "btc-mainnet" | "eth-mainnet" | "matic-mainnet" | "bsc-main
21
21
  * CovalentClient Class
22
22
  */
23
23
  export type Quotes = "USD" | "CAD" | "EUR" | "SGD" | "INR" | "JPY" | "VND" | "CNY" | "KRW" | "RUB" | "TRY" | "NGN" | "ARS" | "AUD" | "CHF" | "GBP";
24
- export declare const userAgent = "com.covalenthq.sdk.typescript/0.6.5";
24
+ export declare const userAgent = "com.covalenthq.sdk.typescript/0.6.6";
25
25
  export declare class Response<T> {
26
26
  data: T;
27
27
  error: boolean;
@@ -169,8 +169,6 @@ export interface BlockTransactionWithContractTransfers {
169
169
  pretty_gas_quote: string;
170
170
  /** * The native gas exchange rate for the requested `quote-currency`. */
171
171
  gas_quote_rate: number;
172
- /** * The explorer links for this transaction. */
173
- explorers: Explorer[];
174
172
  transfers: TokenTransferItem[];
175
173
  }
176
174
  export interface TokenTransferItem {
@@ -212,6 +210,8 @@ export interface TokenTransferItem {
212
210
  balance_quote: number;
213
211
  /** * Additional details on which transfer events were invoked. Defaults to `true`. */
214
212
  method_calls: MethodCallsForTransfers[];
213
+ /** * The explorer links for this transaction. */
214
+ explorers: Explorer[];
215
215
  }
216
216
  export interface MethodCallsForTransfers {
217
217
  /** * The address of the sender. */
package/dist/es/index.js CHANGED
@@ -657,7 +657,6 @@ class BlockTransactionWithContractTransfers {
657
657
  this.gas_quote = data.gas_quote;
658
658
  this.pretty_gas_quote = data.pretty_gas_quote;
659
659
  this.gas_quote_rate = data.gas_quote_rate;
660
- this.explorers = data.explorers && data.explorers !== null ? data.explorers.map((itemData) => new Explorer$1(itemData)) : null;
661
660
  this.transfers = data.transfers && data.transfers !== null ? data.transfers.map((itemData) => new TokenTransferItem(itemData)) : null;
662
661
  }
663
662
  }
@@ -696,6 +695,7 @@ class TokenTransferItem {
696
695
  this.pretty_delta_quote = data.pretty_delta_quote;
697
696
  this.balance_quote = data.balance_quote;
698
697
  this.method_calls = data.method_calls && data.method_calls !== null ? data.method_calls.map((itemData) => new MethodCallsForTransfers(itemData)) : null;
698
+ this.explorers = data.explorers && data.explorers !== null ? data.explorers.map((itemData) => new Explorer$1(itemData)) : null;
699
699
  }
700
700
  }
701
701
  class MethodCallsForTransfers {
@@ -6246,7 +6246,7 @@ class XykService {
6246
6246
  }
6247
6247
  }
6248
6248
 
6249
- const userAgent = "com.covalenthq.sdk.typescript/0.6.5";
6249
+ const userAgent = "com.covalenthq.sdk.typescript/0.6.6";
6250
6250
  /**
6251
6251
  * CovalentClient Class
6252
6252
  */