@initia/initia.js 1.0.11 → 1.0.12
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/core/Msg.d.ts +5 -4
- package/dist/core/index.d.ts +1 -0
- package/dist/core/wasmextension/AccessConfigExt.d.ts +28 -0
- package/dist/core/wasmextension/index.d.ts +2 -0
- package/dist/core/wasmextension/msgs/MsgStoreCodeAdmin.d.ts +39 -0
- package/dist/core/wasmextension/msgs/index.d.ts +8 -0
- package/dist/index.cjs +6 -6
- package/dist/index.mjs +14770 -14320
- package/dist/util/bcs.d.ts +9 -5
- package/package.json +2 -2
package/dist/util/bcs.d.ts
CHANGED
|
@@ -2,12 +2,12 @@ import { BcsTypeOptions } from '@mysten/bcs';
|
|
|
2
2
|
export declare const bcs: {
|
|
3
3
|
address: (options?: BcsTypeOptions<Uint8Array, Iterable<number>>) => import('@mysten/bcs').BcsType<string, string>;
|
|
4
4
|
object: (options?: BcsTypeOptions<Uint8Array, Iterable<number>>) => import('@mysten/bcs').BcsType<string, string>;
|
|
5
|
-
fixed_point32: (options?:
|
|
6
|
-
fixed_point64: (options?:
|
|
7
|
-
decimal128: (options?:
|
|
8
|
-
decimal256: (options?:
|
|
5
|
+
fixed_point32: (options?: DecimalBcsTypeOptions<string, string | number | bigint>) => import('@mysten/bcs').BcsType<string | number, string | number>;
|
|
6
|
+
fixed_point64: (options?: DecimalBcsTypeOptions<string, string | number | bigint>) => import('@mysten/bcs').BcsType<string | number, string | number>;
|
|
7
|
+
decimal128: (options?: DecimalBcsTypeOptions<string, string | number | bigint>) => import('@mysten/bcs').BcsType<string | number, string | number>;
|
|
8
|
+
decimal256: (options?: DecimalBcsTypeOptions<string, string | number | bigint>) => import('@mysten/bcs').BcsType<string | number, string | number>;
|
|
9
9
|
biguint: (options?: BcsTypeOptions<string, string | number | bigint>) => import('@mysten/bcs').BcsType<bigint, string | number | bigint>;
|
|
10
|
-
bigdecimal: (options?:
|
|
10
|
+
bigdecimal: (options?: DecimalBcsTypeOptions<string, string | number>) => import('@mysten/bcs').BcsType<string | number, string | number>;
|
|
11
11
|
u8(options?: BcsTypeOptions<number>): import('@mysten/bcs').BcsType<number, number>;
|
|
12
12
|
u16(options?: BcsTypeOptions<number>): import('@mysten/bcs').BcsType<number, number>;
|
|
13
13
|
u32(options?: BcsTypeOptions<number>): import('@mysten/bcs').BcsType<number, number>;
|
|
@@ -38,3 +38,7 @@ export declare const bcs: {
|
|
|
38
38
|
};
|
|
39
39
|
export declare function toLittleEndian(bigint: bigint): Uint8Array;
|
|
40
40
|
export declare function fromLittleEndian(bytes: number[]): bigint;
|
|
41
|
+
type DecimalBcsTypeOptions<T, Input> = BcsTypeOptions<T, Input> & {
|
|
42
|
+
outputAsNumber?: boolean;
|
|
43
|
+
};
|
|
44
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@initia/initia.js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
4
4
|
"description": "The JavaScript SDK for Initia",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Initia Foundation",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@bitcoinerlab/secp256k1": "^1.1.1",
|
|
61
|
-
"@initia/initia.proto": "^1.0.
|
|
61
|
+
"@initia/initia.proto": "^1.0.3",
|
|
62
62
|
"@initia/opinit.proto": "^1.0.2",
|
|
63
63
|
"@ledgerhq/hw-app-eth": "^6.45.5",
|
|
64
64
|
"@ledgerhq/hw-transport": "^6.31.5",
|