@medialane/sdk 0.147.0 → 0.149.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.
@@ -754,6 +754,10 @@ var ApiClient = class {
754
754
  async verifyEmailCode(email, code) {
755
755
  await this.post("/v1/auth/email/verify-code", { email, code });
756
756
  }
757
+ async confirmEmail(token) {
758
+ const body = await this.post("/v1/auth/email/confirm", { token });
759
+ return { email: body.email };
760
+ }
757
761
  setupWalletKey(params) {
758
762
  return this.post("/v1/users/me/wallet/key", params);
759
763
  }