@prosopo/client-bundle-example 2.7.0 → 2.8.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.
Files changed (56) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/assets/{ProcaptchaWidget-3gKvjeiH.js → ProcaptchaWidget-DrBDhP6X.js} +7 -7
  3. package/dist/assets/{ProcaptchaWidget-D6-M7iAv.js → ProcaptchaWidget-rAM-9Rap.js} +4 -4
  4. package/dist/assets/{asU8a-DCECA0Qe.js → asU8a-CJdNkNEq.js} +1 -1
  5. package/dist/assets/{bip39-BQoZog_M.js → bip39-Du2cANEV.js} +2 -2
  6. package/dist/assets/captcha-BhkVCEXM.css +1 -0
  7. package/dist/assets/{captchaComponentProvider-BW2eXmc3.js → captchaComponentProvider-DmV1WTrT.js} +4 -4
  8. package/dist/assets/{captchaRenderer-B_MgGzr9.js → captchaRenderer-RIsSZXCC.js} +2 -2
  9. package/dist/assets/{emotion-element-5486c51c.browser.esm-CCAJ8JId.js → emotion-element-5486c51c.browser.esm-C3u8NMUC.js} +127 -125
  10. package/dist/assets/frictionless-explicit-Dq_sNGRK.js +1 -0
  11. package/dist/assets/frictionless-implicit-Dq_sNGRK.js +1 -0
  12. package/dist/assets/{hash-BR0YLxPF.js → hash-_rWungeW.js} +1 -1
  13. package/dist/assets/image-explicit-DQvfVB7-.js +4 -0
  14. package/dist/assets/image-implicit-Bwa9QJO5.js +1 -0
  15. package/dist/assets/{index-WqEmiYQ_.js → index-BVr9fC_3.js} +4 -4
  16. package/dist/assets/{index-BYUYvvuq.js → index-Cu5oL_7b.js} +4 -4
  17. package/dist/assets/index-Dpt_5E72.js +1 -0
  18. package/dist/assets/{index-BCjHZ8o6.js → index-DxIFpl6U.js} +1 -1
  19. package/dist/assets/{index-2or4-1WF.js → index-Wgw2GQWq.js} +2 -2
  20. package/dist/assets/invisible-frictionless-explicit-DugBtRe4.js +4 -0
  21. package/dist/assets/invisible-frictionless-implicit-DYYos8W9.js +1 -0
  22. package/dist/assets/invisible-image-explicit-C5Z4gSb1.js +4 -0
  23. package/dist/assets/invisible-image-implicit-DfNFNlFj.js +1 -0
  24. package/dist/assets/invisible-pow-explicit-DjqGWFUb.js +4 -0
  25. package/dist/assets/invisible-pow-implicit-BRXL14FH.js +4 -0
  26. package/dist/assets/pow-explicit-BexxbnHM.js +4 -0
  27. package/dist/assets/pow-implicit-Dpt_5E72.js +1 -0
  28. package/dist/assets/procaptcha.bundle.js +1 -1
  29. package/dist/assets/{useTranslation-BPbGzrhj.js → useTranslation-CJplXtqb.js} +1 -1
  30. package/dist/frictionless-explicit.html +881 -0
  31. package/dist/frictionless-implicit.html +874 -0
  32. package/dist/image-explicit.html +877 -0
  33. package/dist/index.html +575 -74
  34. package/dist/invisible-frictionless-explicit.html +626 -283
  35. package/dist/invisible-frictionless-implicit.html +631 -173
  36. package/dist/invisible-image-explicit.html +627 -284
  37. package/dist/invisible-image-implicit.html +631 -173
  38. package/dist/invisible-pow-explicit.html +627 -284
  39. package/dist/invisible-pow-implicit.html +629 -177
  40. package/dist/plugins/explanation-injector.ts +250 -0
  41. package/dist/plugins/form-filler-injector.ts +233 -0
  42. package/dist/plugins/navigation-injector.ts +237 -89
  43. package/dist/plugins/status-log-injector.ts +199 -0
  44. package/dist/pow-explicit.html +877 -0
  45. package/dist/pow-implicit.html +881 -0
  46. package/package.json +1 -1
  47. package/vite.config.ts +32 -3
  48. package/dist/assets/frictionless-ZgzyuneX.js +0 -1
  49. package/dist/assets/index-BWsu-rGU.js +0 -1
  50. package/dist/assets/invisible-frictionless-explicit-DgCaJtPg.js +0 -1
  51. package/dist/assets/invisible-image-explicit-DgCaJtPg.js +0 -1
  52. package/dist/assets/invisible-pow-explicit-DgCaJtPg.js +0 -1
  53. package/dist/assets/pow-BW3QYcgP.js +0 -1
  54. package/dist/frictionless.html +0 -343
  55. package/dist/pow.html +0 -323
  56. /package/dist/assets/{modulepreload-polyfill-B5Qt9EMX.js → captcha-ByKnSsbG.js} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @prosopo/client-bundle-example
