@initia/initia.js 0.2.22 → 0.2.23
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/index.cjs.js +2 -2
- package/dist/index.es.js +3 -1
- package/dist/util/bcs.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -29317,6 +29317,7 @@ export {
|
|
|
29317
29317
|
Pt as WeightedVoteOption,
|
|
29318
29318
|
Gv as bcs,
|
|
29319
29319
|
Ds as checkDecimal,
|
|
29320
|
+
ul as fromLittleEndian,
|
|
29320
29321
|
od as hashToHex,
|
|
29321
29322
|
Jv as isTxError,
|
|
29322
29323
|
Wf as keccak256,
|
|
@@ -29326,5 +29327,6 @@ export {
|
|
|
29326
29327
|
jf as ripemd160,
|
|
29327
29328
|
dd as sha256,
|
|
29328
29329
|
nw as stateFromJSON,
|
|
29329
|
-
sw as stateToJSON
|
|
29330
|
+
sw as stateToJSON,
|
|
29331
|
+
ml as toLittleEndian
|
|
29330
29332
|
};
|
package/dist/util/bcs.d.ts
CHANGED
|
@@ -35,3 +35,5 @@ export declare const bcs: {
|
|
|
35
35
|
map<K, V, InputK = K, InputV = V>(keyType: import('@mysten/bcs').BcsType<K, InputK>, valueType: import('@mysten/bcs').BcsType<V, InputV>): import('@mysten/bcs').BcsType<Map<K, V>, Map<InputK, InputV>>;
|
|
36
36
|
lazy<T extends import('@mysten/bcs').BcsType<any>>(cb: () => T): T;
|
|
37
37
|
};
|
|
38
|
+
export declare function toLittleEndian(bigint: bigint): Uint8Array;
|
|
39
|
+
export declare function fromLittleEndian(bytes: number[]): bigint;
|