@typemove/sui 1.12.0 → 1.13.0-rc.1
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/builtin/0x1.d.ts +10 -0
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js +109 -1
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x2.d.ts +4 -0
- package/dist/cjs/builtin/0x2.d.ts.map +1 -1
- package/dist/cjs/builtin/0x2.js +54 -1
- package/dist/cjs/builtin/0x2.js.map +1 -1
- package/dist/cjs/move-coder.d.ts.map +1 -1
- package/dist/cjs/move-coder.js +1 -0
- package/dist/cjs/move-coder.js.map +1 -1
- package/dist/esm/builtin/0x1.d.ts +10 -0
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js +109 -1
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x2.d.ts +4 -0
- package/dist/esm/builtin/0x2.d.ts.map +1 -1
- package/dist/esm/builtin/0x2.js +54 -1
- package/dist/esm/builtin/0x2.js.map +1 -1
- package/dist/esm/move-coder.d.ts.map +1 -1
- package/dist/esm/move-coder.js +2 -1
- package/dist/esm/move-coder.js.map +1 -1
- package/package.json +2 -2
- package/src/abis/0x1.json +123 -0
- package/src/abis/0x2.json +67 -0
- package/src/builtin/0x1.ts +153 -1
- package/src/builtin/0x2.ts +74 -1
- package/src/move-coder.ts +2 -0
|
@@ -3763,6 +3763,7 @@ export declare namespace vec_map {
|
|
|
3763
3763
|
function intoKeysValues<T0 = any, T1 = any>(tx: Transaction, args: [vec_map.VecMap<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
3764
3764
|
function isEmpty<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
3765
3765
|
function keys<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
3766
|
+
function length<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
3766
3767
|
function pop<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
3767
3768
|
function remove<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
3768
3769
|
string | TransactionObjectArgument,
|
|
@@ -3790,6 +3791,7 @@ export declare namespace vec_map {
|
|
|
3790
3791
|
function intoKeysValues<T0 = any, T1 = any>(client: SuiClient, args: [vec_map.VecMap<T0, T1>], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T0[], T1[]]>>;
|
|
3791
3792
|
function isEmpty<T0 = any, T1 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
3792
3793
|
function keys<T0 = any, T1 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T0[]]>>;
|
|
3794
|
+
function length<T0 = any, T1 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
3793
3795
|
function pop<T0 = any, T1 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T0, T1]>>;
|
|
3794
3796
|
function remove<T0 = any, T1 = any>(client: SuiClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T0, T1]>>;
|
|
3795
3797
|
function removeEntryByIdx<T0 = any, T1 = any>(client: SuiClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T0, T1]>>;
|
|
@@ -3820,6 +3822,7 @@ export declare namespace vec_set {
|
|
|
3820
3822
|
function intoKeys<T0 = any>(tx: Transaction, args: [vec_set.VecSet<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
3821
3823
|
function isEmpty<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
3822
3824
|
function keys<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
3825
|
+
function length<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
3823
3826
|
function remove<T0 = any>(tx: Transaction, args: [
|
|
3824
3827
|
string | TransactionObjectArgument,
|
|
3825
3828
|
string | TransactionObjectArgument
|
|
@@ -3835,6 +3838,7 @@ export declare namespace vec_set {
|
|
|
3835
3838
|
function intoKeys<T0 = any>(client: SuiClient, args: [vec_set.VecSet<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0[]]>>;
|
|
3836
3839
|
function isEmpty<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
3837
3840
|
function keys<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
3841
|
+
function length<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
3838
3842
|
function remove<T0 = any>(client: SuiClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
3839
3843
|
function singleton<T0 = any>(client: SuiClient, args: [T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[vec_set.VecSet<T0>]>>;
|
|
3840
3844
|
function size<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|