@prosopo/procaptcha-react 2.9.91 → 2.9.93
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/.turbo/turbo-build$colon$cjs.log +3 -3
- package/.turbo/turbo-build$colon$tsc.log +21 -21
- package/.turbo/turbo-build.log +4 -4
- package/CHANGELOG.md +33 -0
- package/dist/cjs/components/ProcaptchaWidget.cjs +6 -10
- package/dist/components/ProcaptchaWidget.js +6 -10
- package/dist/components/ProcaptchaWidget.js.map +1 -1
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @prosopo/procaptcha-react@2.9.
|
|
2
|
+
> @prosopo/procaptcha-react@2.9.93 build:cjs
|
|
3
3
|
> NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
|
|
4
4
|
|
|
5
5
|
▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
|
|
@@ -74,6 +74,6 @@ rendering chunks...
|
|
|
74
74
|
[2mdist/cjs/[22m[36mcomponents/Modal.cjs [39m[1m[2m1.36 kB[22m[1m[22m
|
|
75
75
|
[2mdist/cjs/[22m[36mcomponents/Button.cjs [39m[1m[2m2.38 kB[22m[1m[22m
|
|
76
76
|
[2mdist/cjs/[22m[36mcomponents/CaptchaWidget.cjs [39m[1m[2m5.94 kB[22m[1m[22m
|
|
77
|
-
[2mdist/cjs/[22m[36mcomponents/ProcaptchaWidget.cjs [39m[1m[2m6.
|
|
77
|
+
[2mdist/cjs/[22m[36mcomponents/ProcaptchaWidget.cjs [39m[1m[2m6.07 kB[22m[1m[22m
|
|
78
78
|
[2mdist/cjs/[22m[36mcomponents/CaptchaComponent.cjs [39m[1m[2m8.81 kB[22m[1m[22m
|
|
79
|
-
[32m✓ built in
|
|
79
|
+
[32m✓ built in 149ms[39m
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
> @prosopo/procaptcha-react@2.9.
|
|
2
|
+
> @prosopo/procaptcha-react@2.9.93 build:tsc
|
|
3
3
|
> tsc --build --verbose
|
|
4
4
|
|
|
5
|
-
10:
|
|
5
|
+
10:28:32 AM - 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
|
-
10:
|
|
25
|
+
10:28:32 AM - Project '../../dev/config/tsconfig.json' is up to date because newest input '../../dev/config/src/vite/NodejsPolarsNativeFilePlugin.ts' is older than output '../../dev/config/tsconfig.tsbuildinfo'
|
|
26
26
|
|
|
27
|
-
10:
|
|
27
|
+
10:28:32 AM - 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
|
-
10:
|
|
29
|
+
10:28:32 AM - 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
|
-
10:
|
|
31
|
+
10:28:32 AM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
|
|
32
32
|
|
|
33
|
-
10:
|
|
33
|
+
10:28:32 AM - 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
|
-
10:
|
|
35
|
+
10:28:32 AM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/provider/api.ts' is older than output '../types/tsconfig.tsbuildinfo'
|
|
36
36
|
|
|
37
|
-
10:
|
|
37
|
+
10:28:32 AM - 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
|
-
10:
|
|
39
|
+
10:28:32 AM - Project '../datasets/tsconfig.json' is up to date because newest input '../datasets/src/index.ts' is older than output '../datasets/tsconfig.tsbuildinfo'
|
|
40
40
|
|
|
41
|
-
10:
|
|
41
|
+
10:28:33 AM - 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
|
-
10:
|
|
43
|
+
10:28:33 AM - 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
|
-
10:
|
|
45
|
+
10:28:33 AM - Project '../widget-skeleton/tsconfig.json' is up to date because newest input '../widget-skeleton/src/constants.ts' is older than output '../widget-skeleton/tsconfig.tsbuildinfo'
|
|
46
46
|
|
|
47
|
-
10:
|
|
47
|
+
10:28:33 AM - 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
|
-
10:
|
|
49
|
+
10:28:33 AM - Project '../fingerprint/tsconfig.json' is up to date because newest input '../fingerprint/src/index.ts' is older than output '../fingerprint/tsconfig.tsbuildinfo'
|
|
50
50
|
|
|
51
|
-
10:
|
|
51
|
+
10:28:33 AM - 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
|
-
10:
|
|
53
|
+
10:28:33 AM - 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'
|
|
54
54
|
|
|
55
|
-
10:
|
|
55
|
+
10:28:33 AM - Project '../procaptcha-common/tsconfig.json' is up to date because newest input '../procaptcha-common/src/tests/defaultEvents.test.ts' is older than output '../procaptcha-common/tsconfig.tsbuildinfo'
|
|
56
56
|
|
|
57
|
-
10:
|
|
57
|
+
10:28:33 AM - Project '../procaptcha/tsconfig.json' is up to date because newest input '../procaptcha/src/index.ts' is older than output '../procaptcha/tsconfig.tsbuildinfo'
|
|
58
58
|
|
|
59
|
-
10:
|
|
59
|
+
10:28:33 AM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
|
|
60
60
|
|
|
61
|
-
10:
|
|
61
|
+
10:28:33 AM - Building project '/home/runner/work/captcha/captcha/packages/procaptcha-react/tsconfig.json'...
|
|
62
62
|
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
> @prosopo/procaptcha-react@2.9.
|
|
2
|
+
> @prosopo/procaptcha-react@2.9.93 build
|
|
3
3
|
> npm run build:cross-env -- --mode ${NODE_ENV:-development}
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @prosopo/procaptcha-react@2.9.
|
|
6
|
+
> @prosopo/procaptcha-react@2.9.93 build:cross-env
|
|
7
7
|
> vite build --config vite.esm.config.ts --mode production
|
|
8
8
|
|
|
9
9
|
▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
|
|
@@ -78,6 +78,6 @@ rendering chunks...
|
|
|
78
78
|
[2mdist/[22m[36mcomponents/Modal.js [39m[1m[2m1.31 kB[22m[1m[22m
|
|
79
79
|
[2mdist/[22m[36mcomponents/Button.js [39m[1m[2m2.33 kB[22m[1m[22m
|
|
80
80
|
[2mdist/[22m[36mcomponents/CaptchaWidget.js [39m[1m[2m5.74 kB[22m[1m[22m
|
|
81
|
-
[2mdist/[22m[36mcomponents/ProcaptchaWidget.js [39m[1m[
|
|
81
|
+
[2mdist/[22m[36mcomponents/ProcaptchaWidget.js [39m[1m[2m5.86 kB[22m[1m[22m
|
|
82
82
|
[2mdist/[22m[36mcomponents/CaptchaComponent.js [39m[1m[2m8.48 kB[22m[1m[22m
|
|
83
|
-
[32m✓ built in
|
|
83
|
+
[32m✓ built in 223ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# @prosopo/procaptcha-react
|
|
2
2
|
|
|
3
|
+
## 2.9.93
|
|
4
|
+
### Patch Changes
|
|
5
|
+
|
|
6
|
+
- Updated dependencies [0a4f902]
|
|
7
|
+
- @prosopo/types@4.9.10
|
|
8
|
+
- @prosopo/procaptcha@2.10.54
|
|
9
|
+
- @prosopo/procaptcha-common@2.11.14
|
|
10
|
+
|
|
11
|
+
## 2.9.92
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- b500d56: fix(widget): enforce single language across widget, kill browser/config race
|
|
15
|
+
|
|
16
|
+
`WidgetFactory.getCaptchaRenderer()` booted the i18n singleton with the
|
|
17
|
+
browser-detected language before the site-owner `renderOptions.language` /
|
|
18
|
+
`data-language` had been resolved, and each widget then called
|
|
19
|
+
`i18n.changeLanguage(config.language)` from a post-mount effect. Any child
|
|
20
|
+
component that read `useTranslation()` between first render and the async
|
|
21
|
+
`changeLanguage` resolution rendered in the browser language, then re-rendered
|
|
22
|
+
in the site-owner language — the multi-language flash customers reported.
|
|
23
|
+
|
|
24
|
+
Resolve the site-owner language in `WidgetFactory.createWidget()` before the
|
|
25
|
+
lazy renderer load and thread it into `loadI18next(false, lng)`, so the
|
|
26
|
+
singleton boots (or reconciles via `changeLanguage` + await) with the correct
|
|
27
|
+
language before React mounts. Site-owner language wins; falls back to browser
|
|
28
|
+
detection only when no `language` / `data-language` is set.
|
|
29
|
+
- Updated dependencies [b500d56]
|
|
30
|
+
- @prosopo/locale@3.2.7
|
|
31
|
+
- @prosopo/common@3.1.46
|
|
32
|
+
- @prosopo/types@4.9.9
|
|
33
|
+
- @prosopo/procaptcha@2.10.53
|
|
34
|
+
- @prosopo/procaptcha-common@2.11.13
|
|
35
|
+
|
|
3
36
|
## 2.9.91
|
|
4
37
|
### Patch Changes
|
|
5
38
|
|
|
@@ -32,18 +32,14 @@ const ProcaptchaWidget = (props) => {
|
|
|
32
32
|
const sessionInvalidatedFiredRef = React.useRef(false);
|
|
33
33
|
const theme = "light" === props.config.theme ? widgetSkeleton.lightTheme : widgetSkeleton.darkTheme;
|
|
34
34
|
React.useEffect(() => {
|
|
35
|
-
if (config.language)
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
} else {
|
|
41
|
-
locale.loadI18next(false).then((i18n2) => {
|
|
42
|
-
if (i18n2.language !== config.language)
|
|
43
|
-
i18n2.changeLanguage(config.language).then((r) => r);
|
|
44
|
-
});
|
|
35
|
+
if (!config.language) return;
|
|
36
|
+
if (i18n) {
|
|
37
|
+
if (i18n.language !== config.language) {
|
|
38
|
+
void i18n.changeLanguage(config.language);
|
|
45
39
|
}
|
|
40
|
+
return;
|
|
46
41
|
}
|
|
42
|
+
void locale.loadI18next(false, config.language);
|
|
47
43
|
}, [i18n, config.language]);
|
|
48
44
|
React.useEffect(() => {
|
|
49
45
|
if (!props.autoStart) return;
|
|
@@ -31,18 +31,14 @@ const ProcaptchaWidget = (props) => {
|
|
|
31
31
|
const sessionInvalidatedFiredRef = useRef(false);
|
|
32
32
|
const theme = "light" === props.config.theme ? lightTheme : darkTheme;
|
|
33
33
|
useEffect(() => {
|
|
34
|
-
if (config.language)
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
39
|
-
} else {
|
|
40
|
-
loadI18next(false).then((i18n2) => {
|
|
41
|
-
if (i18n2.language !== config.language)
|
|
42
|
-
i18n2.changeLanguage(config.language).then((r) => r);
|
|
43
|
-
});
|
|
34
|
+
if (!config.language) return;
|
|
35
|
+
if (i18n) {
|
|
36
|
+
if (i18n.language !== config.language) {
|
|
37
|
+
void i18n.changeLanguage(config.language);
|
|
44
38
|
}
|
|
39
|
+
return;
|
|
45
40
|
}
|
|
41
|
+
void loadI18next(false, config.language);
|
|
46
42
|
}, [i18n, config.language]);
|
|
47
43
|
useEffect(() => {
|
|
48
44
|
if (!props.autoStart) return;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C;AAEF,eAAe,gBAAgB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosopo/procaptcha-react",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.93",
|
|
4
4
|
"author": "PROSOPO LIMITED <info@prosopo.io>",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
},
|
|
30
30
|
"browserslist": ["> 0.5%, last 2 versions, not dead"],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@prosopo/common": "3.1.
|
|
33
|
-
"@prosopo/locale": "3.2.
|
|
34
|
-
"@prosopo/procaptcha": "2.10.
|
|
35
|
-
"@prosopo/procaptcha-common": "2.11.
|
|
36
|
-
"@prosopo/types": "4.9.
|
|
32
|
+
"@prosopo/common": "3.1.46",
|
|
33
|
+
"@prosopo/locale": "3.2.7",
|
|
34
|
+
"@prosopo/procaptcha": "2.10.54",
|
|
35
|
+
"@prosopo/procaptcha-common": "2.11.14",
|
|
36
|
+
"@prosopo/types": "4.9.10",
|
|
37
37
|
"@prosopo/util": "3.3.4",
|
|
38
38
|
"@prosopo/widget-skeleton": "2.8.4",
|
|
39
39
|
"csstype": "3.1.3",
|