@msafe/sui3-sdk 0.0.53 → 0.0.55

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",
3
+ "version": "0.0.55",
4
4
  "description": "SDK for MSafe SUI V3",
5
5
  "type": "module",
6
6
  "module": "./dist/index.js",
@@ -21,14 +21,15 @@
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",
27
24
  "axios": "^1.6.6",
28
25
  "buffer": "^6.0.3"
29
26
  },
30
27
  "devDependencies": {
31
28
  "@msafe/mpay-sdk-sui": "^1.0.25",
29
+ "@msafe/sui-app-store": "^0.0.120",
30
+ "@msafe/sui3-utils": "^3.1.66",
31
+ "@mysten/sui.js": "^0.54.1",
32
+ "@mysten/wallet-standard": "^0.11.6",
32
33
  "@types/jest": "^29.5.8",
33
34
  "@types/node": "^20.9.2",
34
35
  "@typescript-eslint/eslint-plugin": "^6.5.0",
@@ -62,5 +63,11 @@
62
63
  "build": "yarn clean && tsup --platform browser --format cjs,esm --dts",
63
64
  "build-yalc": "yarn build && yalc publish --private",
64
65
  "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"
65
72
  }
66
73
  }
@@ -393,6 +393,13 @@ export class MSafeAccount {
393
393
  }
394
394
  }
395
395
  const multiSignature = this.multiSig.combinePartialSignatures(sortedSigs);
396
+ console.log(
397
+ '🚀 ~ MSafeAccount ~ executePendingTx ~ multiSignature:',
398
+ this.multiSig.publicKey.toSuiAddress(),
399
+ TransactionBlock.from(fromHEX(payload)).blockData.sender,
400
+ this.multiSig.publicKeys.map((it) => it.publicKey.toBase64()),
401
+ multiSignature,
402
+ );
396
403
  return this.suiClient.executeTransactionBlock({
397
404
  transactionBlock: HexToUint8Array(payload),
398
405
  signature: multiSignature,