@social-mail/social-mail-client 1.2.355 → 1.2.356

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.
@@ -54946,9 +54946,9 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
54946
54946
  this.element.className = css;
54947
54947
  this.title = "Social Mail Signup";
54948
54948
  const {
54949
- id
54950
- } = yield FetchBuilder.put("/api/users/captcha").responseAsJson();
54951
- this.model.captcha.id = id;
54949
+ id,
54950
+ accessCode
54951
+ } = this.model.captcha = yield FetchBuilder.put("/api/users/captcha").responseAsJson();
54952
54952
  this.renderer = XNode.create("div", null, XNode.create("div", null, XNode.create("div", {
54953
54953
  "data-max-width": "size-large"
54954
54954
  }, XNode.create(Form, null, XNode.create(FormField, {
@@ -54992,7 +54992,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
54992
54992
  }))), XNode.create("div", null, "We require phone number verification to prevent misuse and fraud over the email. And it will also help you in setting up two factor authentication to prevent hackers from accessing your private emails."), XNode.create("br", null), XNode.create("br", null), XNode.create(FormField, {
54993
54993
  label: "Captcha"
54994
54994
  }, XNode.create("img", {
54995
- src: `/api/users/captcha/${id}`
54995
+ src: `/api/users/captcha/${id}/${accessCode}`
54996
54996
  })), XNode.create(FormField, {
54997
54997
  label: "Enter 5 Digit Code"
54998
54998
  }, XNode.create("input", {
@@ -55513,9 +55513,9 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
55513
55513
  this.hideToolbar = true;
55514
55514
  this.title = "Reset Password";
55515
55515
  const {
55516
- id
55517
- } = yield FetchBuilder.put(apiPath("/api/users/captcha")).responseAsJson();
55518
- this.model.captcha.id = id;
55516
+ id,
55517
+ accessCode
55518
+ } = this.model.captcha = yield FetchBuilder.put(apiPath("/api/users/captcha")).responseAsJson();
55519
55519
  this.render(XNode.create("div", {
55520
55520
  class: css
55521
55521
  }, XNode.create("div", {
@@ -55539,7 +55539,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
55539
55539
  }))), XNode.create(FormField, {
55540
55540
  label: "Captcha"
55541
55541
  }, XNode.create("img", {
55542
- src: apiPath(`/api/users/captcha/${id}`)
55542
+ src: apiPath(`/api/users/captcha/${id}/${accessCode}`)
55543
55543
  })), XNode.create(FormField, {
55544
55544
  label: "Enter 5 Digit Code"
55545
55545
  }, XNode.create("input", {