@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.
@@ -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[]): import("@mysten/sui/transactions").TransactionResult;
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: import("@mysten/sui/transactions").TransactionResult;
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;
@@ -15,7 +15,6 @@ export type NetworkType = 'testnet' | 'mainnet' | 'devnet' | 'localnet';
15
15
  export type AccountManagerParams = {
16
16
  mnemonics?: string;
17
17
  secretKey?: string;
18
- allowRandomMnemonics?: boolean;
19
18
  };
20
19
  export type DerivePathParams = {
21
20
  accountIndex?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scallop-io/sui-kit",
3
- "version": "1.3.7",
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.2.0",
42
- "@mysten/sui": "^1.3.1",
43
- "@noble/curves": "^1.4.2",
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",
@@ -28,7 +28,6 @@ export type NetworkType = 'testnet' | 'mainnet' | 'devnet' | 'localnet';
28
28
  export type AccountManagerParams = {
29
29
  mnemonics?: string;
30
30
  secretKey?: string;
31
- allowRandomMnemonics?: boolean;
32
31
  };
33
32
 
34
33
  export type DerivePathParams = {