@medialane/sdk 0.131.0 → 0.133.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.
@@ -733,11 +733,9 @@ var ApiClient = class {
733
733
  }
734
734
  async upsertMyWallet(siwsToken, options = {}) {
735
735
  const body = {
736
- walletType: options.walletType ?? "UNKNOWN",
737
- appSource: options.appSource ?? "MEDIALANE_SDK"
736
+ walletType: options.walletType ?? "UNKNOWN"
738
737
  };
739
738
  if (options.chain) body.chain = options.chain;
740
- if (options.emailVerificationToken) body.emailVerificationToken = options.emailVerificationToken;
741
739
  if (options.email) body.email = options.email;
742
740
  if (options.accountToken) body.accountToken = options.accountToken;
743
741
  return this.request("/v1/users/me", {
@@ -760,7 +758,7 @@ var ApiClient = class {
760
758
  }
761
759
  async verifyEmailCode(email, code) {
762
760
  const body = await this.post("/v1/auth/email/verify-code", { email, code });
763
- return { token: body.token, waitingWallets: body.waitingWallets ?? [] };
761
+ return { waitingWallets: body.waitingWallets ?? [] };
764
762
  }
765
763
  claimWallet(params) {
766
764
  return this.post("/v1/users/me/claim-wallet", params);