2
2
 
3
+ ## 2.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 5656b0c: Adding all client examples to bundle example
8
+
9
+ ### Patch Changes
10
+
11
+ - 5656b0c: Adding cypress tests for invisible
12
+
3
13
  ## 2.7.0
4
14
 
5
15
  ### Minor Changes
@@ -1,10 +1,10 @@
1
- import { j as c, a as H, P as _, b as T, c as N, g as ae, p as $, d as se, e as ie, E as ce, f as le, C as de } from "./captchaComponentProvider-BW2eXmc3.js";
2
- import { r as f, l as ue, P as X, R as he } from "./emotion-element-5486c51c.browser.esm-CCAJ8JId.js";
3
- import { b as M, d as D, a as w, A as C, l as pe } from "./index-2or4-1WF.js";
4
- import { u as q, b as ge, s as fe, a as me, c as xe } from "./useTranslation-BPbGzrhj.js";
5
- import { r as Ce } from "./index-BCjHZ8o6.js";
6
- import { h as U } from "./hash-BR0YLxPF.js";
7
- import { r as we } from "./asU8a-DCECA0Qe.js";
1
+ import { j as c, a as H, P as _, b as T, c as N, g as ae, p as $, d as se, e as ie, E as ce, f as le, C as de } from "./captchaComponentProvider-DmV1WTrT.js";
2
+ import { r as f, l as ue, P as X, R as he } from "./emotion-element-5486c51c.browser.esm-C3u8NMUC.js";
3
+ import { b as M, d as D, a as w, A as C, l as pe } from "./index-Wgw2GQWq.js";
4
+ import { u as q, b as ge, s as fe, a as me, c as xe } from "./useTranslation-CJplXtqb.js";
5
+ import { r as Ce } from "./index-DxIFpl6U.js";
6
+ import { h as U } from "./hash-_rWungeW.js";
7
+ import { r as we } from "./asU8a-CJdNkNEq.js";
8
8
  const be = (t) => Array.isArray(t) && t !== null, S = new Array(256), Y = new Array(256 * 256);
9
9
  for (let t = 0; t < 256; t++)
10
10
  S[t] = t.toString(16).padStart(2, "0");
@@ -1,7 +1,7 @@
1
- import { g as W, p as V, c as C, d as j, e as K, E as $, j as Y, C as X } from "./captchaComponentProvider-BW2eXmc3.js";
2
- import { l as q, P as z, r as y, M as D } from "./emotion-element-5486c51c.browser.esm-CCAJ8JId.js";
3
- import { b as S, a as J, s as Q, u as Z, c as ee } from "./useTranslation-BPbGzrhj.js";
4
- import { A as p, l as te, b as ne, d as se } from "./index-2or4-1WF.js";
1
+ import { g as W, p as V, c as C, d as j, e as K, E as $, j as Y, C as X } from "./captchaComponentProvider-DmV1WTrT.js";
2
+ import { l as q, P as z, r as y, M as D } from "./emotion-element-5486c51c.browser.esm-C3u8NMUC.js";
3
+ import { b as S, a as J, s as Q, u as Z, c as ee } from "./useTranslation-CJplXtqb.js";
4
+ import { A as p, l as te, b as ne, d as se } from "./index-Wgw2GQWq.js";
5
5
  function oe(t) {
6
6
  return t instanceof Uint8Array || t != null && typeof t == "object" && t.constructor.name === "Uint8Array";
7
7
  }
