@prosopo/procaptcha-react 2.10.3 → 2.10.4

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @prosopo/procaptcha-react@2.10.3 build:cjs
2
+ > @prosopo/procaptcha-react@2.10.4 build:cjs
3
3
  > NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
4
4
 
5
5
  ViteCommonJSConfig: .
@@ -61,4 +61,4 @@ dist/cjs/components/CaptchaWidget.cjs 4.03 kB │ gzip: 1.50 kB
61
61
  dist/cjs/components/CaptchaComponent.cjs 6.18 kB │ gzip: 1.57 kB
62
62
  dist/cjs/components/ProcaptchaWidget.cjs 6.70 kB │ gzip: 1.92 kB
63
63
 
64
- ✓ built in 88ms
64
+ ✓ built in 62ms
@@ -1,8 +1,8 @@
1
1
 
2
- > @prosopo/procaptcha-react@2.10.3 build:tsc
2
+ > @prosopo/procaptcha-react@2.10.4 build:tsc
3
3
  > tsc --build --verbose
4
4
 
5
- 7:32:12 PM - Projects in this build:
5
+ 1:49:21 PM - Projects in this build:
6
6
  * ../../dev/config/tsconfig.json
7
7
  * ../locale/tsconfig.json
8
8
  * ../util/tsconfig.json
@@ -22,41 +22,41 @@
22
22
  * ../procaptcha/tsconfig.json
23
23
  * tsconfig.json
24
24
 
25
- 7:32:12 PM - Project '../../dev/config/tsconfig.json' is up to date because newest input '../../dev/config/src/webpack/webpack.config.ts' is older than output '../../dev/config/tsconfig.tsbuildinfo'
25
+ 1:49:21 PM - Project '../../dev/config/tsconfig.json' is up to date because newest input '../../dev/config/src/webpack/webpack.config.ts' is older than output '../../dev/config/tsconfig.tsbuildinfo'
26
26
 
27
- 7:32:12 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
27
+ 1:49:21 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
28
28
 
29
- 7:32:12 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/util.ts' is older than output '../util/tsconfig.tsbuildinfo'
29
+ 1:49:21 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
30
30
 
31
- 7:32:12 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/tests/loggerBrowser.unit.test.ts' is older than output '../logger/tsconfig.tsbuildinfo'
31
+ 1:49:21 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/logger.ts' is older than output '../logger/tsconfig.tsbuildinfo'
32
32
 
33
- 7:32:12 PM - Project '../util-crypto/tsconfig.json' is up to date because newest input '../util-crypto/src/types.ts' is older than output '../util-crypto/tsconfig.tsbuildinfo'
33
+ 1:49:22 PM - Project '../util-crypto/tsconfig.json' is up to date because newest input '../util-crypto/src/types.ts' is older than output '../util-crypto/tsconfig.tsbuildinfo'
34
34
 
35
- 7:32:12 PM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/types.test-d.ts' is older than output '../types/tsconfig.tsbuildinfo'
35
+ 1:49:22 PM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/types.test-d.ts' is older than output '../types/tsconfig.tsbuildinfo'
36
36
 
37
- 7:32:12 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/tests/utils/objectUtils.unit.test.ts' is older than output '../common/tsconfig.tsbuildinfo'
37
+ 1:49:22 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/tests/utils/batches.unit.test.ts' is older than output '../common/tsconfig.tsbuildinfo'
38
38
 
39
- 7:32:12 PM - Project '../datasets/tsconfig.json' is up to date because newest input '../datasets/src/tests/mocks/data/captchas.ts' is older than output '../datasets/tsconfig.tsbuildinfo'
39
+ 1:49:22 PM - Project '../datasets/tsconfig.json' is up to date because newest input '../datasets/src/tests/dataset.unit.test.ts' is older than output '../datasets/tsconfig.tsbuildinfo'
40
40
 
41
- 7:32:12 PM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/tests/apiHarness.ts' is older than output '../api/tsconfig.tsbuildinfo'
41
+ 1:49:22 PM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/index.ts' is older than output '../api/tsconfig.tsbuildinfo'
42
42
 
43
- 7:32:12 PM - Project '../load-balancer/tsconfig.json' is up to date because newest input '../load-balancer/src/balancer.ts' is older than output '../load-balancer/tsconfig.tsbuildinfo'
43
+ 1:49:22 PM - Project '../load-balancer/tsconfig.json' is up to date because newest input '../load-balancer/src/balancer.ts' is older than output '../load-balancer/tsconfig.tsbuildinfo'
44
44
 
