@authme/identity-verification 2.8.54 → 2.8.55

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/index.cjs.js CHANGED
@@ -29332,7 +29332,7 @@ const modal = arg => {
29332
29332
  domTitle.innerText = arg.title;
29333
29333
  domSubtitle.innerText = arg.subtitle;
29334
29334
  domImage.src = arg.image;
29335
- domContent.innerHTML = arg.content;
29335
+ domContent.textContent = arg.content;
29336
29336
  domClose.innerHTML = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M19.1943 6.41714C19.6393 5.97216 19.6393 5.2507 19.1943 4.80571C18.7493 4.36073 18.0278 4.36073 17.5829 4.80571L12 10.3886L6.41714 4.80572C5.97216 4.36073 5.2507 4.36073 4.80571 4.80571C4.36073 5.2507 4.36073 5.97216 4.80571 6.41714L10.3886 12L4.80571 17.5829C4.36073 18.0278 4.36073 18.7493 4.80571 19.1943C5.2507 19.6393 5.97216 19.6393 6.41714 19.1943L12 13.6114L17.5829 19.1943C18.0278 19.6393 18.7493 19.6393 19.1943 19.1943C19.6393 18.7493 19.6393 18.0278 19.1943 17.5829L13.6114 12L19.1943 6.41714Z" fill="${uiThemeConfig.nonEkycCloseButton.contentColor}" fill-opacity="${uiThemeConfig.nonEkycCloseButton.contentOpacity}" /></svg>`;
29337
29337
  domConfirm.innerText = arg.confirm;
29338
29338
  domClose.addEventListener('click', async () => {
@@ -31561,7 +31561,7 @@ const toast = arg => {
31561
31561
  } else {
31562
31562
  toast.style.opacity = '1';
31563
31563
  }
31564
- toast.innerHTML = message;
31564
+ toast.textContent = message;
31565
31565
  document.body.appendChild(toast);
31566
31566
  timer = setTimeout(() => {
31567
31567
  clearStatus = true;
@@ -31810,7 +31810,7 @@ const popupView = arg => {
31810
31810
  }
31811
31811
  if (arg.cancel) {
31812
31812
  util.uiThemeSmallButton(domCancel, uiThemeConfig.smallerMinorButton);
31813
- domCancel.innerHTML = arg.cancel;
31813
+ domCancel.textContent = arg.cancel;
31814
31814
  domCancel.addEventListener('click', async () => {
31815
31815
  if (arg.onCancel) {
31816
31816
  arg.onCancel();
@@ -31824,9 +31824,9 @@ const popupView = arg => {
31824
31824
  }
31825
31825
  removePopview();
31826
31826
  });
31827
- domTitle.innerHTML = arg.title;
31828
- domContent.innerHTML = arg.content;
31829
- domConfirm.innerHTML = arg.confirm;
31827
+ domTitle.textContent = arg.title;
31828
+ domContent.textContent = arg.content;
31829
+ domConfirm.textContent = arg.confirm;
31830
31830
  domPopupViewContainer.appendChild(domTitleContainer);
31831
31831
  domTitleContainer.appendChild(domTitle);
31832
31832
  domPopupViewContainer.appendChild(domContentContainer);
@@ -37361,7 +37361,7 @@ class AuthmeIdentityVerification extends engine.AuthmeFunctionModule {
37361
37361
  }
37362
37362
 
37363
37363
  var name = "authme/sdk";
37364
- var version$1 = "2.8.54";
37364
+ var version$1 = "2.8.55";
37365
37365
  var packageInfo = {
37366
37366
  name: name,
37367
37367
  version: version$1};
package/index.esm.js CHANGED
@@ -29330,7 +29330,7 @@ const modal = arg => {
29330
29330
  domTitle.innerText = arg.title;
29331
29331
  domSubtitle.innerText = arg.subtitle;
29332
29332
  domImage.src = arg.image;
29333
- domContent.innerHTML = arg.content;
29333
+ domContent.textContent = arg.content;
29334
29334
  domClose.innerHTML = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M19.1943 6.41714C19.6393 5.97216 19.6393 5.2507 19.1943 4.80571C18.7493 4.36073 18.0278 4.36073 17.5829 4.80571L12 10.3886L6.41714 4.80572C5.97216 4.36073 5.2507 4.36073 4.80571 4.80571C4.36073 5.2507 4.36073 5.97216 4.80571 6.41714L10.3886 12L4.80571 17.5829C4.36073 18.0278 4.36073 18.7493 4.80571 19.1943C5.2507 19.6393 5.97216 19.6393 6.41714 19.1943L12 13.6114L17.5829 19.1943C18.0278 19.6393 18.7493 19.6393 19.1943 19.1943C19.6393 18.7493 19.6393 18.0278 19.1943 17.5829L13.6114 12L19.1943 6.41714Z" fill="${uiThemeConfig.nonEkycCloseButton.contentColor}" fill-opacity="${uiThemeConfig.nonEkycCloseButton.contentOpacity}" /></svg>`;
29335
29335
  domConfirm.innerText = arg.confirm;
29336
29336
  domClose.addEventListener('click', async () => {
@@ -31559,7 +31559,7 @@ const toast = arg => {
31559
31559
  } else {
31560
31560
  toast.style.opacity = '1';
31561
31561
  }
31562
- toast.innerHTML = message;
31562
+ toast.textContent = message;
31563
31563
  document.body.appendChild(toast);
31564
31564
  timer = setTimeout(() => {
31565
31565
  clearStatus = true;
@@ -31808,7 +31808,7 @@ const popupView = arg => {
31808
31808
  }
31809
31809
  if (arg.cancel) {
31810
31810
  uiThemeSmallButton(domCancel, uiThemeConfig.smallerMinorButton);
31811
- domCancel.innerHTML = arg.cancel;
31811
+ domCancel.textContent = arg.cancel;
31812
31812
  domCancel.addEventListener('click', async () => {
31813
31813
  if (arg.onCancel) {
31814
31814
  arg.onCancel();
@@ -31822,9 +31822,9 @@ const popupView = arg => {
31822
31822
  }
31823
31823
  removePopview();
31824
31824
  });
31825
- domTitle.innerHTML = arg.title;
31826
- domContent.innerHTML = arg.content;
31827
- domConfirm.innerHTML = arg.confirm;
31825
+ domTitle.textContent = arg.title;
31826
+ domContent.textContent = arg.content;
31827
+ domConfirm.textContent = arg.confirm;
31828
31828
  domPopupViewContainer.appendChild(domTitleContainer);
31829
31829
  domTitleContainer.appendChild(domTitle);
31830
31830
  domPopupViewContainer.appendChild(domContentContainer);
@@ -37359,7 +37359,7 @@ class AuthmeIdentityVerification extends AuthmeFunctionModule {
37359
37359
  }
37360
37360
 
37361
37361
  var name = "authme/sdk";
37362
- var version$1 = "2.8.54";
37362
+ var version$1 = "2.8.55";
37363
37363
  var packageInfo = {
37364
37364
  name: name,
37365
37365
  version: version$1};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authme/identity-verification",
3
- "version": "2.8.54",
3
+ "version": "2.8.55",
4
4
  "peerDependencies": {
5
5
  "core-js": "^3.6.0",
6
6
  "lottie-web": "^5.9.2",