@@ -1,4 +1,4 @@
1
- import { ay as r, az as e } from "./hash-BR0YLxPF.js";
1
+ import { ay as r, az as e } from "./hash-_rWungeW.js";
2
2
  function n(a = 32) {
3
3
  return e(new Uint8Array(a));
4
4
  }
@@ -1,5 +1,5 @@
1
- import { D as X, C as ue, a6 as Z, a7 as j, M as D, a8 as Ze, a9 as g, aa as ea, ab as w, ac as be, ad as pe, ae as H, af as fe, ag as me, ah as ge, ai as ye, aj as B, ak as U, al as $, am as C, an as q, ao as N, ap as xe, aq as we, H as ve, ar as ee, J as ke, I as R, K as He, as as Ae, a3 as Ie, j as V, at as J, u as W, au as je, l as Ee, i as Se, av as ze, S as Be, aw as Ce, ax as De } from "./hash-BR0YLxPF.js";
2
- import { a as Le } from "./asU8a-DCECA0Qe.js";
1
+ import { D as X, C as ue, a6 as Z, a7 as j, M as D, a8 as Ze, a9 as g, aa as ea, ab as w, ac as be, ad as pe, ae as H, af as fe, ag as me, ah as ge, ai as ye, aj as B, ak as U, al as $, am as C, an as q, ao as N, ap as xe, aq as we, H as ve, ar as ee, J as ke, I as R, K as He, as as Ae, a3 as Ie, j as V, at as J, u as W, au as je, l as Ee, i as Se, av as ze, S as Be, aw as Ce, ax as De } from "./hash-_rWungeW.js";
2
+ import { a as Le } from "./asU8a-CJdNkNEq.js";
3
3
  import { s as Y } from "./toU8a-C68WUzs_.js";