45
- 7:32:12 PM - Project '../widget-skeleton/tsconfig.json' is up to date because newest input '../widget-skeleton/src/webComponent/createWidget.ts' is older than output '../widget-skeleton/tsconfig.tsbuildinfo'
45
+ 1:49:22 PM - Project '../widget-skeleton/tsconfig.json' is up to date because newest input '../widget-skeleton/src/webComponent/createWidget.ts' is older than output '../widget-skeleton/tsconfig.tsbuildinfo'
46
46
 
47
- 7:32:12 PM - Project '../fingerprintjs/tsconfig.json' is up to date because newest input '../fingerprintjs/src/utils/browser.ts' is older than output '../fingerprintjs/tsconfig.tsbuildinfo'
47
+ 1:49:22 PM - Project '../fingerprintjs/tsconfig.json' is up to date because newest input '../fingerprintjs/src/utils/browser.ts' is older than output '../fingerprintjs/tsconfig.tsbuildinfo'
48
48
 
49
- 7:32:12 PM - Project '../fingerprint/tsconfig.json' is up to date because newest input '../fingerprint/src/index.ts' is older than output '../fingerprint/tsconfig.tsbuildinfo'
49
+ 1:49:22 PM - Project '../fingerprint/tsconfig.json' is up to date because newest input '../fingerprint/src/merkle.ts' is older than output '../fingerprint/tsconfig.tsbuildinfo'
50
50
 
51
- 7:32:12 PM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/keyring/keyring.test.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
51
+ 1:49:22 PM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/index.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
52
52
 
53
- 7:32:12 PM - Project '../account/tsconfig.json' is up to date because newest input '../account/src/tests/cryptoWorker.unit.test.ts' is older than output '../account/tsconfig.tsbuildinfo'
53
+ 1:49:22 PM - Project '../account/tsconfig.json' is up to date because newest input '../account/src/workers/cryptoWorker.ts' is older than output '../account/tsconfig.tsbuildinfo'
54
54
 
55
- 7:32:12 PM - Project '../procaptcha-common/tsconfig.json' is up to date because newest input '../procaptcha-common/src/simdReadings.ts' is older than output '../procaptcha-common/tsconfig.tsbuildinfo'
55
+ 1:49:22 PM - Project '../procaptcha-common/tsconfig.json' is up to date because newest input '../procaptcha-common/src/simdReadings.ts' is older than output '../procaptcha-common/tsconfig.tsbuildinfo'
56
56
 
57
- 7:32:13 PM - Project '../procaptcha/tsconfig.json' is up to date because newest input '../procaptcha/src/modules/Manager.ts' is older than output '../procaptcha/tsconfig.tsbuildinfo'
57
+ 1:49:22 PM - Project '../procaptcha/tsconfig.json' is up to date because newest input '../procaptcha/src/modules/Manager.ts' is older than output '../procaptcha/tsconfig.tsbuildinfo'
58
58
 
59
- 7:32:13 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
59
+ 1:49:22 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
60
60
 
61
- 7:32:13 PM - Building project '/home/runner/work/captcha/captcha/packages/procaptcha-react/tsconfig.json'...
61
+ 1:49:22 PM - Building project '/home/runner/work/captcha/captcha/packages/procaptcha-react/tsconfig.json'...
62
62
 
@@ -1,9 +1,9 @@
1
1
 
2
- > @prosopo/procaptcha-react@2.10.3 build
2
+ > @prosopo/procaptcha-react@2.10.4 build
3
3
  > npm run build:cross-env -- --mode ${NODE_ENV:-development}
4
4
 
5
5
 
6
- > @prosopo/procaptcha-react@2.10.3 build:cross-env
6
+ > @prosopo/procaptcha-react@2.10.4 build:cross-env
7
7
  > vite build --config vite.esm.config.ts --mode production
8
8
 
9
9
  ViteEsmConfig: .
@@ -65,4 +65,4 @@ dist/components/CaptchaWidget.js 3.66 kB │ gzip: 1.46 kB
65
65
  dist/components/CaptchaComponent.js 5.27 kB │ gzip: 1.52 kB
66
66
  dist/components/ProcaptchaWidget.js 5.95 kB │ gzip: 1.88 kB
67
67
 
68
- ✓ built in 54ms
68
+ ✓ built in 51ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # @prosopo/procaptcha-react
2
2
 
