@msafe/sui3-sdk 0.0.49-pre-74b5d1d.0 → 0.0.49
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 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/core/MSafeClient.ts +3 -2
package/dist/index.cjs
CHANGED
|
@@ -44236,7 +44236,7 @@ var MSafeClient = class _MSafeClient {
|
|
|
44236
44236
|
this.backend.setJWTToken(jwt);
|
|
44237
44237
|
return jwt;
|
|
44238
44238
|
}
|
|
44239
|
-
async authSign(wallet) {
|
|
44239
|
+
async authSign(wallet, mockAddress) {
|
|
44240
44240
|
const messageStr = import_sui3_utils45.SigningMessageHelper.loginMessageWithTimestamp((/* @__PURE__ */ new Date()).toUTCString());
|
|
44241
44241
|
const sig = await wallet.signPersonalMessage({
|
|
44242
44242
|
messageStr
|
|
@@ -44245,7 +44245,8 @@ var MSafeClient = class _MSafeClient {
|
|
|
44245
44245
|
address: await wallet.address(),
|
|
44246
44246
|
message: messageStr,
|
|
44247
44247
|
signature: sig.signature,
|
|
44248
|
-
walletType: wallet.walletType
|
|
44248
|
+
walletType: wallet.walletType,
|
|
44249
|
+
mockAddress
|
|
44249
44250
|
});
|
|
44250
44251
|
}
|
|
44251
44252
|
async userInfo() {
|