@thru/thru-sdk 0.1.30 → 0.1.34
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/{VersionInfo-CNh_p-_y.d.ts → VersionInfo-BGciKJJA.d.ts} +18 -6
- package/dist/{chunk-NXEQLBXB.js → chunk-ZLV6WP54.js} +195 -131
- package/dist/chunk-ZLV6WP54.js.map +1 -0
- package/dist/client.d.ts +1 -1
- package/dist/client.js +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/sdk.d.ts +8 -7
- package/dist/sdk.js +2 -2
- package/package.json +6 -5
- package/dist/chunk-NXEQLBXB.js.map +0 -1
|
@@ -884,13 +884,13 @@ declare enum AccountView {
|
|
|
884
884
|
}
|
|
885
885
|
|
|
886
886
|
/**
|
|
887
|
-
* BlockHash represents a
|
|
887
|
+
* BlockHash represents a 32-byte hash for block identifiers.
|
|
888
888
|
*
|
|
889
889
|
* @generated from message thru.core.v1.BlockHash
|
|
890
890
|
*/
|
|
891
891
|
type BlockHash = Message<"thru.core.v1.BlockHash"> & {
|
|
892
892
|
/**
|
|
893
|
-
*
|
|
893
|
+
* 32-byte block hash buffer.
|
|
894
894
|
*
|
|
895
895
|
* @generated from field: bytes value = 1;
|
|
896
896
|
*/
|
|
@@ -948,13 +948,17 @@ type BlockHeader$1 = Message<"thru.core.v1.BlockHeader"> & {
|
|
|
948
948
|
*/
|
|
949
949
|
maxStateUnits: number;
|
|
950
950
|
/**
|
|
951
|
-
* @generated from field: uint64
|
|
951
|
+
* @generated from field: uint64 bond_amount_lock_up = 12;
|
|
952
952
|
*/
|
|
953
|
-
|
|
953
|
+
bondAmountLockUp: bigint;
|
|
954
954
|
/**
|
|
955
955
|
* @generated from field: google.protobuf.Timestamp block_time = 13;
|
|
956
956
|
*/
|
|
957
957
|
blockTime?: Timestamp;
|
|
958
|
+
/**
|
|
959
|
+
* @generated from field: uint64 weight_slot = 14;
|
|
960
|
+
*/
|
|
961
|
+
weightSlot: bigint;
|
|
958
962
|
};
|
|
959
963
|
/**
|
|
960
964
|
* BlockFooter captures execution result metadata for a block.
|
|
@@ -978,6 +982,10 @@ type BlockFooter$1 = Message<"thru.core.v1.BlockFooter"> & {
|
|
|
978
982
|
* @generated from field: uint32 consumed_state_units = 4;
|
|
979
983
|
*/
|
|
980
984
|
consumedStateUnits: number;
|
|
985
|
+
/**
|
|
986
|
+
* @generated from field: uint64 attestor_payment = 5;
|
|
987
|
+
*/
|
|
988
|
+
attestorPayment: bigint;
|
|
981
989
|
};
|
|
982
990
|
/**
|
|
983
991
|
* Block represents a fully decoded block resource.
|
|
@@ -1728,12 +1736,14 @@ interface BlockFooterParams {
|
|
|
1728
1736
|
status: ExecutionStatus;
|
|
1729
1737
|
consumedComputeUnits: bigint;
|
|
1730
1738
|
consumedStateUnits: number;
|
|
1739
|
+
attestorPayment: bigint;
|
|
1731
1740
|
}
|
|
1732
1741
|
declare class BlockFooter {
|
|
1733
1742
|
readonly signature?: Uint8Array;
|
|
1734
1743
|
readonly status: ExecutionStatus;
|
|
1735
1744
|
readonly consumedComputeUnits: bigint;
|
|
1736
1745
|
readonly consumedStateUnits: number;
|
|
1746
|
+
readonly attestorPayment: bigint;
|
|
1737
1747
|
constructor(params: BlockFooterParams);
|
|
1738
1748
|
static fromProto(proto: BlockFooter$1): BlockFooter;
|
|
1739
1749
|
}
|
|
@@ -1749,7 +1759,8 @@ interface BlockHeaderParams {
|
|
|
1749
1759
|
maxBlockSize?: number;
|
|
1750
1760
|
maxComputeUnits?: bigint;
|
|
1751
1761
|
maxStateUnits?: number;
|
|
1752
|
-
|
|
1762
|
+
bondAmountLockUp?: bigint;
|
|
1763
|
+
weightSlot?: bigint;
|
|
1753
1764
|
blockHash?: Uint8Array;
|
|
1754
1765
|
}
|
|
1755
1766
|
declare class BlockHeader {
|
|
@@ -1763,7 +1774,8 @@ declare class BlockHeader {
|
|
|
1763
1774
|
readonly maxBlockSize?: number;
|
|
1764
1775
|
readonly maxComputeUnits?: bigint;
|
|
1765
1776
|
readonly maxStateUnits?: number;
|
|
1766
|
-
readonly
|
|
1777
|
+
readonly bondAmountLockUp?: bigint;
|
|
1778
|
+
readonly weightSlot?: bigint;
|
|
1767
1779
|
readonly blockHash?: Uint8Array;
|
|
1768
1780
|
constructor(params: BlockHeaderParams);
|
|
1769
1781
|
static fromProto(proto: BlockHeader$1): BlockHeader;
|