@prosopo/procaptcha-bundle 3.1.6 → 3.2.3
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/CHANGELOG.md +114 -0
- package/dist/cjs/index.cjs +10 -1
- package/dist/cjs/util/configCreator.cjs +0 -1
- package/dist/index.js +10 -1
- package/dist/util/configCreator.js +0 -1
- package/package.json +16 -16
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/components.d.ts +0 -5
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/components.d.ts.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/components.js +0 -5
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/components.js.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/index.d.ts +0 -16
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/index.d.ts.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/index.js +0 -135
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/index.js.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/captchaType.test.d.ts +0 -2
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/captchaType.test.d.ts.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/captchaType.test.js +0 -36
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/captchaType.test.js.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/config.test.d.ts +0 -2
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/config.test.d.ts.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/config.test.js +0 -69
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/config.test.js.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.d.ts +0 -2
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.d.ts.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.js +0 -136
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.js.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.d.ts +0 -8
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.d.ts.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.js +0 -15
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.js.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.d.ts +0 -6
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.d.ts.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.js +0 -11
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.js.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.d.ts +0 -10
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.d.ts.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.js +0 -2
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.js.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.d.ts +0 -24
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.d.ts.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.js +0 -49
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.js.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaType.d.ts +0 -3
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaType.d.ts.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaType.js +0 -8
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaType.js.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/frictionlessCaptcha.d.ts +0 -4
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/frictionlessCaptcha.d.ts.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/frictionlessCaptcha.js +0 -14
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/frictionlessCaptcha.js.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/imageCaptcha.d.ts +0 -4
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/imageCaptcha.d.ts.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/imageCaptcha.js +0 -9
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/imageCaptcha.js.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/powCaptcha.d.ts +0 -4
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/powCaptcha.d.ts.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/powCaptcha.js +0 -9
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/powCaptcha.js.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/config.d.ts +0 -6
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/config.d.ts.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/config.js +0 -13
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/config.js.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.d.ts +0 -5
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.d.ts.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.js +0 -24
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.js.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/language.d.ts +0 -3
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/language.d.ts.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/language.js +0 -17
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/language.js.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/timeout.d.ts +0 -3
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/timeout.d.ts.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/timeout.js +0 -9
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/timeout.js.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.d.ts +0 -18
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.d.ts.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.js +0 -66
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.js.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.d.ts +0 -9
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.d.ts.map +0 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.js +0 -19
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.js.map +0 -1
- package/dist/bundle/ProcaptchaWidget-CJ-4hVS1.js +0 -187
- package/dist/bundle/ProcaptchaWidget-Cw3s7cGX.js +0 -1014
- package/dist/bundle/Signer-DP9drQ55.js +0 -23
- package/dist/bundle/bnChunk-DRlDxTFg.js +0 -1137
- package/dist/bundle/browser-ponyfill-CvzSbL_o.js +0 -339
- package/dist/bundle/builder-ByZ5z580.js +0 -46
- package/dist/bundle/captchaComponentProvider-Cn75EmSH.js +0 -1002
- package/dist/bundle/captchaRenderer-s4QuLEen.js +0 -71
- package/dist/bundle/commonChunk-BjvuHlB1.js +0 -180
- package/dist/bundle/components.d.ts +0 -5
- package/dist/bundle/components.d.ts.map +0 -1
- package/dist/bundle/emotion-element-c39617d8.browser.esm-BNNnmykm.js +0 -916
- package/dist/bundle/fp.esm-DYWeNGcH.js +0 -1654
- package/dist/bundle/index-BuQg3Zno.js +0 -1884
- package/dist/bundle/index-DIdd2cUz.js +0 -5416
- package/dist/bundle/index-IgqrmVIs.js +0 -601
- package/dist/bundle/index.d.ts +0 -16
- package/dist/bundle/index.d.ts.map +0 -1
- package/dist/bundle/locales/ar/translation.json +0 -57
- package/dist/bundle/locales/az/translation.json +0 -57
- package/dist/bundle/locales/cs/translation.json +0 -57
- package/dist/bundle/locales/de/translation.json +0 -57
- package/dist/bundle/locales/el/translation.json +0 -57
- package/dist/bundle/locales/en/translation.json +0 -57
- package/dist/bundle/locales/es/translation.json +0 -57
- package/dist/bundle/locales/fi/translation.json +0 -57
- package/dist/bundle/locales/fr/translation.json +0 -57
- package/dist/bundle/locales/hi/translation.json +0 -57
- package/dist/bundle/locales/hu/translation.json +0 -57
- package/dist/bundle/locales/id/translation.json +0 -57
- package/dist/bundle/locales/it/translation.json +0 -57
- package/dist/bundle/locales/ja/translation.json +0 -57
- package/dist/bundle/locales/jv/translation.json +0 -57
- package/dist/bundle/locales/ko/translation.json +0 -57
- package/dist/bundle/locales/ml/translation.json +0 -57
- package/dist/bundle/locales/ms/translation.json +0 -57
- package/dist/bundle/locales/nl/translation.json +0 -57
- package/dist/bundle/locales/no/translation.json +0 -57
- package/dist/bundle/locales/pl/translation.json +0 -57
- package/dist/bundle/locales/pt/translation.json +0 -57
- package/dist/bundle/locales/pt-BR/translation.json +0 -57
- package/dist/bundle/locales/ro/translation.json +0 -57
- package/dist/bundle/locales/ru/translation.json +0 -57
- package/dist/bundle/locales/sr/translation.json +0 -57
- package/dist/bundle/locales/sv/translation.json +0 -57
- package/dist/bundle/locales/th/translation.json +0 -57
- package/dist/bundle/locales/tr/translation.json +0 -57
- package/dist/bundle/locales/uk/translation.json +0 -57
- package/dist/bundle/locales/vi/translation.json +0 -57
- package/dist/bundle/locales/zh-CN/translation.json +0 -57
- package/dist/bundle/nobleChunk-Bbltwf44.js +0 -2728
- package/dist/bundle/procaptcha.bundle.js +0 -8
- package/dist/bundle/tests/util/captchaType.test.d.ts +0 -2
- package/dist/bundle/tests/util/captchaType.test.d.ts.map +0 -1
- package/dist/bundle/tests/util/config.test.d.ts +0 -2
- package/dist/bundle/tests/util/config.test.d.ts.map +0 -1
- package/dist/bundle/tests/util/renderLogic.test.d.ts +0 -2
- package/dist/bundle/tests/util/renderLogic.test.d.ts.map +0 -1
- package/dist/bundle/util/captcha/captchaComponentProvider.d.ts +0 -8
- package/dist/bundle/util/captcha/captchaComponentProvider.d.ts.map +0 -1
- package/dist/bundle/util/captcha/captchaComponentsList.d.ts +0 -6
- package/dist/bundle/util/captcha/captchaComponentsList.d.ts.map +0 -1
- package/dist/bundle/util/captcha/captchaProps.d.ts +0 -10
- package/dist/bundle/util/captcha/captchaProps.d.ts.map +0 -1
- package/dist/bundle/util/captcha/captchaRenderer.d.ts +0 -24
- package/dist/bundle/util/captcha/captchaRenderer.d.ts.map +0 -1
- package/dist/bundle/util/captcha/captchaType.d.ts +0 -3
- package/dist/bundle/util/captcha/captchaType.d.ts.map +0 -1
- package/dist/bundle/util/captcha/components/frictionlessCaptcha.d.ts +0 -4
- package/dist/bundle/util/captcha/components/frictionlessCaptcha.d.ts.map +0 -1
- package/dist/bundle/util/captcha/components/imageCaptcha.d.ts +0 -4
- package/dist/bundle/util/captcha/components/imageCaptcha.d.ts.map +0 -1
- package/dist/bundle/util/captcha/components/powCaptcha.d.ts +0 -4
- package/dist/bundle/util/captcha/components/powCaptcha.d.ts.map +0 -1
- package/dist/bundle/util/config.d.ts +0 -6
- package/dist/bundle/util/config.d.ts.map +0 -1
- package/dist/bundle/util/configCreator.d.ts +0 -5
- package/dist/bundle/util/configCreator.d.ts.map +0 -1
- package/dist/bundle/util/language.d.ts +0 -3
- package/dist/bundle/util/language.d.ts.map +0 -1
- package/dist/bundle/util/timeout.d.ts +0 -3
- package/dist/bundle/util/timeout.d.ts.map +0 -1
- package/dist/bundle/util/widgetFactory.d.ts +0 -18
- package/dist/bundle/util/widgetFactory.d.ts.map +0 -1
- package/dist/bundle/util/widgetThemeResolver.d.ts +0 -9
- package/dist/bundle/util/widgetThemeResolver.d.ts.map +0 -1
- package/dist/bundle/utilChunk-DPr6oTOj.js +0 -317
- package/dist/bundle/utilCryptoChunk-D6ZLkbFV.js +0 -1236
- package/dist/bundle/web2Chunk-CNoojUDK.js +0 -3967
- package/dist/bundle/web3Chunk-BlYvY4Ea.js +0 -525
- package/dist/bundle/zodChunk-aEfPZzrp.js +0 -2882
- package/stats.html +0 -4842
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,119 @@
|
|
|
1
1
|
# @prosopo/procaptcha-bundle
|
|
2
2
|
|
|
3
|
+
## 3.2.3
|
|
4
|
+
### Patch Changes
|
|
5
|
+
|
|
6
|
+
- 8ce9205: Change engine requirements
|
|
7
|
+
- b6e98b2: Run npm audit
|
|
8
|
+
- Updated dependencies [15ae7cf]
|
|
9
|
+
- Updated dependencies [bb5f41c]
|
|
10
|
+
- Updated dependencies [8ce9205]
|
|
11
|
+
- Updated dependencies [df79c03]
|
|
12
|
+
- Updated dependencies [b6e98b2]
|
|
13
|
+
- @prosopo/types@3.6.0
|
|
14
|
+
- @prosopo/util@3.2.0
|
|
15
|
+
- @prosopo/procaptcha-frictionless@2.8.15
|
|
16
|
+
- @prosopo/procaptcha-common@2.9.14
|
|
17
|
+
- @prosopo/procaptcha-react@2.9.14
|
|
18
|
+
- @prosopo/widget-skeleton@2.7.8
|
|
19
|
+
- @prosopo/procaptcha-pow@2.8.22
|
|
20
|
+
- @prosopo/dotenv@3.0.27
|
|
21
|
+
- @prosopo/locale@3.1.22
|
|
22
|
+
- @prosopo/config@3.1.22
|
|
23
|
+
|
|
24
|
+
## 3.2.2
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- 0699e28: Release in production mode
|
|
28
|
+
- Updated dependencies [8f1773a]
|
|
29
|
+
- @prosopo/types@3.5.11
|
|
30
|
+
- @prosopo/procaptcha-common@2.9.13
|
|
31
|
+
- @prosopo/procaptcha-frictionless@2.8.14
|
|
32
|
+
- @prosopo/procaptcha-pow@2.8.21
|
|
33
|
+
- @prosopo/procaptcha-react@2.9.13
|
|
34
|
+
|
|
35
|
+
## 3.2.1
|
|
36
|
+
### Patch Changes
|
|
37
|
+
|
|
38
|
+
- Updated dependencies [cb8ab85]
|
|
39
|
+
- @prosopo/procaptcha-frictionless@2.8.13
|
|
40
|
+
- @prosopo/types@3.5.10
|
|
41
|
+
- @prosopo/procaptcha-common@2.9.12
|
|
42
|
+
- @prosopo/procaptcha-pow@2.8.20
|
|
43
|
+
- @prosopo/procaptcha-react@2.9.12
|
|
44
|
+
|
|
45
|
+
## 3.2.0
|
|
46
|
+
### Minor Changes
|
|
47
|
+
|
|
48
|
+
- 6e69716: Add procaptcha:ready event to signal when window.procaptcha is available
|
|
49
|
+
|
|
50
|
+
### Patch Changes
|
|
51
|
+
|
|
52
|
+
- Updated dependencies [43907e8]
|
|
53
|
+
- Updated dependencies [005ce66]
|
|
54
|
+
- Updated dependencies [7101036]
|
|
55
|
+
- @prosopo/types@3.5.9
|
|
56
|
+
- @prosopo/util@3.1.7
|
|
57
|
+
- @prosopo/procaptcha-common@2.9.11
|
|
58
|
+
- @prosopo/procaptcha-frictionless@2.8.12
|
|
59
|
+
- @prosopo/procaptcha-pow@2.8.19
|
|
60
|
+
- @prosopo/procaptcha-react@2.9.11
|
|
61
|
+
|
|
62
|
+
## 3.1.11
|
|
63
|
+
### Patch Changes
|
|
64
|
+
|
|
65
|
+
- Updated dependencies [e5c259d]
|
|
66
|
+
- @prosopo/types@3.5.8
|
|
67
|
+
- @prosopo/procaptcha-frictionless@2.8.11
|
|
68
|
+
- @prosopo/procaptcha-common@2.9.10
|
|
69
|
+
- @prosopo/procaptcha-pow@2.8.18
|
|
70
|
+
- @prosopo/procaptcha-react@2.9.10
|
|
71
|
+
|
|
72
|
+
## 3.1.10
|
|
73
|
+
### Patch Changes
|
|
74
|
+
|
|
75
|
+
- Updated dependencies [b8185a4]
|
|
76
|
+
- @prosopo/config@3.1.21
|
|
77
|
+
- @prosopo/procaptcha-frictionless@2.8.10
|
|
78
|
+
- @prosopo/procaptcha-pow@2.8.17
|
|
79
|
+
- @prosopo/dotenv@3.0.26
|
|
80
|
+
- @prosopo/procaptcha-react@2.9.9
|
|
81
|
+
- @prosopo/locale@3.1.21
|
|
82
|
+
- @prosopo/procaptcha-common@2.9.9
|
|
83
|
+
- @prosopo/types@3.5.7
|
|
84
|
+
- @prosopo/util@3.1.6
|
|
85
|
+
- @prosopo/widget-skeleton@2.7.7
|
|
86
|
+
|
|
87
|
+
## 3.1.9
|
|
88
|
+
### Patch Changes
|
|
89
|
+
|
|
90
|
+
- Updated dependencies [5d11a81]
|
|
91
|
+
- @prosopo/types@3.5.6
|
|
92
|
+
- @prosopo/procaptcha-common@2.9.8
|
|
93
|
+
- @prosopo/procaptcha-frictionless@2.8.9
|
|
94
|
+
- @prosopo/procaptcha-pow@2.8.16
|
|
95
|
+
- @prosopo/procaptcha-react@2.9.8
|
|
96
|
+
|
|
97
|
+
## 3.1.8
|
|
98
|
+
### Patch Changes
|
|
99
|
+
|
|
100
|
+
- Updated dependencies [494c5a8]
|
|
101
|
+
- @prosopo/types@3.5.5
|
|
102
|
+
- @prosopo/procaptcha-common@2.9.7
|
|
103
|
+
- @prosopo/procaptcha-frictionless@2.8.8
|
|
104
|
+
- @prosopo/procaptcha-pow@2.8.15
|
|
105
|
+
- @prosopo/procaptcha-react@2.9.7
|
|
106
|
+
|
|
107
|
+
## 3.1.7
|
|
108
|
+
### Patch Changes
|
|
109
|
+
|
|
110
|
+
- Updated dependencies [08ff50f]
|
|
111
|
+
- @prosopo/types@3.5.4
|
|
112
|
+
- @prosopo/procaptcha-common@2.9.6
|
|
113
|
+
- @prosopo/procaptcha-frictionless@2.8.7
|
|
114
|
+
- @prosopo/procaptcha-pow@2.8.14
|
|
115
|
+
- @prosopo/procaptcha-react@2.9.6
|
|
116
|
+
|
|
3
117
|
## 3.1.6
|
|
4
118
|
### Patch Changes
|
|
5
119
|
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -10,6 +10,7 @@ const BUNDLE_NAME = "procaptcha.bundle.js";
|
|
|
10
10
|
let procaptchaRoots = [];
|
|
11
11
|
const widgetFactory = new widgetFactory$1.WidgetFactory(new widgetThemeResolver.WidgetThemeResolver());
|
|
12
12
|
const PROCAPTCHA_EXECUTE_EVENT = "procaptcha:execute";
|
|
13
|
+
const PROCAPTCHA_READY_EVENT = "procaptcha:ready";
|
|
13
14
|
const implicitRender = async () => {
|
|
14
15
|
const elements = Array.from(
|
|
15
16
|
document.getElementsByClassName("procaptcha")
|
|
@@ -18,7 +19,7 @@ const implicitRender = async () => {
|
|
|
18
19
|
const siteKey = util.at(elements, 0).getAttribute("data-sitekey");
|
|
19
20
|
const web3 = util.at(elements, 0).getAttribute("data-web3");
|
|
20
21
|
if (!siteKey) {
|
|
21
|
-
console.error("No
|
|
22
|
+
console.error("No site key found");
|
|
22
23
|
return;
|
|
23
24
|
}
|
|
24
25
|
const captchaType$1 = captchaType.getCaptchaType(elements);
|
|
@@ -162,6 +163,14 @@ const reset = () => {
|
|
|
162
163
|
start();
|
|
163
164
|
};
|
|
164
165
|
window.procaptcha = { ready, render, reset, execute };
|
|
166
|
+
const procaptchaReadyEvent = new CustomEvent(PROCAPTCHA_READY_EVENT, {
|
|
167
|
+
detail: {
|
|
168
|
+
timestamp: Date.now()
|
|
169
|
+
},
|
|
170
|
+
bubbles: true,
|
|
171
|
+
cancelable: false
|
|
172
|
+
});
|
|
173
|
+
document.dispatchEvent(procaptchaReadyEvent);
|
|
165
174
|
start();
|
|
166
175
|
exports.default = ready;
|
|
167
176
|
exports.execute = execute;
|
|
@@ -13,7 +13,6 @@ function createConfig(siteKey, theme = "light", language, web2 = true, invisible
|
|
|
13
13
|
},
|
|
14
14
|
serverUrl: process.env.PROSOPO_SERVER_URL || "",
|
|
15
15
|
mongoAtlasUri: process.env.PROSOPO_MONGO_EVENTS_URI || "",
|
|
16
|
-
devOnlyWatchEvents: process.env._DEV_ONLY_WATCH_EVENTS === "true" || false,
|
|
17
16
|
web2,
|
|
18
17
|
mode: invisible ? "invisible" : "visible",
|
|
19
18
|
theme,
|
package/dist/index.js
CHANGED
|
@@ -8,6 +8,7 @@ const BUNDLE_NAME = "procaptcha.bundle.js";
|
|
|
8
8
|
let procaptchaRoots = [];
|
|
9
9
|
const widgetFactory = new WidgetFactory(new WidgetThemeResolver());
|
|
10
10
|
const PROCAPTCHA_EXECUTE_EVENT = "procaptcha:execute";
|
|
11
|
+
const PROCAPTCHA_READY_EVENT = "procaptcha:ready";
|
|
11
12
|
const implicitRender = async () => {
|
|
12
13
|
const elements = Array.from(
|
|
13
14
|
document.getElementsByClassName("procaptcha")
|
|
@@ -16,7 +17,7 @@ const implicitRender = async () => {
|
|
|
16
17
|
const siteKey = at(elements, 0).getAttribute("data-sitekey");
|
|
17
18
|
const web3 = at(elements, 0).getAttribute("data-web3");
|
|
18
19
|
if (!siteKey) {
|
|
19
|
-
console.error("No
|
|
20
|
+
console.error("No site key found");
|
|
20
21
|
return;
|
|
21
22
|
}
|
|
22
23
|
const captchaType = getCaptchaType(elements);
|
|
@@ -160,6 +161,14 @@ const reset = () => {
|
|
|
160
161
|
start();
|
|
161
162
|
};
|
|
162
163
|
window.procaptcha = { ready, render, reset, execute };
|
|
164
|
+
const procaptchaReadyEvent = new CustomEvent(PROCAPTCHA_READY_EVENT, {
|
|
165
|
+
detail: {
|
|
166
|
+
timestamp: Date.now()
|
|
167
|
+
},
|
|
168
|
+
bubbles: true,
|
|
169
|
+
cancelable: false
|
|
170
|
+
});
|
|
171
|
+
document.dispatchEvent(procaptchaReadyEvent);
|
|
163
172
|
start();
|
|
164
173
|
export {
|
|
165
174
|
ready as default,
|
|
@@ -11,7 +11,6 @@ function createConfig(siteKey, theme = "light", language, web2 = true, invisible
|
|
|
11
11
|
},
|
|
12
12
|
serverUrl: process.env.PROSOPO_SERVER_URL || "",
|
|
13
13
|
mongoAtlasUri: process.env.PROSOPO_MONGO_EVENTS_URI || "",
|
|
14
|
-
devOnlyWatchEvents: process.env._DEV_ONLY_WATCH_EVENTS === "true" || false,
|
|
15
14
|
web2,
|
|
16
15
|
mode: invisible ? "invisible" : "visible",
|
|
17
16
|
theme,
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosopo/procaptcha-bundle",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.3",
|
|
4
4
|
"author": "PROSOPO LIMITED <info@prosopo.io>",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"engines": {
|
|
10
|
-
"node": "
|
|
11
|
-
"npm": "10.
|
|
10
|
+
"node": ">=v20.0.0",
|
|
11
|
+
"npm": ">=10.6.0"
|
|
12
12
|
},
|
|
13
13
|
"exports": {
|
|
14
14
|
".": {
|
|
@@ -37,16 +37,16 @@
|
|
|
37
37
|
},
|
|
38
38
|
"browserslist": ["> 0.5%, last 2 versions, not dead"],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@prosopo/dotenv": "3.0.
|
|
41
|
-
"@prosopo/locale": "3.1.
|
|
42
|
-
"@prosopo/procaptcha-common": "2.9.
|
|
43
|
-
"@prosopo/procaptcha-frictionless": "2.8.
|
|
44
|
-
"@prosopo/procaptcha-pow": "2.8.
|
|
45
|
-
"@prosopo/procaptcha-react": "2.9.
|
|
46
|
-
"@prosopo/types": "3.
|
|
47
|
-
"@prosopo/util": "3.
|
|
48
|
-
"@prosopo/widget-skeleton": "2.7.
|
|
49
|
-
"@prosopo/config": "3.1.
|
|
40
|
+
"@prosopo/dotenv": "3.0.27",
|
|
41
|
+
"@prosopo/locale": "3.1.22",
|
|
42
|
+
"@prosopo/procaptcha-common": "2.9.14",
|
|
43
|
+
"@prosopo/procaptcha-frictionless": "2.8.15",
|
|
44
|
+
"@prosopo/procaptcha-pow": "2.8.22",
|
|
45
|
+
"@prosopo/procaptcha-react": "2.9.14",
|
|
46
|
+
"@prosopo/types": "3.6.0",
|
|
47
|
+
"@prosopo/util": "3.2.0",
|
|
48
|
+
"@prosopo/widget-skeleton": "2.7.8",
|
|
49
|
+
"@prosopo/config": "3.1.22",
|
|
50
50
|
"dotenv": "16.4.5",
|
|
51
51
|
"fast-glob": "3.3.2",
|
|
52
52
|
"jsdom": "25.0.0",
|
|
@@ -72,15 +72,15 @@
|
|
|
72
72
|
"@types/node": "22.10.2",
|
|
73
73
|
"@types/react": "18.3.1",
|
|
74
74
|
"@types/react-dom": "18.3.1",
|
|
75
|
-
"@vitest/coverage-v8": "3.
|
|
75
|
+
"@vitest/coverage-v8": "3.2.4",
|
|
76
76
|
"concurrently": "9.0.1",
|
|
77
77
|
"del-cli": "6.0.0",
|
|
78
78
|
"npm-run-all": "4.1.5",
|
|
79
79
|
"tslib": "2.7.0",
|
|
80
80
|
"tsx": "4.20.3",
|
|
81
81
|
"typescript": "5.6.2",
|
|
82
|
-
"vite": "6.
|
|
83
|
-
"vitest": "3.
|
|
82
|
+
"vite": "6.4.1",
|
|
83
|
+
"vitest": "3.2.4"
|
|
84
84
|
},
|
|
85
85
|
"overrides": {
|
|
86
86
|
"@types/react": "18.3.1"
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export * from "./util/captcha/components/frictionlessCaptcha.js";
|
|
2
|
-
export * from "./util/captcha/components/powCaptcha.js";
|
|
3
|
-
export * from "./util/captcha/components/imageCaptcha.js";
|
|
4
|
-
export * from "./util/captcha/captchaComponentProvider.js";
|
|
5
|
-
//# sourceMappingURL=components.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/components.ts"],"names":[],"mappings":"AAcA,cAAc,kDAAkD,CAAC;AACjE,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,4CAA4C,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export * from "./util/captcha/components/frictionlessCaptcha.js";
|
|
2
|
-
export * from "./util/captcha/components/powCaptcha.js";
|
|
3
|
-
export * from "./util/captcha/components/imageCaptcha.js";
|
|
4
|
-
export * from "./util/captcha/captchaComponentProvider.js";
|
|
5
|
-
//# sourceMappingURL=components.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"components.js","sourceRoot":"","sources":["../../src/components.ts"],"names":[],"mappings":"AAcA,cAAc,kDAAkD,CAAC;AACjE,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,4CAA4C,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { ProcaptchaRenderOptions } from "@prosopo/types";
|
|
2
|
-
export declare const render: (element: Element, renderOptions: ProcaptchaRenderOptions) => Promise<void>;
|
|
3
|
-
export default function ready(fn: () => void): void;
|
|
4
|
-
export declare const execute: () => void;
|
|
5
|
-
declare global {
|
|
6
|
-
interface Window {
|
|
7
|
-
procaptcha: {
|
|
8
|
-
ready: typeof ready;
|
|
9
|
-
render: typeof render;
|
|
10
|
-
reset: typeof reset;
|
|
11
|
-
execute: typeof execute;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
export declare const reset: () => void;
|
|
16
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAiF9D,eAAO,MAAM,MAAM,YACT,OAAO,iBACD,uBAAuB,kBA2BtC,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAAE,EAAE,MAAM,IAAI,QAY3C;AAED,eAAO,MAAM,OAAO,YAqBnB,CAAC;AAkCF,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,MAAM;QACf,UAAU,EAAE;YACX,KAAK,EAAE,OAAO,KAAK,CAAC;YACpB,MAAM,EAAE,OAAO,MAAM,CAAC;YACtB,KAAK,EAAE,OAAO,KAAK,CAAC;YACpB,OAAO,EAAE,OAAO,OAAO,CAAC;SACxB,CAAC;KACF;CACD;AAmCD,eAAO,MAAM,KAAK,YAOjB,CAAC"}
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { getWindowCallback } from "@prosopo/procaptcha-common";
|
|
2
|
-
import { at } from "@prosopo/util";
|
|
3
|
-
import { getCaptchaType } from "./util/captcha/captchaType.js";
|
|
4
|
-
import { extractParams, getProcaptchaScript } from "./util/config.js";
|
|
5
|
-
import { WidgetFactory } from "./util/widgetFactory.js";
|
|
6
|
-
import { WidgetThemeResolver } from "./util/widgetThemeResolver.js";
|
|
7
|
-
const BUNDLE_NAME = "procaptcha.bundle.js";
|
|
8
|
-
let procaptchaRoots = [];
|
|
9
|
-
const widgetFactory = new WidgetFactory(new WidgetThemeResolver());
|
|
10
|
-
const PROCAPTCHA_EXECUTE_EVENT = "procaptcha:execute";
|
|
11
|
-
const implicitRender = async () => {
|
|
12
|
-
const elements = Array.from(document.getElementsByClassName("procaptcha")).filter((element) => element.tagName.toLowerCase() !== "button");
|
|
13
|
-
if (elements.length) {
|
|
14
|
-
const siteKey = at(elements, 0).getAttribute("data-sitekey");
|
|
15
|
-
const web3 = at(elements, 0).getAttribute("data-web3");
|
|
16
|
-
if (!siteKey) {
|
|
17
|
-
console.error("No siteKey found");
|
|
18
|
-
return;
|
|
19
|
-
}
|
|
20
|
-
const captchaType = getCaptchaType(elements);
|
|
21
|
-
const root = await widgetFactory.createWidgets(elements, {
|
|
22
|
-
captchaType: captchaType,
|
|
23
|
-
siteKey: siteKey,
|
|
24
|
-
}, !(web3 === "true"));
|
|
25
|
-
procaptchaRoots.push(...root);
|
|
26
|
-
}
|
|
27
|
-
const invisibleButtons = Array.from(document.getElementsByClassName("procaptcha")).filter((button) => button.tagName.toLowerCase() === "button");
|
|
28
|
-
if (invisibleButtons.length) {
|
|
29
|
-
for (const button of invisibleButtons) {
|
|
30
|
-
const siteKey = button.getAttribute("data-sitekey") || "";
|
|
31
|
-
const callback = button.getAttribute("data-callback") || "";
|
|
32
|
-
const captchaType = getCaptchaType([button]);
|
|
33
|
-
const root = await widgetFactory.createWidgets([button], {
|
|
34
|
-
captchaType: captchaType,
|
|
35
|
-
siteKey: siteKey,
|
|
36
|
-
callback: callback,
|
|
37
|
-
}, true, true);
|
|
38
|
-
procaptchaRoots.push(...root);
|
|
39
|
-
button.addEventListener("click", async (event) => {
|
|
40
|
-
event.preventDefault();
|
|
41
|
-
execute();
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
export const render = async (element, renderOptions) => {
|
|
47
|
-
const hasInvisibleSize = Object.prototype.hasOwnProperty.call(renderOptions, "size") &&
|
|
48
|
-
renderOptions.size === "invisible";
|
|
49
|
-
const isWeb2 = !renderOptions.web3;
|
|
50
|
-
if (hasInvisibleSize || element.tagName.toLowerCase() === "button") {
|
|
51
|
-
const roots = await widgetFactory.createWidgets([element], renderOptions, isWeb2, true);
|
|
52
|
-
procaptchaRoots.push(...roots);
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
const roots = await widgetFactory.createWidgets([element], renderOptions, isWeb2, false);
|
|
56
|
-
procaptchaRoots.push(...roots);
|
|
57
|
-
};
|
|
58
|
-
export default function ready(fn) {
|
|
59
|
-
if (document && document.readyState !== "loading") {
|
|
60
|
-
console.log("document.readyState ready!");
|
|
61
|
-
fn();
|
|
62
|
-
}
|
|
63
|
-
else {
|
|
64
|
-
console.log("DOMContentLoaded listener!");
|
|
65
|
-
document.addEventListener("DOMContentLoaded", () => {
|
|
66
|
-
console.log("DOMContentLoaded fired");
|
|
67
|
-
console.log(window);
|
|
68
|
-
fn();
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
export const execute = () => {
|
|
73
|
-
const containers = findProcaptchaContainers();
|
|
74
|
-
if (containers.length === 0) {
|
|
75
|
-
console.error("No Procaptcha containers found for execution");
|
|
76
|
-
return;
|
|
77
|
-
}
|
|
78
|
-
const executeEvent = new CustomEvent(PROCAPTCHA_EXECUTE_EVENT, {
|
|
79
|
-
detail: {
|
|
80
|
-
containerId: containers[0]?.id || "procaptcha-container",
|
|
81
|
-
containerCount: containers.length,
|
|
82
|
-
timestamp: Date.now(),
|
|
83
|
-
},
|
|
84
|
-
bubbles: true,
|
|
85
|
-
cancelable: true,
|
|
86
|
-
});
|
|
87
|
-
document.dispatchEvent(executeEvent);
|
|
88
|
-
};
|
|
89
|
-
function findProcaptchaContainers() {
|
|
90
|
-
const containers = [];
|
|
91
|
-
const invisibleContainers = Array.from(document.querySelectorAll('[data-size="invisible"]'));
|
|
92
|
-
containers.push(...invisibleContainers);
|
|
93
|
-
const idContainers = Array.from(document.querySelectorAll('#procaptcha-container, [id$="-procaptcha-container"]'));
|
|
94
|
-
const classContainers = Array.from(document.getElementsByClassName("p-procaptcha"));
|
|
95
|
-
containers.push(...classContainers);
|
|
96
|
-
for (const container of idContainers) {
|
|
97
|
-
if (!containers.includes(container)) {
|
|
98
|
-
containers.push(container);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
return containers;
|
|
102
|
-
}
|
|
103
|
-
const start = () => {
|
|
104
|
-
const { onloadUrlCallback, renderExplicit } = extractParams(BUNDLE_NAME);
|
|
105
|
-
let readyCalled = false;
|
|
106
|
-
if (renderExplicit !== "explicit") {
|
|
107
|
-
getProcaptchaScript(BUNDLE_NAME)?.addEventListener("load", () => {
|
|
108
|
-
ready(implicitRender);
|
|
109
|
-
readyCalled = true;
|
|
110
|
-
});
|
|
111
|
-
if (document.readyState === "complete" && !readyCalled) {
|
|
112
|
-
ready(implicitRender);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
if (onloadUrlCallback) {
|
|
116
|
-
getProcaptchaScript(BUNDLE_NAME)?.addEventListener("load", () => {
|
|
117
|
-
const onloadCallback = getWindowCallback(onloadUrlCallback);
|
|
118
|
-
ready(onloadCallback);
|
|
119
|
-
});
|
|
120
|
-
if (document.readyState === "complete" && !readyCalled) {
|
|
121
|
-
const onloadCallback = getWindowCallback(onloadUrlCallback);
|
|
122
|
-
ready(onloadCallback);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
};
|
|
126
|
-
export const reset = () => {
|
|
127
|
-
for (const root of procaptchaRoots) {
|
|
128
|
-
root.unmount();
|
|
129
|
-
}
|
|
130
|
-
procaptchaRoots = [];
|
|
131
|
-
start();
|
|
132
|
-
};
|
|
133
|
-
window.procaptcha = { ready, render, reset, execute };
|
|
134
|
-
start();
|
|
135
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file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KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC;AAEtD,KAAK,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"captchaType.test.d.ts","sourceRoot":"","sources":["../../../../src/tests/util/captchaType.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { CaptchaType } from "@prosopo/types";
|
|
2
|
-
import { JSDOM } from "jsdom";
|
|
3
|
-
import { beforeEach, describe, expect, it } from "vitest";
|
|
4
|
-
import { getCaptchaType } from "../../util/captcha/captchaType.js";
|
|
5
|
-
describe("getCaptchaType", () => {
|
|
6
|
-
beforeEach(() => {
|
|
7
|
-
const dom = new JSDOM("<!DOCTYPE html><html><body></body></html>");
|
|
8
|
-
global.document = dom.window.document;
|
|
9
|
-
});
|
|
10
|
-
it("should return the correct captcha type when a valid type is set", () => {
|
|
11
|
-
const element = document.createElement("div");
|
|
12
|
-
element.setAttribute("data-captcha-type", CaptchaType.pow);
|
|
13
|
-
const result = getCaptchaType([element]);
|
|
14
|
-
expect(result).toBe(CaptchaType.pow);
|
|
15
|
-
});
|
|
16
|
-
it('should return "frictionless" when no captcha type is set', () => {
|
|
17
|
-
const element = document.createElement("div");
|
|
18
|
-
const result = getCaptchaType([element]);
|
|
19
|
-
expect(result).toBe("frictionless");
|
|
20
|
-
});
|
|
21
|
-
it('should return "frictionless" when an invalid captcha type is set', () => {
|
|
22
|
-
const element = document.createElement("div");
|
|
23
|
-
element.setAttribute("data-captcha-type", "invalid-type");
|
|
24
|
-
const result = getCaptchaType([element]);
|
|
25
|
-
expect(result).toBe("frictionless");
|
|
26
|
-
});
|
|
27
|
-
it("should work with all valid FeaturesEnum values", () => {
|
|
28
|
-
const element = document.createElement("div");
|
|
29
|
-
for (const feature of Object.values(CaptchaType)) {
|
|
30
|
-
element.setAttribute("data-captcha-type", feature);
|
|
31
|
-
const result = getCaptchaType([element]);
|
|
32
|
-
expect(result).toBe(feature);
|
|
33
|
-
}
|
|
34
|
-
});
|
|
35
|
-
});
|
|
36
|
-
//# sourceMappingURL=captchaType.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"captchaType.test.js","sourceRoot":"","sources":["../../../../src/tests/util/captchaType.test.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAEnE,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;IAC/B,UAAU,CAAC,GAAG,EAAE;QACf,MAAM,GAAG,GAAG,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;QACnE,MAAM,CAAC,QAAQ,GAAG,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC;IACvC,CAAC,CAAC,CAAC;IACH,EAAE,CAAC,iEAAiE,EAAE,GAAG,EAAE;QAC1E,MAAM,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;QAC9C,OAAO,CAAC,YAAY,CAAC,mBAAmB,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC;QAE3D,MAAM,MAAM,GAAG,cAAc,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QAEzC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IACtC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,0DAA0D,EAAE,GAAG,EAAE;QACnE,MAAM,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;QAE9C,MAAM,MAAM,GAAG,cAAc,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QAEzC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IACrC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,kEAAkE,EAAE,GAAG,EAAE;QAC3E,MAAM,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;QAC9C,OAAO,CAAC,YAAY,CAAC,mBAAmB,EAAE,cAAc,CAAC,CAAC;QAE1D,MAAM,MAAM,GAAG,cAAc,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QAEzC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IACrC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,gDAAgD,EAAE,GAAG,EAAE;QACzD,MAAM,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;QAE9C,KAAK,MAAM,OAAO,IAAI,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC;YAClD,OAAO,CAAC,YAAY,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC;YACnD,MAAM,MAAM,GAAG,cAAc,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YACzC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9B,CAAC;IACF,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.test.d.ts","sourceRoot":"","sources":["../../../../src/tests/util/config.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { JSDOM } from "jsdom";
|
|
2
|
-
import { afterEach, beforeEach, describe, expect, it } from "vitest";
|
|
3
|
-
import { extractParams, getProcaptchaScript } from "../../util/config.js";
|
|
4
|
-
describe("Config utility functions", () => {
|
|
5
|
-
let dom;
|
|
6
|
-
beforeEach(() => {
|
|
7
|
-
dom = new JSDOM("<!DOCTYPE html><html><body></body></html>", {
|
|
8
|
-
url: "https://example.com",
|
|
9
|
-
});
|
|
10
|
-
global.document = dom.window.document;
|
|
11
|
-
});
|
|
12
|
-
afterEach(() => {
|
|
13
|
-
global.document = undefined;
|
|
14
|
-
});
|
|
15
|
-
describe("getProcaptchaScript", () => {
|
|
16
|
-
it("should return null when no matching script is found", () => {
|
|
17
|
-
const result = getProcaptchaScript("nonexistent");
|
|
18
|
-
expect(result).toBeNull();
|
|
19
|
-
});
|
|
20
|
-
it("should return the script element when a matching script is found", () => {
|
|
21
|
-
const script = document.createElement("script");
|
|
22
|
-
script.src = "https://example.com/procaptcha.js";
|
|
23
|
-
document.body.appendChild(script);
|
|
24
|
-
const result = getProcaptchaScript("procaptcha");
|
|
25
|
-
expect(result).toBe(script);
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
describe("extractParams", () => {
|
|
29
|
-
it("should return undefined values when no matching script is found", () => {
|
|
30
|
-
const result = extractParams("nonexistent");
|
|
31
|
-
expect(result).toEqual({
|
|
32
|
-
onloadUrlCallback: undefined,
|
|
33
|
-
renderExplicit: undefined,
|
|
34
|
-
});
|
|
35
|
-
});
|
|
36
|
-
it("should extract parameters from the script URL", () => {
|
|
37
|
-
const script = document.createElement("script");
|
|
38
|
-
script.src =
|
|
39
|
-
"https://example.com/procaptcha.js?onload=onloadCallback&render=explicit";
|
|
40
|
-
document.body.appendChild(script);
|
|
41
|
-
const result = extractParams("procaptcha");
|
|
42
|
-
expect(result).toEqual({
|
|
43
|
-
onloadUrlCallback: "onloadCallback",
|
|
44
|
-
renderExplicit: "explicit",
|
|
45
|
-
});
|
|
46
|
-
});
|
|
47
|
-
it("should return undefined for missing parameters", () => {
|
|
48
|
-
const script = document.createElement("script");
|
|
49
|
-
script.src = "https://example.com/procaptcha.js?onload=onloadCallback";
|
|
50
|
-
document.body.appendChild(script);
|
|
51
|
-
const result = extractParams("procaptcha");
|
|
52
|
-
expect(result).toEqual({
|
|
53
|
-
onloadUrlCallback: "onloadCallback",
|
|
54
|
-
renderExplicit: undefined,
|
|
55
|
-
});
|
|
56
|
-
});
|
|
57
|
-
it("should handle scripts without query parameters", () => {
|
|
58
|
-
const script = document.createElement("script");
|
|
59
|
-
script.src = "https://example.com/procaptcha.js";
|
|
60
|
-
document.body.appendChild(script);
|
|
61
|
-
const result = extractParams("procaptcha");
|
|
62
|
-
expect(result).toEqual({
|
|
63
|
-
onloadUrlCallback: undefined,
|
|
64
|
-
renderExplicit: undefined,
|
|
65
|
-
});
|
|
66
|
-
});
|
|
67
|
-
});
|
|
68
|
-
});
|
|
69
|
-
//# sourceMappingURL=config.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.test.js","sourceRoot":"","sources":["../../../../src/tests/util/config.test.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAE9B,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE1E,QAAQ,CAAC,0BAA0B,EAAE,GAAG,EAAE;IACzC,IAAI,GAAU,CAAC;IAEf,UAAU,CAAC,GAAG,EAAE;QACf,GAAG,GAAG,IAAI,KAAK,CAAC,2CAA2C,EAAE;YAC5D,GAAG,EAAE,qBAAqB;SAC1B,CAAC,CAAC;QACH,MAAM,CAAC,QAAQ,GAAG,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC;IACvC,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QAEb,MAAc,CAAC,QAAQ,GAAG,SAAS,CAAC;IACtC,CAAC,CAAC,CAAC;IAEH,QAAQ,CAAC,qBAAqB,EAAE,GAAG,EAAE;QACpC,EAAE,CAAC,qDAAqD,EAAE,GAAG,EAAE;YAC9D,MAAM,MAAM,GAAG,mBAAmB,CAAC,aAAa,CA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