@covalenthq/client-sdk 0.9.1 → 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 +9 -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/util/types/BaseServiceTypes.d.ts +16 -0
- package/dist/es/index.js +9 -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/util/types/BaseServiceTypes.d.ts +16 -0
- package/dist/esm/index.js +9 -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/util/types/BaseServiceTypes.d.ts +16 -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/util/types/BaseServiceTypes.d.ts +16 -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 {
|
|
@@ -7832,7 +7840,7 @@ class XykService {
|
|
|
7832
7840
|
}
|
|
7833
7841
|
}
|
|
7834
7842
|
|
|
7835
|
-
const userAgent = "com.covalenthq.sdk.typescript/0.9.
|
|
7843
|
+
const userAgent = "com.covalenthq.sdk.typescript/0.9.2";
|
|
7836
7844
|
class Response {
|
|
7837
7845
|
}
|
|
7838
7846
|
/**
|