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

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.
@@ -37348,9 +37348,9 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
37348
37348
  this.element.className = css;
37349
37349
  this.title = "Social Mail Signup";
37350
37350
  const {
37351
- id
37352
- } = yield FetchBuilder.put("/api/users/captcha").responseAsJson();
37353
- this.model.captcha.id = id;
37351
+ id,
37352
+ accessCode
37353
+ } = this.model.captcha = yield FetchBuilder.put("/api/users/captcha").responseAsJson();
37354
37354
  this.renderer = XNode.create("div", null, XNode.create("div", null, XNode.create("div", {
37355
37355
  "data-max-width": "size-large"
37356
37356
  }, XNode.create(Form, null, XNode.create(FormField, {
@@ -37394,7 +37394,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
37394
37394
  }))), 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, {
37395
37395
  label: "Captcha"
37396
37396
  }, XNode.create("img", {
37397
- src: `/api/users/captcha/${id}`
37397
+ src: `/api/users/captcha/${id}/${accessCode}`
37398
37398
  })), XNode.create(FormField, {
37399
37399
  label: "Enter 5 Digit Code"
37400
37400
  }, XNode.create("input", {
@@ -57791,9 +57791,9 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
57791
57791
  this.hideToolbar = true;
57792
57792
  this.title = "Reset Password";
57793
57793
  const {
57794
- id
57795
- } = yield FetchBuilder.put(apiPath("/api/users/captcha")).responseAsJson();
57796
- this.model.captcha.id = id;
57794
+ id,
57795
+ accessCode
57796
+ } = this.model.captcha = yield FetchBuilder.put(apiPath("/api/users/captcha")).responseAsJson();
57797
57797
  this.render(XNode.create("div", {
57798
57798
  class: css
57799
57799
  }, XNode.create("div", {
@@ -57817,7 +57817,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
57817
57817
  }))), XNode.create(FormField, {
57818
57818
  label: "Captcha"
57819
57819
  }, XNode.create("img", {
57820
- src: apiPath(`/api/users/captcha/${id}`)
57820
+ src: apiPath(`/api/users/captcha/${id}/${accessCode}`)
57821
57821
  })), XNode.create(FormField, {
57822
57822
  label: "Enter 5 Digit Code"
57823
57823
  }, XNode.create("input", {