@covalenthq/client-sdk 0.9.9 → 1.0.0

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.
Files changed (38) hide show
  1. package/dist/cjs/index.js +5 -1
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/services/BaseService.d.ts +4 -0
  4. package/dist/cjs/services/CovalentClient.d.ts +1 -1
  5. package/dist/cjs/services/NftService.d.ts +2 -0
  6. package/dist/cjs/services/TransactionService.d.ts +2 -0
  7. package/dist/cjs/util/types/BaseServiceTypes.d.ts +2 -0
  8. package/dist/cjs/util/types/GenericTypes.d.ts +2 -0
  9. package/dist/es/index.js +5 -1
  10. package/dist/es/index.js.map +1 -1
  11. package/dist/es/services/BaseService.d.ts +4 -0
  12. package/dist/es/services/CovalentClient.d.ts +1 -1
  13. package/dist/es/services/NftService.d.ts +2 -0
  14. package/dist/es/services/TransactionService.d.ts +2 -0
  15. package/dist/es/util/types/BaseServiceTypes.d.ts +2 -0
  16. package/dist/es/util/types/GenericTypes.d.ts +2 -0
  17. package/dist/esm/index.js +5 -1
  18. package/dist/esm/index.js.map +1 -1
  19. package/dist/esm/services/BaseService.d.ts +4 -0
  20. package/dist/esm/services/CovalentClient.d.ts +1 -1
  21. package/dist/esm/services/NftService.d.ts +2 -0
  22. package/dist/esm/services/TransactionService.d.ts +2 -0
  23. package/dist/esm/util/types/BaseServiceTypes.d.ts +2 -0
  24. package/dist/esm/util/types/GenericTypes.d.ts +2 -0
  25. package/dist/services/BaseService.d.ts +4 -0
  26. package/dist/services/BaseService.js +2 -0
  27. package/dist/services/BaseService.js.map +1 -1
  28. package/dist/services/CovalentClient.d.ts +1 -1
  29. package/dist/services/CovalentClient.js +1 -1
  30. package/dist/services/NftService.d.ts +2 -0
  31. package/dist/services/NftService.js +1 -0
  32. package/dist/services/NftService.js.map +1 -1
  33. package/dist/services/TransactionService.d.ts +2 -0
  34. package/dist/services/TransactionService.js +1 -0
  35. package/dist/services/TransactionService.js.map +1 -1
  36. package/dist/util/types/BaseServiceTypes.d.ts +2 -0
  37. package/dist/util/types/GenericTypes.d.ts +2 -0
  38. package/package.json +1 -1