3
+ ## 2.10.4
4
+ ### Patch Changes
5
+
6
+ - 124784f: Stop the image captcha losing its instruction line and top row of images on mobile.
7
+
8
+ On iOS the challenge panel was being shifted up by 100% of its own height, so
9
+ anything taller than half the screen ran off the top with no way to scroll back
10
+ to it. Users saw nine images and a Next button but no "Select all containing
11
+ ..." prompt, which made the challenge unsolvable.
12
+
13
+ The lift was compensating for the layer underneath it being sized with
14
+ `100vh` — on iOS Safari that is the height the page would have if the browser
15
+ toolbars retracted, so the centring box was taller than the visible area and
16
+ pushed the panel down under the bottom bar. Sizing that box with `100dvh`
17
+ instead centres correctly on its own, so the lift is gone. The panel is now
18
+ centred as a flex item and capped at the viewport height, scrolling when it
19
+ does not fit rather than overflowing off both edges.
20
+ - Updated dependencies [124784f]
21
+ - Updated dependencies [477b4e7]
22
+ - Updated dependencies [e4d6f06]
23
+ - @prosopo/procaptcha-common@2.13.3
24
+ - @prosopo/types@5.8.2
25
+ - @prosopo/procaptcha@2.11.11
26
+
3
27
  ## 2.10.3
4
28
  ### Patch Changes
5
29
 
