@scallop-io/sui-kit 1.3.7 → 1.4.0-alpha.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/libs/suiTxBuilder/index.d.ts +18 -6
- package/dist/types/index.d.ts +0 -1
- package/package.json +5 -10
- package/src/types/index.ts +0 -1
|
@@ -233,8 +233,8 @@ export declare class SuiTxBlock {
|
|
|
233
233
|
})[];
|
|
234
234
|
gasConfig: {
|
|
235
235
|
payment?: {
|
|
236
|
-
objectId: string;
|
|
237
236
|
version: string | number | bigint;
|
|
237
|
+
objectId: string;
|
|
238
238
|
digest: string;
|
|
239
239
|
}[] | undefined;
|
|
240
240
|
owner?: string | undefined;
|
|
@@ -253,8 +253,8 @@ export declare class SuiTxBlock {
|
|
|
253
253
|
inputs: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
254
254
|
Object: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
255
255
|
ImmOrOwnedObject: {
|
|
256
|
-
objectId: string;
|
|
257
256
|
version: string | number;
|
|
257
|
+
objectId: string;
|
|
258
258
|
digest: string;
|
|
259
259
|
};
|
|
260
260
|
SharedObject: {
|
|
@@ -263,8 +263,8 @@ export declare class SuiTxBlock {
|
|
|
263
263
|
mutable: boolean;
|
|
264
264
|
};
|
|
265
265
|
Receiving: {
|
|
266
|
-
objectId: string;
|
|
267
266
|
version: string | number;
|
|
267
|
+
objectId: string;
|
|
268
268
|
digest: string;
|
|
269
269
|
};
|
|
270
270
|
}, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
|
|
@@ -518,8 +518,8 @@ export declare class SuiTxBlock {
|
|
|
518
518
|
}, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade" | "$Intent">[];
|
|
519
519
|
gasData: {
|
|
520
520
|
payment: {
|
|
521
|
-
objectId: string;
|
|
522
521
|
version: string | number;
|
|
522
|
+
objectId: string;
|
|
523
523
|
digest: string;
|
|
524
524
|
}[] | null;
|
|
525
525
|
owner: string | null;
|
|
@@ -614,9 +614,21 @@ export declare class SuiTxBlock {
|
|
|
614
614
|
transferSuiToMany(recipients: SuiAddressArg[], amounts: SuiAmountsArg[]): this;
|
|
615
615
|
transferSui(address: SuiAddressArg, amount: SuiAmountsArg): this;
|
|
616
616
|
takeAmountFromCoins(coins: SuiObjectArg[], amount: SuiAmountsArg): import("@mysten/sui/transactions").TransactionObjectArgument[];
|
|
617
|
-
splitSUIFromGas(amounts: SuiAmountsArg[]):
|
|
617
|
+
splitSUIFromGas(amounts: SuiAmountsArg[]): {
|
|
618
|
+
$kind: "Result";
|
|
619
|
+
Result: number;
|
|
620
|
+
} & {
|
|
621
|
+
$kind: "NestedResult";
|
|
622
|
+
NestedResult: [number, number];
|
|
623
|
+
}[];
|
|
618
624
|
splitMultiCoins(coins: SuiObjectArg[], amounts: SuiAmountsArg[]): {
|
|
619
|
-
splitedCoins:
|
|
625
|
+
splitedCoins: {
|
|
626
|
+
$kind: "Result";
|
|
627
|
+
Result: number;
|
|
628
|
+
} & {
|
|
629
|
+
$kind: "NestedResult";
|
|
630
|
+
NestedResult: [number, number];
|
|
631
|
+
}[];
|
|
620
632
|
mergedCoin: import("@mysten/sui/transactions").TransactionObjectArgument;
|
|
621
633
|
};
|
|
622
634
|
transferCoinToMany(coins: SuiObjectArg[], sender: SuiAddressArg, recipients: SuiAddressArg[], amounts: SuiAmountsArg[]): this;
|
package/dist/types/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scallop-io/sui-kit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0-alpha.1",
|
|
4
4
|
"description": "Toolkit for interacting with SUI network",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sui",
|
|
@@ -38,16 +38,11 @@
|
|
|
38
38
|
"src"
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@mysten/bcs": "^1.
|
|
42
|
-
"@mysten/sui": "^1.
|
|
43
|
-
"@
|
|
44
|
-
"@noble/hashes": "^1.4.0",
|
|
45
|
-
"@scure/bip39": "^1.3.0",
|
|
41
|
+
"@mysten/bcs": "^1.6.0",
|
|
42
|
+
"@mysten/sui": "^1.28.2",
|
|
43
|
+
"@scure/bip39": "^1.5.4",
|
|
46
44
|
"assert": "^2.1.0",
|
|
47
|
-
"bech32": "^2.0.0"
|
|
48
|
-
"superstruct": "^1.0.3",
|
|
49
|
-
"ts-retry-promise": "^0.7.1",
|
|
50
|
-
"tweetnacl": "^1.0.3"
|
|
45
|
+
"bech32": "^2.0.0"
|
|
51
46
|
},
|
|
52
47
|
"devDependencies": {
|
|
53
48
|
"@commitlint/cli": "^18.0.0",
|
package/src/types/index.ts
CHANGED