@@ -118,6 +118,8 @@ declare class GetLogsEvent {
118
118
  sender_address: string;
119
119
  /** * The label of the sender address. */
120
120
  sender_address_label: string;
121
+ /** * A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`. */
122
+ supports_erc: string[];
121
123
  /** * The contract logo URL. */
122
124
  sender_logo_url: string;
123
125
  /** * The address of the deployed UniswapV2 like factory contract for this DEX. */
@@ -179,6 +181,8 @@ declare class LogEvent {
179
181
  sender_address_label: string;
180
182
  /** * The contract logo URL. */
181
183
  sender_logo_url: string;
184
+ /** * A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`. */
185
+ supports_erc: string[];
182
186
  /** * The address of the deployed UniswapV2 like factory contract for this DEX. */
183
187
  sender_factory_address: string;
184
188
  /** * The log events in raw. */
@@ -9,7 +9,7 @@ export type Chain = "btc-mainnet" | "eth-mainnet" | "matic-mainnet" | "bsc-mainn
9
9
  export type Quote = "USD" | "CAD" | "EUR" | "SGD" | "INR" | "JPY" | "VND" | "CNY" | "KRW" | "RUB" | "TRY" | "NGN" | "ARS" | "AUD" | "CHF" | "GBP";
10
10
  export type ChainID = 20090103 | 1 | 137 | 56 | 43114 | 10 | 250 | 1284 | 1285 | 30 | 42161 | 11297108109 | 8217 | 128 | 71402 | 2020 | 9001 | 592 | 4689 | 1666600000 | 25 | 1313161554 | 42262 | 288 | 5 | 80001 | 43113 | 97 | 1287 | 31 | 421613 | 4002 | 11297108099 | 256 | 71401 | 9000 | 4690 | 1666700000 | 1313161555 | 534354 | 534351 | 1131378225 | 53935 | 73772 | 43288 | 1294 | 56288 | 28 | 1297 | 9728 | 4328 | 1001 | 192837465 | 356256156 | 1564830818 | 278611351 | 432204 | 1026062157 | 432201 | 81 | 338 | 335 | 1088 | 588 | 2002 | 200202 | 2001 | 200101 | 73773 | 1399811149 | 2046399126 | 82 | 83 | 2139927552 | 2888 | 245022926 | 344106930 | 476158412 | 42170 | 7700 | 119 | 1029 | 14 | 114 | 19 | 16 | 321 | 322 | 1422 | 59140 | 84531 | 5001 | 534353 | 248 | 9372 | 2152 | 2154 | 416 | 23294 | 23295 | 420 | 1101 | 1662 | 1024 | 39797 | 49797 | 1663 | 11155111 | 1482601649 | 644937893 | 222000222 | 49321 | 1231 | 1230 | 7777777 | 999 | 245022934 | 2044 | 8453 | 5000 | 262018 | 59144 | 7332 | 10507 | 7979 | 1234 | 1228 | 8888 | 333000333 | 12008 | 12011 | 2038 | 1995 | 12010 | 51178 | 12009 | 12012 | 324 | 599 | 280 | 1343 | 11115 | 6765897100 | 1079 | 13337 | 16350 | 1990 | 20221 | 5611 | 12018 | 12013 | 12020 | 12015 | 12016 | 12014 | 12017 | 12019 | 431234 | 6119 | 73 | 7001 | 42888 | 919 | 5151706 | 923018 | 3441005 | 424 | 58008 | 100 | 10200 | 570 | 57000 | 167007 | 11155420 | 204 | 40 | 41 | 321123 | 360163 | 78431 | 2037 | 17772 | 152703 | 894538 | 179188 | 78432 | 7777 | 986532 | 78430 | 2195 | 11111 | 3012 | 4337 | 534352 | 17000 | 88 | 89 | 20765 | 84532 | 47279324479 | 421614 | 12027 | 12028 | 12029 | 31330 | 31331 | 31332 | 31333 | 31334 | 31335 | 412346 | 8545 | 42220 | 167008 | 336 | 999999999 | 4200 | 686868 | 1992 | 660279;
11
11
  export type Source = "Ponder" | "GoldRush" | "Viem";
12
- export declare const userAgent = "com.covalenthq.sdk.typescript/0.9.9";
12
+ export declare const userAgent = "com.covalenthq.sdk.typescript/1.0.0";
13
13
  export declare class Response<T> {
14
14
  data: T;
15
15
  error: boolean;
@@ -223,6 +223,8 @@ declare class LogEvent {
223
223
  sender_address_label: string;
224
224
  /** * The contract logo URL. */
225
225
  sender_logo_url: string;
226
+ /** * A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`. */
227
+ supports_erc: string[];
226
228
  /** * The address of the deployed UniswapV2 like factory contract for this DEX. */
227
229
  sender_factory_address: string;
228
230
  /** * The log events in raw. */
@@ -305,6 +305,8 @@ declare class LogEvent {
305
305
  sender_address_label: string;
306
306
  /** * The contract logo URL. */
307
307
  sender_logo_url: string;
308
+ /** * A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`. */
309
+ supports_erc: string[];
308
310
  /** * The address of the deployed UniswapV2 like factory contract for this DEX. */
309
311
  sender_factory_address: string;
310
312
  /** * The log events in raw. */
@@ -99,6 +99,8 @@ export interface GetLogsEvent {
99
99
  sender_address: string;
100
100
  /** * The label of the sender address. */
101
101
  sender_address_label: string;
102
+ /** * A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`. */
103
+ supports_erc: string[];
102
104
  /** * The contract logo URL. */
103
105
  sender_logo_url: string;
104
106
  /** * The address of the deployed UniswapV2 like factory contract for this DEX. */
@@ -77,6 +77,8 @@ export interface LogEvent {
77
77
  sender_address_label: string;
78
78
  /** * The contract logo URL. */
79
79
  sender_logo_url: string;
80
+ /** * A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`. */
81
+ supports_erc: string[];
80
82
  /** * The address of the deployed UniswapV2 like factory contract for this DEX. */
81
83
  sender_factory_address: string;
82
84
  /** * The log events in raw. */
package/dist/esm/index.js CHANGED
@@ -1556,6 +1556,7 @@ class GetLogsEvent {
1556
1556
  this.sender_contract_ticker_symbol = data.sender_contract_ticker_symbol;
1557
1557
  this.sender_address = data.sender_address;
1558
1558
  this.sender_address_label = data.sender_address_label;
1559
+ this.supports_erc = data.supports_erc;
1559
1560
  this.sender_logo_url = data.sender_logo_url;
1560
1561
  this.sender_factory_address = data.sender_factory_address;
1561
1562
  this.raw_log_data = data.raw_log_data;
@@ -1601,6 +1602,7 @@ let LogEvent$2 = class LogEvent {
1601
1602
  this.sender_address = data.sender_address;
1602
1603
  this.sender_address_label = data.sender_address_label;
1603
1604
  this.sender_logo_url = data.sender_logo_url;
1605
+ this.supports_erc = data.supports_erc;
1604
1606
  this.sender_factory_address = data.sender_factory_address;
1605
1607
  this.raw_log_data = data.raw_log_data;
1606
1608
  this.decoded = data.decoded && data.decoded !== null ? new DecodedItem$2(data.decoded) : null;
@@ -2822,6 +2824,7 @@ let LogEvent$1 = class LogEvent {
2822
2824
  this.sender_address = data.sender_address;
2823
2825
  this.sender_address_label = data.sender_address_label;
2824
2826
  this.sender_logo_url = data.sender_logo_url;
2827
+ this.supports_erc = data.supports_erc;
2825
2828
  this.sender_factory_address = data.sender_factory_address;
2826
2829
  this.raw_log_data = data.raw_log_data;
2827
2830
  this.decoded = data.decoded && data.decoded !== null ? new DecodedItem$1(data.decoded) : null;
@@ -4479,6 +4482,7 @@ class LogEvent {
4479
4482
  this.sender_address = data.sender_address;
4480
4483
  this.sender_address_label = data.sender_address_label;
4481
4484
  this.sender_logo_url = data.sender_logo_url;
4485
+ this.supports_erc = data.supports_erc;
4482
4486
  this.sender_factory_address = data.sender_factory_address;
4483
4487
  this.raw_log_data = data.raw_log_data;
4484
4488
  this.decoded = data.decoded && data.decoded !== null ? new DecodedItem(data.decoded) : null;
@@ -7794,7 +7798,7 @@ class XykService {
7794
7798
  }
7795
7799
  }
7796
7800
 
7797
- const userAgent = "com.covalenthq.sdk.typescript/0.9.9";
7801
+ const userAgent = "com.covalenthq.sdk.typescript/1.0.0";
7798
7802
  class Response {
7799
7803
  }
7800
7804
  /**