@msafe/sui3-sdk 0.0.52-pre-84992c2.0 → 0.0.52-pre-3eeb6fb.0
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/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/core/MSafeAccount.ts +3 -1
package/dist/index.cjs
CHANGED
|
@@ -43506,9 +43506,11 @@ var MSafeAccount = class _MSafeAccount {
|
|
|
43506
43506
|
features: []
|
|
43507
43507
|
}
|
|
43508
43508
|
});
|
|
43509
|
+
const userAddress = await this.wallet.address();
|
|
43510
|
+
console.log("\u{1F680} ~ MSafeAccount ~ userAddress:", userAddress);
|
|
43509
43511
|
txb.setGasPrice(input.gasPrice);
|
|
43510
43512
|
txb.setGasBudget(input.gasBudget);
|
|
43511
|
-
txb.setSender(
|
|
43513
|
+
txb.setSender(userAddress);
|
|
43512
43514
|
const payload = await txb.build({ client: this.globals.suiClient });
|
|
43513
43515
|
const digest = await txb.getDigest({ client: this.globals.suiClient });
|
|
43514
43516
|
const signature = await this.wallet.signTransactionBlock({ transactionBlock: payload });
|