@covalenthq/client-sdk 0.9.0 → 0.9.2
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 +11 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/services/BaseService.d.ts +16 -0
- package/dist/cjs/services/CovalentClient.d.ts +1 -1
- package/dist/cjs/services/XykService.d.ts +4 -0
- package/dist/cjs/util/types/BaseServiceTypes.d.ts +16 -0
- package/dist/cjs/util/types/XykServiceTypes.d.ts +4 -0
- package/dist/es/index.js +11 -1
- package/dist/es/index.js.map +1 -1
- package/dist/es/services/BaseService.d.ts +16 -0
- package/dist/es/services/CovalentClient.d.ts +1 -1
- package/dist/es/services/XykService.d.ts +4 -0
- package/dist/es/util/types/BaseServiceTypes.d.ts +16 -0
- package/dist/es/util/types/XykServiceTypes.d.ts +4 -0
- package/dist/esm/index.js +11 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/services/BaseService.d.ts +16 -0
- package/dist/esm/services/CovalentClient.d.ts +1 -1
- package/dist/esm/services/XykService.d.ts +4 -0
- package/dist/esm/util/types/BaseServiceTypes.d.ts +16 -0
- package/dist/esm/util/types/XykServiceTypes.d.ts +4 -0
- package/dist/services/BaseService.d.ts +16 -0
- package/dist/services/BaseService.js +8 -0
- package/dist/services/BaseService.js.map +1 -1
- package/dist/services/CovalentClient.d.ts +1 -1
- package/dist/services/CovalentClient.js +1 -1
- package/dist/services/XykService.d.ts +4 -0
- package/dist/services/XykService.js +2 -0
- package/dist/services/XykService.js.map +1 -1
- package/dist/util/types/BaseServiceTypes.d.ts +16 -0
- package/dist/util/types/XykServiceTypes.d.ts +4 -0
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -1502,8 +1502,16 @@ class BlockResponse {
|
|
|
1502
1502
|
}
|
|
1503
1503
|
class Block {
|
|
1504
1504
|
constructor(data) {
|
|
1505
|
+
this.block_hash = data.block_hash;
|
|
1505
1506
|
this.signed_at = data.signed_at && data.signed_at !== null ? dateFns.parseISO(data.signed_at.toString()) : null;
|
|
1506
1507
|
this.height = data.height;
|
|
1508
|
+
this.block_parent_hash = data.block_parent_hash;
|
|
1509
|
+
this.extra_data = data.extra_data;
|
|
1510
|
+
this.miner_address = data.miner_address;
|
|
1511
|
+
this.mining_cost = data.mining_cost;
|
|
1512
|
+
this.gas_used = data.gas_used;
|
|
1513
|
+
this.gas_limit = data.gas_limit;
|
|
1514
|
+
this.transactions_link = data.transactions_link;
|
|
1507
1515
|
}
|
|
1508
1516
|
}
|
|
1509
1517
|
class ResolvedAddress {
|
|
@@ -6191,6 +6199,8 @@ class PoolsDexDataItem {
|
|
|
6191
6199
|
this.volume_24h_quote = data.volume_24h_quote;
|
|
6192
6200
|
this.volume_7d_quote = data.volume_7d_quote;
|
|
6193
6201
|
this.fee_24h_quote = data.fee_24h_quote;
|
|
6202
|
+
this.quote_rate = data.quote_rate;
|
|
6203
|
+
this.pretty_quote_rate = data.pretty_quote_rate;
|
|
6194
6204
|
this.annualized_fee = data.annualized_fee;
|
|
6195
6205
|
this.pretty_volume_24h_quote = data.pretty_volume_24h_quote;
|
|
6196
6206
|
this.pretty_volume_7d_quote = data.pretty_volume_7d_quote;
|
|
@@ -7830,7 +7840,7 @@ class XykService {
|
|
|
7830
7840
|
}
|
|
7831
7841
|
}
|
|
7832
7842
|
|
|
7833
|
-
const userAgent = "com.covalenthq.sdk.typescript/0.9.
|
|
7843
|
+
const userAgent = "com.covalenthq.sdk.typescript/0.9.2";
|
|
7834
7844
|
class Response {
|
|
7835
7845
|
}
|
|
7836
7846
|
/**
|