@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.d.cts CHANGED
@@ -345,6 +345,7 @@ declare class MSafeClient {
345
345
  connectWallet(input: {
346
346
  wallet: IWallet;
347
347
  jwtToken?: JWTToken;
348
+ mockAddress?: string;
348
349
  }): Promise<JWTToken>;
349
350
  private authSign;
350
351
  userInfo(): Promise<_msafe_sui3_utils.IUserInfoResp>;
package/dist/index.d.ts CHANGED
@@ -345,6 +345,7 @@ declare class MSafeClient {
345
345
  connectWallet(input: {
346
346
  wallet: IWallet;
347
347
  jwtToken?: JWTToken;
348
+ mockAddress?: string;
348
349
  }): Promise<JWTToken>;
349
350
  private authSign;
350
351
  userInfo(): Promise<_msafe_sui3_utils.IUserInfoResp>;
package/dist/index.js CHANGED
@@ -44229,7 +44229,7 @@ var MSafeClient = class _MSafeClient {
44229
44229
  this.backend.setJWTToken(jwt);
44230
44230
  return jwt;
44231
44231
  }
44232
- async authSign(wallet) {
44232
+ async authSign(wallet, mockAddress) {
44233
44233
  const messageStr = SigningMessageHelper4.loginMessageWithTimestamp((/* @__PURE__ */ new Date()).toUTCString());
44234
44234
  const sig = await wallet.signPersonalMessage({
44235
44235
  messageStr
@@ -44238,7 +44238,8 @@ var MSafeClient = class _MSafeClient {
44238
44238
  address: await wallet.address(),
44239
44239
  message: messageStr,
44240
44240
  signature: sig.signature,
44241
- walletType: wallet.walletType
44241
+ walletType: wallet.walletType,
44242
+ mockAddress
44242
44243
  });
44243
44244
  }
44244
44245
  async userInfo() {