@covalenthq/client-sdk 2.1.0 → 2.1.1
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/cjs/index.js +2 -17
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/services/TransactionService.d.ts +0 -3
- package/dist/cjs/src/utils/types/Generic.types.d.ts +9 -4
- package/dist/cjs/src/utils/types/TransactionService.types.d.ts +0 -6
- package/dist/esm/index.js +2 -17
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/services/TransactionService.d.ts +0 -3
- package/dist/esm/src/utils/types/Generic.types.d.ts +9 -4
- package/dist/esm/src/utils/types/TransactionService.types.d.ts +0 -6
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var version = "2.1.
|
|
3
|
+
var version = "2.1.1";
|
|
4
4
|
|
|
5
5
|
const bigIntParser = (val) => {
|
|
6
6
|
if (val === null || val === undefined) {
|
|
@@ -1732,9 +1732,6 @@ class TransactionService {
|
|
|
1732
1732
|
* @param {GetTransactionQueryParamOpts} queryParamOpts
|
|
1733
1733
|
* - `quoteCurrency`: The currency to convert. Supports `USD`, `CAD`, `EUR`, `SGD`, `INR`, `JPY`, `VND`, `CNY`, `KRW`, `RUB`, `TRY`, `NGN`, `ARS`, `AUD`, `CHF`, and `GBP`.
|
|
1734
1734
|
* - `noLogs`: Omit log events.
|
|
1735
|
-
* - `withDex`: Decoded DEX details including protocol (e.g. Uniswap), event (e.g 'add_liquidity') and tokens involved with historical prices. Additional 0.05 credits charged if data available.
|
|
1736
|
-
* - `withNftSales`: Decoded NFT sales details including marketplace (e.g. Opensea) and cached media links. Additional 0.05 credits charged if data available.
|
|
1737
|
-
* - `withLending`: Decoded lending details including protocol (e.g. Aave), event (e.g. 'deposit') and tokens involved with prices. Additional 0.05 credits charged if data available.
|
|
1738
1735
|
* - `withSafe`: Include safe details.
|
|
1739
1736
|
*
|
|
1740
1737
|
*/
|
|
@@ -1748,18 +1745,6 @@ class TransactionService {
|
|
|
1748
1745
|
key: "no-logs",
|
|
1749
1746
|
value: queryParamOpts?.noLogs,
|
|
1750
1747
|
},
|
|
1751
|
-
{
|
|
1752
|
-
key: "with-dex",
|
|
1753
|
-
value: queryParamOpts?.withDex,
|
|
1754
|
-
},
|
|
1755
|
-
{
|
|
1756
|
-
key: "with-nft-sales",
|
|
1757
|
-
value: queryParamOpts?.withNftSales,
|
|
1758
|
-
},
|
|
1759
|
-
{
|
|
1760
|
-
key: "with-lending",
|
|
1761
|
-
value: queryParamOpts?.withLending,
|
|
1762
|
-
},
|
|
1763
1748
|
]);
|
|
1764
1749
|
const parseData = (data) => {
|
|
1765
1750
|
if (data.data) {
|
|
@@ -2459,7 +2444,7 @@ class Execution {
|
|
|
2459
2444
|
const parsedData = parseData(data);
|
|
2460
2445
|
completed = true;
|
|
2461
2446
|
return {
|
|
2462
|
-
data: parsedData.data
|
|
2447
|
+
data: parsedData.data,
|
|
2463
2448
|
error: false,
|
|
2464
2449
|
error_code: null,
|
|
2465
2450
|
error_message: null,
|