@prosopo/procaptcha-bundle 3.2.2 → 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 +21 -0
- package/package.json +11 -11
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/components.d.ts +0 -5
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/components.d.ts.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/components.js +0 -5
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/components.js.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/index.d.ts +0 -16
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/index.d.ts.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/index.js +0 -144
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/index.js.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/procaptchaReady.unit.test.d.ts +0 -2
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/procaptchaReady.unit.test.d.ts.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/procaptchaReady.unit.test.js +0 -32
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/procaptchaReady.unit.test.js.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/captchaType.test.d.ts +0 -2
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/captchaType.test.d.ts.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/captchaType.test.js +0 -36
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/captchaType.test.js.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/config.test.d.ts +0 -2
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/config.test.d.ts.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/config.test.js +0 -69
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/config.test.js.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.d.ts +0 -2
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.d.ts.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.js +0 -136
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.js.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.d.ts +0 -8
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.d.ts.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.js +0 -15
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.js.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.d.ts +0 -6
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.d.ts.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.js +0 -11
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.js.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.d.ts +0 -10
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.d.ts.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.js +0 -2
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.js.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.d.ts +0 -24
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.d.ts.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.js +0 -49
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.js.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaType.d.ts +0 -3
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaType.d.ts.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaType.js +0 -8
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaType.js.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/frictionlessCaptcha.d.ts +0 -4
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/frictionlessCaptcha.d.ts.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/frictionlessCaptcha.js +0 -14
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/frictionlessCaptcha.js.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/imageCaptcha.d.ts +0 -4
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/imageCaptcha.d.ts.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/imageCaptcha.js +0 -9
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/imageCaptcha.js.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/powCaptcha.d.ts +0 -4
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/powCaptcha.d.ts.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/powCaptcha.js +0 -9
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/powCaptcha.js.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/config.d.ts +0 -6
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/config.d.ts.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/config.js +0 -13
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/config.js.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.d.ts +0 -5
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.d.ts.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.js +0 -23
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.js.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/language.d.ts +0 -3
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/language.d.ts.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/language.js +0 -17
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/language.js.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/timeout.d.ts +0 -3
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/timeout.d.ts.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/timeout.js +0 -9
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/timeout.js.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.d.ts +0 -18
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.d.ts.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.js +0 -66
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.js.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.d.ts +0 -9
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.d.ts.map +0 -1
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.js +0 -19
- package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.js.map +0 -1
- package/coverage/base.css +0 -224
- package/coverage/block-navigation.js +0 -87
- package/coverage/clover.xml +0 -599
- package/coverage/coverage-final.json +0 -17
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +0 -161
- package/coverage/prettify.css +0 -1
- package/coverage/prettify.js +0 -2
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +0 -210
- package/coverage/src/components.ts.html +0 -139
- package/coverage/src/index.html +0 -131
- package/coverage/src/index.ts.html +0 -844
- package/coverage/src/util/captcha/captchaComponentProvider.tsx.html +0 -214
- package/coverage/src/util/captcha/captchaComponentsList.ts.html +0 -178
- package/coverage/src/util/captcha/captchaProps.ts.html +0 -166
- package/coverage/src/util/captcha/captchaRenderer.tsx.html +0 -481
- package/coverage/src/util/captcha/captchaType.ts.html +0 -181
- package/coverage/src/util/captcha/components/frictionlessCaptcha.tsx.html +0 -205
- package/coverage/src/util/captcha/components/imageCaptcha.tsx.html +0 -178
- package/coverage/src/util/captcha/components/index.html +0 -146
- package/coverage/src/util/captcha/components/powCaptcha.tsx.html +0 -178
- package/coverage/src/util/captcha/index.html +0 -176
- package/coverage/src/util/config.ts.html +0 -172
- package/coverage/src/util/configCreator.ts.html +0 -241
- package/coverage/src/util/index.html +0 -191
- package/coverage/src/util/language.ts.html +0 -244
- package/coverage/src/util/timeout.ts.html +0 -214
- package/coverage/src/util/widgetFactory.ts.html +0 -532
- package/coverage/src/util/widgetThemeResolver.ts.html +0 -205
- package/dist/bundle/ProcaptchaWidget-CuMH13Bh.js +0 -1012
- package/dist/bundle/ProcaptchaWidget-DsflBBn_.js +0 -187
- package/dist/bundle/Signer-DP9drQ55.js +0 -23
- package/dist/bundle/bnChunk-DRlDxTFg.js +0 -1137
- package/dist/bundle/browser-ponyfill-DXriyH6D.js +0 -339
- package/dist/bundle/builder-ByZ5z580.js +0 -46
- package/dist/bundle/captchaComponentProvider-D02Su4nd.js +0 -1013
- package/dist/bundle/captchaRenderer-BV-WgbEA.js +0 -70
- package/dist/bundle/commonChunk-PB26mndo.js +0 -183
- package/dist/bundle/components.d.ts.map +0 -1
- package/dist/bundle/emotion-element-c39617d8.browser.esm-DG1XhEZ1.js +0 -916
- package/dist/bundle/fp.esm-DYWeNGcH.js +0 -1654
- package/dist/bundle/index-B9KeZfID.js +0 -5416
- package/dist/bundle/index-Calnfnac.js +0 -609
- package/dist/bundle/index-DU371vQ0.js +0 -1634
- 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/procaptchaReady.unit.test.d.ts.map +0 -1
- package/dist/bundle/tests/util/captchaType.test.d.ts.map +0 -1
- package/dist/bundle/tests/util/config.test.d.ts.map +0 -1
- package/dist/bundle/tests/util/renderLogic.test.d.ts.map +0 -1
- package/dist/bundle/util/captcha/captchaComponentProvider.d.ts.map +0 -1
- package/dist/bundle/util/captcha/captchaComponentsList.d.ts.map +0 -1
- package/dist/bundle/util/captcha/captchaProps.d.ts.map +0 -1
- package/dist/bundle/util/captcha/captchaRenderer.d.ts.map +0 -1
- package/dist/bundle/util/captcha/captchaType.d.ts.map +0 -1
- package/dist/bundle/util/captcha/components/frictionlessCaptcha.d.ts.map +0 -1
- package/dist/bundle/util/captcha/components/imageCaptcha.d.ts.map +0 -1
- package/dist/bundle/util/captcha/components/powCaptcha.d.ts.map +0 -1
- package/dist/bundle/util/config.d.ts.map +0 -1
- package/dist/bundle/util/configCreator.d.ts.map +0 -1
- package/dist/bundle/util/language.d.ts.map +0 -1
- package/dist/bundle/util/timeout.d.ts.map +0 -1
- package/dist/bundle/util/widgetFactory.d.ts.map +0 -1
- package/dist/bundle/util/widgetThemeResolver.d.ts.map +0 -1
- package/dist/bundle/utilChunk-WRTGKXbU.js +0 -324
- package/dist/bundle/utilCryptoChunk-B4ZdOwus.js +0 -1236
- package/dist/bundle/web2Chunk-BGN6Hv-C.js +0 -3972
- package/dist/bundle/web3Chunk-BIX2T9Eo.js +0 -525
- package/dist/bundle/zodChunk-CaINhWMQ.js +0 -2882
- package/dist/components.d.ts +0 -5
- package/dist/components.d.ts.map +0 -1
- package/dist/components.js +0 -5
- package/dist/components.js.map +0 -1
- package/dist/index.d.ts +0 -16
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/tests/procaptchaReady.unit.test.d.ts +0 -2
- package/dist/tests/procaptchaReady.unit.test.d.ts.map +0 -1
- package/dist/tests/procaptchaReady.unit.test.js +0 -32
- package/dist/tests/procaptchaReady.unit.test.js.map +0 -1
- package/dist/tests/util/captchaType.test.d.ts +0 -2
- package/dist/tests/util/captchaType.test.d.ts.map +0 -1
- package/dist/tests/util/captchaType.test.js +0 -36
- package/dist/tests/util/captchaType.test.js.map +0 -1
- package/dist/tests/util/config.test.d.ts +0 -2
- package/dist/tests/util/config.test.d.ts.map +0 -1
- package/dist/tests/util/config.test.js +0 -69
- package/dist/tests/util/config.test.js.map +0 -1
- package/dist/tests/util/renderLogic.test.d.ts +0 -2
- package/dist/tests/util/renderLogic.test.d.ts.map +0 -1
- package/dist/tests/util/renderLogic.test.js +0 -136
- package/dist/tests/util/renderLogic.test.js.map +0 -1
- package/dist/util/captcha/captchaComponentProvider.d.ts +0 -8
- package/dist/util/captcha/captchaComponentProvider.d.ts.map +0 -1
- package/dist/util/captcha/captchaComponentProvider.js.map +0 -1
- package/dist/util/captcha/captchaComponentsList.d.ts +0 -6
- package/dist/util/captcha/captchaComponentsList.d.ts.map +0 -1
- package/dist/util/captcha/captchaComponentsList.js.map +0 -1
- package/dist/util/captcha/captchaProps.d.ts +0 -10
- package/dist/util/captcha/captchaProps.d.ts.map +0 -1
- package/dist/util/captcha/captchaProps.js +0 -2
- package/dist/util/captcha/captchaProps.js.map +0 -1
- package/dist/util/captcha/captchaRenderer.d.ts +0 -24
- package/dist/util/captcha/captchaRenderer.d.ts.map +0 -1
- package/dist/util/captcha/captchaRenderer.js.map +0 -1
- package/dist/util/captcha/captchaType.d.ts +0 -3
- package/dist/util/captcha/captchaType.d.ts.map +0 -1
- package/dist/util/captcha/captchaType.js.map +0 -1
- package/dist/util/captcha/components/frictionlessCaptcha.d.ts +0 -4
- package/dist/util/captcha/components/frictionlessCaptcha.d.ts.map +0 -1
- package/dist/util/captcha/components/frictionlessCaptcha.js.map +0 -1
- package/dist/util/captcha/components/imageCaptcha.d.ts +0 -4
- package/dist/util/captcha/components/imageCaptcha.d.ts.map +0 -1
- package/dist/util/captcha/components/imageCaptcha.js.map +0 -1
- package/dist/util/captcha/components/powCaptcha.d.ts +0 -4
- package/dist/util/captcha/components/powCaptcha.d.ts.map +0 -1
- package/dist/util/captcha/components/powCaptcha.js.map +0 -1
- package/dist/util/config.d.ts +0 -6
- package/dist/util/config.d.ts.map +0 -1
- package/dist/util/config.js.map +0 -1
- package/dist/util/configCreator.d.ts +0 -5
- package/dist/util/configCreator.d.ts.map +0 -1
- package/dist/util/configCreator.js.map +0 -1
- package/dist/util/language.d.ts +0 -3
- package/dist/util/language.d.ts.map +0 -1
- package/dist/util/language.js.map +0 -1
- package/dist/util/timeout.d.ts +0 -3
- package/dist/util/timeout.d.ts.map +0 -1
- package/dist/util/timeout.js.map +0 -1
- package/dist/util/widgetFactory.d.ts +0 -18
- package/dist/util/widgetFactory.d.ts.map +0 -1
- package/dist/util/widgetFactory.js.map +0 -1
- package/dist/util/widgetThemeResolver.d.ts +0 -9
- package/dist/util/widgetThemeResolver.d.ts.map +0 -1
- package/dist/util/widgetThemeResolver.js.map +0 -1
- package/stats.html +0 -4949
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { c as C, j as v, C as f } from "./emotion-element-c39617d8.browser.esm-DG1XhEZ1.js";
|
|
2
|
-
import { r as R } from "./index-B9KeZfID.js";
|
|
3
|
-
import { P as b, b as A, L as i } from "./web2Chunk-BGN6Hv-C.js";
|
|
4
|
-
var l, E = R;
|
|
5
|
-
l = E.createRoot;
|
|
6
|
-
function x(o, e = "light", t, a = !0, r = !1, c) {
|
|
7
|
-
return o || (o = ""), b.parse({
|
|
8
|
-
defaultEnvironment: A.parse("production"),
|
|
9
|
-
userAccountAddress: c || "",
|
|
10
|
-
account: {
|
|
11
|
-
address: o
|
|
12
|
-
},
|
|
13
|
-
serverUrl: "",
|
|
14
|
-
mongoAtlasUri: "mongodb+srv://<MONGO_URI_HERE>/frictionless_events",
|
|
15
|
-
web2: a,
|
|
16
|
-
mode: r ? "invisible" : "visible",
|
|
17
|
-
theme: e,
|
|
18
|
-
language: t
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
const y = (o, e, t) => {
|
|
22
|
-
const a = (o == null ? void 0 : o.language) || e.getAttribute("data-language");
|
|
23
|
-
a && (t.language = L(a));
|
|
24
|
-
}, L = (o) => {
|
|
25
|
-
try {
|
|
26
|
-
return i.parse(o);
|
|
27
|
-
} catch {
|
|
28
|
-
return console.error("Invalid language attribute: ".concat(o)), i.parse("en");
|
|
29
|
-
}
|
|
30
|
-
}, P = (o, e, t) => {
|
|
31
|
-
const a = (o == null ? void 0 : o["challenge-valid-length"]) || e.getAttribute("data-challenge-valid-length");
|
|
32
|
-
a && (t.captchas.image.solutionTimeout = Number.parseInt(a), t.captchas.pow.solutionTimeout = Number.parseInt(a));
|
|
33
|
-
};
|
|
34
|
-
class V {
|
|
35
|
-
constructor(e) {
|
|
36
|
-
this.captchaComponentProvider = e;
|
|
37
|
-
}
|
|
38
|
-
renderCaptcha(e, t, a, r, c, h, u, m) {
|
|
39
|
-
const g = (a == null ? void 0 : a.captchaType) || e.defaultCaptchaType, n = x(a.siteKey, a.theme, a.language, c, u, a.userAccountAddress);
|
|
40
|
-
this.readAndValidateSettings(t, n, a);
|
|
41
|
-
const s = this.createReactRoot(t, e.identifierPrefix), p = this.makeEmotionCache(e.emotionCacheKey, t), d = this.captchaComponentProvider.getCaptchaComponent(g, {
|
|
42
|
-
config: n,
|
|
43
|
-
i18n: h,
|
|
44
|
-
callbacks: r,
|
|
45
|
-
container: m
|
|
46
|
-
});
|
|
47
|
-
return this.renderCaptchaComponent(s, p, d), s;
|
|
48
|
-
}
|
|
49
|
-
readAndValidateSettings(e, t, a) {
|
|
50
|
-
P(a, e, t), y(a, e, t);
|
|
51
|
-
}
|
|
52
|
-
makeEmotionCache(e, t) {
|
|
53
|
-
return C({
|
|
54
|
-
key: e,
|
|
55
|
-
prepend: !0,
|
|
56
|
-
container: t
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
createReactRoot(e, t) {
|
|
60
|
-
return l(e, {
|
|
61
|
-
identifierPrefix: t
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
renderCaptchaComponent(e, t, a) {
|
|
65
|
-
e.render(v.jsx(f, { value: t, children: a }));
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
export {
|
|
69
|
-
V as CaptchaRenderer
|
|
70
|
-
};
|
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
import { z as v } from "./zodChunk-CaINhWMQ.js";
|
|
2
|
-
const h = "info", m = "debug", b = "trace", k = "warn", y = "error", w = "fatal";
|
|
3
|
-
v.enum([
|
|
4
|
-
h,
|
|
5
|
-
m,
|
|
6
|
-
b,
|
|
7
|
-
k,
|
|
8
|
-
y,
|
|
9
|
-
w
|
|
10
|
-
]);
|
|
11
|
-
const P = {
|
|
12
|
-
[b]: 5,
|
|
13
|
-
[m]: 4,
|
|
14
|
-
[h]: 3,
|
|
15
|
-
[k]: 2,
|
|
16
|
-
[y]: 1,
|
|
17
|
-
[w]: 0
|
|
18
|
-
};
|
|
19
|
-
function S(s, t) {
|
|
20
|
-
const e = new E(t);
|
|
21
|
-
return e.setLogLevel(s), e;
|
|
22
|
-
}
|
|
23
|
-
const D = typeof window < "u" && typeof window.document < "u", u = "json", M = "plain";
|
|
24
|
-
v.enum([u, M]);
|
|
25
|
-
class E {
|
|
26
|
-
constructor(t, e = P) {
|
|
27
|
-
this.scope = t, this.levelMap = e, this.pretty = 0, this.printStack = !1, this.format = u, this.level = h, this.levelNum = this.levelMap[this.level];
|
|
28
|
-
}
|
|
29
|
-
setFormat(t) {
|
|
30
|
-
if (this.format = t, this.format !== u)
|
|
31
|
-
throw new Error("Only JSON format implemented for now");
|
|
32
|
-
}
|
|
33
|
-
getFormat() {
|
|
34
|
-
return this.format;
|
|
35
|
-
}
|
|
36
|
-
with(t) {
|
|
37
|
-
const e = new E(this.scope);
|
|
38
|
-
return e.defaultData = { ...this.defaultData, ...t }, e.setLogLevel(this.getLogLevel()), e;
|
|
39
|
-
}
|
|
40
|
-
getPrintStack() {
|
|
41
|
-
return this.printStack;
|
|
42
|
-
}
|
|
43
|
-
setPrintStack(t) {
|
|
44
|
-
this.printStack = t;
|
|
45
|
-
}
|
|
46
|
-
getPretty() {
|
|
47
|
-
return this.pretty > 0;
|
|
48
|
-
}
|
|
49
|
-
setPretty(t) {
|
|
50
|
-
this.pretty = t ? 2 : 0;
|
|
51
|
-
}
|
|
52
|
-
getScope() {
|
|
53
|
-
return this.scope;
|
|
54
|
-
}
|
|
55
|
-
setLogLevel(t) {
|
|
56
|
-
this.level = t, this.levelNum = this.levelMap[t];
|
|
57
|
-
}
|
|
58
|
-
getLogLevel() {
|
|
59
|
-
return this.level;
|
|
60
|
-
}
|
|
61
|
-
unpackError(t) {
|
|
62
|
-
const e = t, r = { ...t };
|
|
63
|
-
r.name = e.name || "Error", this.printStack && (e.stack && (r.stack = e.stack), e.stacktrace && (r.stacktrace = e.stacktrace)), e.cause && (r.cause = e.cause), e.code && (r.code = e.code), e.details && (r.details = e.details), e.context && (r.context = e.context), e.data && (r.data = e.data), e.info && (r.info = e.info), e.metadata && (r.metadata = e.metadata), e.status && (r.status = e.status), e.statusCode && (r.statusCode = e.statusCode), e.cause && (e.cause instanceof Error ? r.cause = this.unpackError(e.cause) : r.cause = e.cause);
|
|
64
|
-
const a = e.message || e.msg || "";
|
|
65
|
-
return e.message && e.msg && (r.msg = e.msg), {
|
|
66
|
-
msg: a,
|
|
67
|
-
data: r
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
print(t, e, r) {
|
|
71
|
-
if (this.levelMap[r] > this.levelNum)
|
|
72
|
-
return;
|
|
73
|
-
const a = (/* @__PURE__ */ new Date()).toISOString();
|
|
74
|
-
let { data: c, msg: l, err: i } = e(), o, g;
|
|
75
|
-
if (i)
|
|
76
|
-
if (i instanceof Error || typeof i == "object") {
|
|
77
|
-
const f = this.unpackError(i);
|
|
78
|
-
o = f.msg, g = f.data;
|
|
79
|
-
} else
|
|
80
|
-
o = String(i);
|
|
81
|
-
this.defaultData && (c = { ...this.defaultData, ...c });
|
|
82
|
-
const n = { scope: this.scope, ts: a, level: this.level };
|
|
83
|
-
if (c && (n.data = c), l && (n.msg = l), o && (n.err = o), g && (n.errData = g), D)
|
|
84
|
-
l || o ? t(l || o, n) : t(n);
|
|
85
|
-
else {
|
|
86
|
-
const f = d(n), x = JSON.stringify(f, null, this.pretty);
|
|
87
|
-
t(x);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
info(t) {
|
|
91
|
-
this.print(console.info.bind(console), t, h);
|
|
92
|
-
}
|
|
93
|
-
debug(t) {
|
|
94
|
-
this.print(console.debug.bind(console), t, m);
|
|
95
|
-
}
|
|
96
|
-
trace(t) {
|
|
97
|
-
this.print(console.trace.bind(console), t, b);
|
|
98
|
-
}
|
|
99
|
-
warn(t) {
|
|
100
|
-
this.print(console.warn.bind(console), t, k);
|
|
101
|
-
}
|
|
102
|
-
error(t) {
|
|
103
|
-
this.print(console.error.bind(console), t, y);
|
|
104
|
-
}
|
|
105
|
-
fatal(t) {
|
|
106
|
-
this.print(console.error.bind(console), t, w);
|
|
107
|
-
}
|
|
108
|
-
log(t, e) {
|
|
109
|
-
switch (t) {
|
|
110
|
-
case "trace":
|
|
111
|
-
this.trace(e);
|
|
112
|
-
break;
|
|
113
|
-
case "debug":
|
|
114
|
-
this.debug(e);
|
|
115
|
-
break;
|
|
116
|
-
case "info":
|
|
117
|
-
this.info(e);
|
|
118
|
-
break;
|
|
119
|
-
case "warn":
|
|
120
|
-
this.warn(e);
|
|
121
|
-
break;
|
|
122
|
-
case "error":
|
|
123
|
-
this.error(e);
|
|
124
|
-
break;
|
|
125
|
-
case "fatal":
|
|
126
|
-
this.fatal(e);
|
|
127
|
-
break;
|
|
128
|
-
default:
|
|
129
|
-
throw new Error(`Unknown log level: ${t}`);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
const d = (s) => {
|
|
134
|
-
if (typeof s == "bigint")
|
|
135
|
-
return s.toString();
|
|
136
|
-
if (N(s))
|
|
137
|
-
for (const t of Object.keys(s))
|
|
138
|
-
s[t] = d(s[t]);
|
|
139
|
-
if (Array.isArray(s))
|
|
140
|
-
for (let t = 0; t < s.length; t++)
|
|
141
|
-
s[t] = d(s[t]);
|
|
142
|
-
return s;
|
|
143
|
-
}, N = (s) => Object === (s == null ? void 0 : s.constructor), O = { t: (s) => s };
|
|
144
|
-
class L extends Error {
|
|
145
|
-
constructor(t, e) {
|
|
146
|
-
const r = (e == null ? void 0 : e.logger) || S("info", import.meta.url), a = (e == null ? void 0 : e.logLevel) || "error", c = (e == null ? void 0 : e.i18n) || O;
|
|
147
|
-
t instanceof Error ? (super(c.t(t.message)), this.translationKey = e == null ? void 0 : e.translationKey, this.context = {
|
|
148
|
-
...e == null ? void 0 : e.context,
|
|
149
|
-
...e != null && e.translationKey ? { translationMessage: c.t(e.translationKey) } : {}
|
|
150
|
-
}) : (super(c.t(t)), this.translationKey = t, this.context = e == null ? void 0 : e.context), e != null && e.silent || this.logError(r, a, e == null ? void 0 : e.name);
|
|
151
|
-
}
|
|
152
|
-
logError(t, e, r) {
|
|
153
|
-
const a = { error: this.message, context: this.context }, c = { errorType: r || this.name, errorParams: a };
|
|
154
|
-
if (e === "debug") {
|
|
155
|
-
t.debug(() => ({ data: { ...c, stack: this.stack } }));
|
|
156
|
-
return;
|
|
157
|
-
}
|
|
158
|
-
t.error(() => ({ data: { ...c } }));
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
class A extends L {
|
|
162
|
-
constructor(t, e) {
|
|
163
|
-
const r = (e == null ? void 0 : e.name) || "ProsopoError", a = { ...e, name: r };
|
|
164
|
-
super(t, a);
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
class F extends L {
|
|
168
|
-
constructor(t, e) {
|
|
169
|
-
const r = (e == null ? void 0 : e.name) || "ProsopoEnvError", a = { ...e, name: r };
|
|
170
|
-
super(t, a);
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
class K extends L {
|
|
174
|
-
constructor(t, e) {
|
|
175
|
-
const r = (e == null ? void 0 : e.name) || "ProsopoDatasetError", a = { ...e, name: r };
|
|
176
|
-
super(t, a);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
export {
|
|
180
|
-
A as P,
|
|
181
|
-
F as a,
|
|
182
|
-
K as b
|
|
183
|
-
};
|
|
@@ -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"}
|