4
4
  const _e = /* @__PURE__ */ Uint32Array.from([
5
5
  1116352408,
@@ -0,0 +1 @@
1
+ .console-output{margin-top:20px;padding:10px;background-color:#f5f5f5;border:1px solid #ddd;border-radius:4px;font-family:monospace;white-space:pre-wrap;max-height:200px;overflow-y:auto}.info-box{background-color:#e7f3fe;border-left:4px solid #2196f3;padding:15px;margin:20px 0}.explanation{margin:20px 0;padding:20px;background-color:#f9f9f9;border-radius:5px;border:1px solid #ddd}code{background-color:#f0f0f0;padding:2px 4px;border-radius:3px;font-family:monospace}pre{background-color:#f5f5f5;padding:10px;border-radius:5px;overflow-x:auto;border:1px solid #ddd}.captcha-status{margin-top:20px;padding:15px;background-color:#f0f8ff;border:2px solid #2196f3;border-radius:5px;font-family:monospace;font-size:14px}.status-item{margin:5px 0;padding:5px}.status-success{color:#4caf50;font-weight:700}.status-error{color:#f44336;font-weight:700}.status-info{color:#2196f3}.status-warning{color:#ff9800}.status-title{font-weight:700;margin-bottom:10px;border-bottom:1px solid #2196f3;padding-bottom:5px}
@@ -1,5 +1,5 @@
1
- import { h as ve, j as x, a as be, b as Se, s as we, w as Ae, r as v, T as Oe, u as Wt, i as Ie, d as Re, e as Fe, g as Ne, m as je, f as C, S as $e, k as Me, A as G, U as le, P as De } from "./emotion-element-5486c51c.browser.esm-CCAJ8JId.js";
2
- import { a as ze, g as Ke, W as He, A as i, l as Ue, b as We, d as qe, C as V } from "./index-2or4-1WF.js";
1
+ import { h as ve, j as x, a as be, b as Se, s as we, w as Ae, r as v, T as Oe, u as Wt, i as Ie, d as Re, e as Fe, g as Ne, m as je, f as C, S as $e, k as Me, A as G, U as le, P as De } from "./emotion-element-5486c51c.browser.esm-C3u8NMUC.js";
2
+ import { a as ze, g as Ke, W as He, A as i, l as Ue, b as We, d as qe, C as V } from "./index-Wgw2GQWq.js";
3
3
  import { e as Be } from "./translations-DEL070wJ.js";
4
4
  import { g as Vt } from "./_commonjsHelpers-DaMA6jEr.js";
5
5
  const Ge = { t: (t) => t };
@@ -513,7 +513,7 @@ const at = async (t) => {
513
513
  }, j = (t) => ({
514
514
  ...Ke(void 0),
515
515
  ...t
516
- }), ct = async (t) => t ? (await import("./index-BYUYvvuq.js")).ExtensionWeb2 : (await import("./index-BYUYvvuq.js")).ExtensionWeb3;
516
+ }), ct = async (t) => t ? (await import("./index-Cu5oL_7b.js")).ExtensionWeb2 : (await import("./index-Cu5oL_7b.js")).ExtensionWeb3;
517
517
  function ee() {
518
518
  return ee = Object.assign ? Object.assign.bind() : function(t) {
519
519
  for (var e = 1; e < arguments.length; e++) {
@@ -1130,7 +1130,7 @@ class It extends Ot {
1130
1130
  });
1131
1131
  }
1132
1132
  }
1133
- const Rt = v.lazy(async () => import("./ProcaptchaWidget-D6-M7iAv.js")), Le = (t) => T(v.Suspense, { children: T(Rt, { config: t.config, callbacks: t.callbacks, frictionlessState: t.frictionlessState, i18n: t.i18n }) }), Ft = v.lazy(async () => import("./ProcaptchaWidget-3gKvjeiH.js")), ke = (t) => T(v.Suspense, { children: T(Ft, { ...t }) }), Nt = async () => (await import("./index-BjRdPnnE.js")).default, jt = async (t) => {
1133
+ const Rt = v.lazy(async () => import("./ProcaptchaWidget-rAM-9Rap.js")), Le = (t) => T(v.Suspense, { children: T(Rt, { config: t.config, callbacks: t.callbacks, frictionlessState: t.frictionlessState, i18n: t.i18n }) }), Ft = v.lazy(async () => import("./ProcaptchaWidget-DrBDhP6X.js")), ke = (t) => T(v.Suspense, { children: T(Ft, { ...t }) }), Nt = async () => (await import("./index-BjRdPnnE.js")).default, jt = async (t) => {
1134
1134
  const r = await (await Nt())(), s = await new (await ct(t.web2))().getAccount(t);
1135
1135
  if (!t.account.address)
1136
1136
  throw new oe("GENERAL.SITE_KEY_MISSING");
@@ -1,5 +1,5 @@
1
- import { P as d, E as C, c as v, j as f, C as R } from "./emotion-element-5486c51c.browser.esm-CCAJ8JId.js";
2
- import { r as b } from "./index-BCjHZ8o6.js";
1
+ import { P as d, E as C, c as v, j as f, C as R } from "./emotion-element-5486c51c.browser.esm-C3u8NMUC.js";
2
+ import { r as b } from "./index-DxIFpl6U.js";
3
3
  import { L as i } from "./translations-DEL070wJ.js";
4
4
  var s, A = b;
5
5
  s = A.createRoot;