@@ -13,12 +13,12 @@ var ModalComponent = react.default.memo((props) => {
13
13
  anchor,
14
14
  onDismiss,
15
15
  scrim: "none",
16
- popupIosLift: true,
17
16
  className: "prosopo-modalOuter",
18
17
  children: /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)("div", {
19
18
  className: "prosopo-modalInner",
20
19
  style: {
21
20
  maxWidth: "500px",
21
+ maxHeight: "100%",
22
22
  backgroundColor: "transparent",
23
23
  border: "none",
24
24
  borderRadius: "28px",
@@ -11,12 +11,12 @@ var ModalComponent = React.memo((props) => {
11
11
  anchor,
12
12
  onDismiss,
13
13
  scrim: "none",
14
- popupIosLift: true,
15
14
  className: "prosopo-modalOuter",
16
15
  children: /* @__PURE__ */ jsx("div", {
17
16
  className: "prosopo-modalInner",
18
17
  style: {
19
18
  maxWidth: "500px",
19
+ maxHeight: "100%",
20
20
  backgroundColor: "transparent",
21
21
  border: "none",
22
22
  borderRadius: "28px",
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.js","sourceRoot":"","sources":["../../src/components/Modal.tsx"],"names":[],"mappings":";AAcA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,MAAM,cAAc,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAiB,EAAE,EAAE;IACvD,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAE/D,OAAO,CACN,KAAC,gBAAgB,IAChB,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,SAAS,EACpB,KAAK,EAAC,MAAM,EACZ,YAAY,QACZ,SAAS,EAAC,oBAAoB,YAE9B,cACC,SAAS,EAAC,oBAAoB,EAC9B,KAAK,EAAE;gBACN,QAAQ,EAAE,OAAO;gBACjB,eAAe,EAAE,aAAa;gBAC9B,MAAM,EAAE,MAAM;gBACd,YAAY,EAAE,MAAM;gBACpB,SAAS,EAAE,QAAQ;gBACnB,SAAS,EAAE,YAAY;aACvB,YAEA,QAAQ,GACJ,GACY,CACnB,CAAC;AACH,CAAC,CAAC,CAAC;AAEH,cAAc,CAAC,WAAW,GAAG,gBAAgB,CAAC;AAE9C,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"Modal.js","sourceRoot":"","sources":["../../src/components/Modal.tsx"],"names":[],"mappings":";AAcA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,MAAM,cAAc,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAiB,EAAE,EAAE;IACvD,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAE/D,OAAO,CACN,KAAC,gBAAgB,IAChB,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,SAAS,EACpB,KAAK,EAAC,MAAM,EACZ,SAAS,EAAC,oBAAoB,YAE9B,cACC,SAAS,EAAC,oBAAoB,EAC9B,KAAK,EAAE;gBACN,QAAQ,EAAE,OAAO;gBACjB,SAAS,EAAE,MAAM;gBACjB,eAAe,EAAE,aAAa;gBAC9B,MAAM,EAAE,MAAM;gBACd,YAAY,EAAE,MAAM;gBACpB,SAAS,EAAE,QAAQ;gBACnB,SAAS,EAAE,YAAY;aACvB,YAEA,QAAQ,GACJ,GACY,CACnB,CAAC;AACH,CAAC,CAAC,CAAC;AAEH,cAAc,CAAC,WAAW,GAAG,gBAAgB,CAAC;AAE9C,eAAe,cAAc,CAAC"}
@@ -66,7 +66,20 @@ describe("stacking", () => {
66
66
  test("covers the viewport so the page behind cannot be clicked", () => {
67
67
  render(true);
68
68
  expect(outer().style.position).toBe("fixed");
69
- expect(outer().style.minHeight).toBe("100vh");
69
+ expect(outer().style.minHeight).toBe("100dvh");
70
+ });
71
+ test("does not lift the challenge by its own height on iOS", () => {
72
+ render(true);
73
+ const panel = outer().querySelector(".prosopo-challenge-content");
74
+ expect(panel?.className).not.toContain("ios-lift");
75
+ expect(panel?.style.transform).toBe("");
76
+ expect(document.getElementById("prosopo-challenge-surface-ios-lift")).toBeNull();
77
+ });
78
+ test("lets a challenge taller than the viewport scroll instead of clipping", () => {
79
+ render(true);
80
+ const panel = outer().querySelector(".prosopo-challenge-content");
81
+ expect(panel?.style.maxHeight).toBe("100%");
82
+ expect(panel?.style.overflowY).toBe("auto");
70
83
  });
71
84
  });
72
85
  //# sourceMappingURL=modal.unit.test.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"modal.unit.test.js","sourceRoot":"","sources":["../../src/tests/modal.unit.test.tsx"],"names":[],"mappings":";AAiBA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACvE,OAAO,KAAK,MAAM,wBAAwB,CAAC;AAC3C,OAAO,EAAgB,KAAK,EAAE,MAAM,aAAa,CAAC;AAElD,IAAI,OAAgB,CAAC;AAErB,MAAM,MAAM,GAAG,CACd,IAAa,EACb,WAAsB,oCAAgB,EAC/B,EAAE;IACT,OAAO,CAAC,MAAM,CAAC,KAAC,KAAK,IAAC,IAAI,EAAE,IAAI,YAAG,QAAQ,GAAS,CAAC,CAAC;AACvD,CAAC,CAAC;AAEF,MAAM,KAAK,GAAG,GAAgB,EAAE;IAC/B,MAAM,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAc,qBAAqB,CAAC,CAAC;IAC3E,IAAI,CAAC,OAAO;QAAE,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;IACnE,OAAO,OAAO,CAAC;AAChB,CAAC,CAAC;AAEF,UAAU,CAAC,GAAG,EAAE;IACf,OAAO,GAAG,KAAK,EAAE,CAAC;AACnB,CAAC,CAAC,CAAC;AAEH,SAAS,CAAC,GAAG,EAAE;IACd,OAAO,CAAC,OAAO,EAAE,CAAC;AACnB,CAAC,CAAC,CAAC;AAEH,QAAQ,CAAC,yBAAyB,EAAE,GAAG,EAAE;IACxC,IAAI,CAAC,yDAAyD,EAAE,GAAG,EAAE;QAGpE,MAAM,CAAC,IAAI,CAAC,CAAC;QACb,MAAM,CAAC,KAAK,EAAE,CAAC,aAAa,C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nD,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACxC,MAAM,CACL,QAAQ,CAAC,cAAc,CAAC,oCAAoC,CAAC,CAC7D,CAAC,QAAQ,EAAE,CAAC;IACd,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,sEAAsE,EAAE,GAAG,EAAE;QACjF,MAAM,CAAC,IAAI,CAAC,CAAC;QACb,MAAM,KAAK,GAAG,KAAK,EAAE,CAAC,aAAa,CAClC,4BAA4B,CAC5B,CAAC;QAEF,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC5C,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC7C,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/procaptcha-react",
3
- "version": "2.10.3",
3
+ "version": "2.10.4",
4
4
  "author": "PROSOPO LIMITED <info@prosopo.io>",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",
@@ -34,9 +34,9 @@
34
34
  "dependencies": {
35
35
  "@prosopo/common": "3.1.54",
36
36
  "@prosopo/locale": "3.4.1",
37
- "@prosopo/procaptcha": "2.11.10",
38
- "@prosopo/procaptcha-common": "2.13.2",
39
- "@prosopo/types": "5.8.1",
37
+ "@prosopo/procaptcha": "2.11.11",
38
+ "@prosopo/procaptcha-common": "2.13.3",
39
+ "@prosopo/types": "5.8.2",
40
40
  "@prosopo/util": "3.3.9",
41
41
  "@prosopo/widget-skeleton": "2.8.7",
42
42
  "csstype": "3.2.3",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "devDependencies": {
47
47
  "@emotion/react": "11.14.0",
48
- "@prosopo/config": "3.3.15",
48
+ "@prosopo/config": "3.3.16",
49
49
  "@types/node": "22.10.2",
50
50
  "@types/react-dom": "19.2.5",
51
51
  "@vitest/coverage-v8": "4.1.11",