@msafe/sui3-sdk 0.0.53-pre-3a536f2.0 → 0.0.53

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@msafe/sui3-sdk",
3
- "version": "0.0.53-pre-3a536f2.0",
3
+ "version": "0.0.53",
4
4
  "description": "SDK for MSafe SUI V3",
5
5
  "type": "module",
6
6
  "module": "./dist/index.js",
@@ -21,15 +21,14 @@
21
21
  "author": "MSafe <admin@m-safe.io>",
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
+ "@msafe/sui-wallet": "^0.0.68-pre-33f4442.0",
25
+ "@msafe/sui3-utils": "^3.1.65",
26
+ "@mysten/sui.js": "0.53.0",
24
27
  "axios": "^1.6.6",
25
28
  "buffer": "^6.0.3"
26
29
  },
27
30
  "devDependencies": {
28
31
  "@msafe/mpay-sdk-sui": "^1.0.25",
29
- "@msafe/sui-app-store": "^0.0.120-pre-b188f5e.0",
30
- "@msafe/sui3-utils": "^3.1.66-pre-87fbadf.0",
31
- "@mysten/sui.js": "^0.54.1",
32
- "@mysten/wallet-standard": "^0.11.6",
33
32
  "@types/jest": "^29.5.8",
34
33
  "@types/node": "^20.9.2",
35
34
  "@typescript-eslint/eslint-plugin": "^6.5.0",
@@ -63,11 +62,5 @@
63
62
  "build": "yarn clean && tsup --platform browser --format cjs,esm --dts",
64
63
  "build-yalc": "yarn build && yalc publish --private",
65
64
  "prerelease": "yarn build && chmod +x ./scripts/prerelease.sh && ./scripts/prerelease.sh"
66
- },
67
- "peerDependencies": {
68
- "@msafe/sui-app-store": ">0.0.100",
69
- "@msafe/sui3-utils": ">3.0.0",
70
- "@mysten/sui.js": ">0.50.0",
71
- "@mysten/wallet-standard": ">0.11.0"
72
65
  }
73
66
  }
@@ -191,12 +191,9 @@ export class MSafeAccount {
191
191
  features: [],
192
192
  },
193
193
  });
194
- const sender = this.multiSig.publicKey.toSuiAddress();
195
- console.log('🚀 ~ MSafeAccount ~ sender:', sender);
196
194
  txb.setGasPrice(input.gasPrice);
197
195
  txb.setGasBudget(input.gasBudget);
198
- txb.setSender(sender);
199
- console.log('🚀 ~ MSafeAccount ~ sender:', sender, txb.blockData.sender);
196
+ txb.setSender(this.address);
200
197
  const payload = await txb.build({ client: this.globals.suiClient });
201
198
  const digest = await txb.getDigest({ client: this.globals.suiClient });
202
199
 
@@ -396,13 +393,6 @@ export class MSafeAccount {
396
393
  }
397
394
  }
398
395
  const multiSignature = this.multiSig.combinePartialSignatures(sortedSigs);
399
- console.log(
400
- '🚀 ~ MSafeAccount ~ executePendingTx ~ multiSignature:',
401
- this.multiSig.publicKey.toSuiAddress(),
402
- TransactionBlock.from(fromHEX(payload)).blockData.sender,
403
- this.multiSig.publicKeys.map((it) => it.publicKey.toBase64()),
404
- multiSignature,
405
- );
406
396
  return this.suiClient.executeTransactionBlock({
407
397
  transactionBlock: HexToUint8Array(payload),
408
398
  signature: multiSignature,