@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.
Files changed (252) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/package.json +11 -11
  3. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/components.d.ts +0 -5
  4. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/components.d.ts.map +0 -1
  5. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/components.js +0 -5
  6. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/components.js.map +0 -1
  7. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/index.d.ts +0 -16
  8. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/index.d.ts.map +0 -1
  9. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/index.js +0 -144
  10. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/index.js.map +0 -1
  11. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/procaptchaReady.unit.test.d.ts +0 -2
  12. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/procaptchaReady.unit.test.d.ts.map +0 -1
  13. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/procaptchaReady.unit.test.js +0 -32
  14. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/procaptchaReady.unit.test.js.map +0 -1
  15. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/captchaType.test.d.ts +0 -2
  16. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/captchaType.test.d.ts.map +0 -1
  17. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/captchaType.test.js +0 -36
  18. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/captchaType.test.js.map +0 -1
  19. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/config.test.d.ts +0 -2
  20. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/config.test.d.ts.map +0 -1
  21. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/config.test.js +0 -69
  22. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/config.test.js.map +0 -1
  23. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.d.ts +0 -2
  24. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.d.ts.map +0 -1
  25. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.js +0 -136
  26. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.js.map +0 -1
  27. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.d.ts +0 -8
  28. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.d.ts.map +0 -1
  29. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.js +0 -15
  30. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.js.map +0 -1
  31. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.d.ts +0 -6
  32. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.d.ts.map +0 -1
  33. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.js +0 -11
  34. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.js.map +0 -1
  35. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.d.ts +0 -10
  36. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.d.ts.map +0 -1
  37. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.js +0 -2
  38. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.js.map +0 -1
  39. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.d.ts +0 -24
  40. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.d.ts.map +0 -1
  41. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.js +0 -49
  42. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.js.map +0 -1
  43. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaType.d.ts +0 -3
  44. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaType.d.ts.map +0 -1
  45. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaType.js +0 -8
  46. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaType.js.map +0 -1
  47. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/frictionlessCaptcha.d.ts +0 -4
  48. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/frictionlessCaptcha.d.ts.map +0 -1
  49. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/frictionlessCaptcha.js +0 -14
  50. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/frictionlessCaptcha.js.map +0 -1
  51. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/imageCaptcha.d.ts +0 -4
  52. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/imageCaptcha.d.ts.map +0 -1
  53. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/imageCaptcha.js +0 -9
  54. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/imageCaptcha.js.map +0 -1
  55. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/powCaptcha.d.ts +0 -4
  56. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/powCaptcha.d.ts.map +0 -1
  57. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/powCaptcha.js +0 -9
  58. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/powCaptcha.js.map +0 -1
  59. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/config.d.ts +0 -6
  60. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/config.d.ts.map +0 -1
  61. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/config.js +0 -13
  62. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/config.js.map +0 -1
  63. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.d.ts +0 -5
  64. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.d.ts.map +0 -1
  65. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.js +0 -23
  66. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.js.map +0 -1
  67. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/language.d.ts +0 -3
  68. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/language.d.ts.map +0 -1
  69. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/language.js +0 -17
  70. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/language.js.map +0 -1
  71. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/timeout.d.ts +0 -3
  72. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/timeout.d.ts.map +0 -1
  73. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/timeout.js +0 -9
  74. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/timeout.js.map +0 -1
  75. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.d.ts +0 -18
  76. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.d.ts.map +0 -1
  77. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.js +0 -66
  78. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.js.map +0 -1
  79. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.d.ts +0 -9
  80. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.d.ts.map +0 -1
  81. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.js +0 -19
  82. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.js.map +0 -1
  83. package/coverage/base.css +0 -224
  84. package/coverage/block-navigation.js +0 -87
  85. package/coverage/clover.xml +0 -599
  86. package/coverage/coverage-final.json +0 -17
  87. package/coverage/favicon.png +0 -0
  88. package/coverage/index.html +0 -161
  89. package/coverage/prettify.css +0 -1
  90. package/coverage/prettify.js +0 -2
  91. package/coverage/sort-arrow-sprite.png +0 -0
  92. package/coverage/sorter.js +0 -210
  93. package/coverage/src/components.ts.html +0 -139
  94. package/coverage/src/index.html +0 -131
  95. package/coverage/src/index.ts.html +0 -844
  96. package/coverage/src/util/captcha/captchaComponentProvider.tsx.html +0 -214
  97. package/coverage/src/util/captcha/captchaComponentsList.ts.html +0 -178
  98. package/coverage/src/util/captcha/captchaProps.ts.html +0 -166
  99. package/coverage/src/util/captcha/captchaRenderer.tsx.html +0 -481
  100. package/coverage/src/util/captcha/captchaType.ts.html +0 -181
  101. package/coverage/src/util/captcha/components/frictionlessCaptcha.tsx.html +0 -205
  102. package/coverage/src/util/captcha/components/imageCaptcha.tsx.html +0 -178
  103. package/coverage/src/util/captcha/components/index.html +0 -146
  104. package/coverage/src/util/captcha/components/powCaptcha.tsx.html +0 -178
  105. package/coverage/src/util/captcha/index.html +0 -176
  106. package/coverage/src/util/config.ts.html +0 -172
  107. package/coverage/src/util/configCreator.ts.html +0 -241
  108. package/coverage/src/util/index.html +0 -191
  109. package/coverage/src/util/language.ts.html +0 -244
  110. package/coverage/src/util/timeout.ts.html +0 -214
  111. package/coverage/src/util/widgetFactory.ts.html +0 -532
  112. package/coverage/src/util/widgetThemeResolver.ts.html +0 -205
  113. package/dist/bundle/ProcaptchaWidget-CuMH13Bh.js +0 -1012
  114. package/dist/bundle/ProcaptchaWidget-DsflBBn_.js +0 -187
  115. package/dist/bundle/Signer-DP9drQ55.js +0 -23
  116. package/dist/bundle/bnChunk-DRlDxTFg.js +0 -1137
  117. package/dist/bundle/browser-ponyfill-DXriyH6D.js +0 -339
  118. package/dist/bundle/builder-ByZ5z580.js +0 -46
  119. package/dist/bundle/captchaComponentProvider-D02Su4nd.js +0 -1013
  120. package/dist/bundle/captchaRenderer-BV-WgbEA.js +0 -70
  121. package/dist/bundle/commonChunk-PB26mndo.js +0 -183
  122. package/dist/bundle/components.d.ts.map +0 -1
  123. package/dist/bundle/emotion-element-c39617d8.browser.esm-DG1XhEZ1.js +0 -916
  124. package/dist/bundle/fp.esm-DYWeNGcH.js +0 -1654
  125. package/dist/bundle/index-B9KeZfID.js +0 -5416
  126. package/dist/bundle/index-Calnfnac.js +0 -609
  127. package/dist/bundle/index-DU371vQ0.js +0 -1634
  128. package/dist/bundle/index.d.ts.map +0 -1
  129. package/dist/bundle/locales/ar/translation.json +0 -57
  130. package/dist/bundle/locales/az/translation.json +0 -57
  131. package/dist/bundle/locales/cs/translation.json +0 -57
  132. package/dist/bundle/locales/de/translation.json +0 -57
  133. package/dist/bundle/locales/el/translation.json +0 -57
  134. package/dist/bundle/locales/en/translation.json +0 -57
  135. package/dist/bundle/locales/es/translation.json +0 -57
  136. package/dist/bundle/locales/fi/translation.json +0 -57
  137. package/dist/bundle/locales/fr/translation.json +0 -57
  138. package/dist/bundle/locales/hi/translation.json +0 -57
  139. package/dist/bundle/locales/hu/translation.json +0 -57
  140. package/dist/bundle/locales/id/translation.json +0 -57
  141. package/dist/bundle/locales/it/translation.json +0 -57
  142. package/dist/bundle/locales/ja/translation.json +0 -57
  143. package/dist/bundle/locales/jv/translation.json +0 -57
  144. package/dist/bundle/locales/ko/translation.json +0 -57
  145. package/dist/bundle/locales/ml/translation.json +0 -57
  146. package/dist/bundle/locales/ms/translation.json +0 -57
  147. package/dist/bundle/locales/nl/translation.json +0 -57
  148. package/dist/bundle/locales/no/translation.json +0 -57
  149. package/dist/bundle/locales/pl/translation.json +0 -57
  150. package/dist/bundle/locales/pt/translation.json +0 -57
  151. package/dist/bundle/locales/pt-BR/translation.json +0 -57
  152. package/dist/bundle/locales/ro/translation.json +0 -57
  153. package/dist/bundle/locales/ru/translation.json +0 -57
  154. package/dist/bundle/locales/sr/translation.json +0 -57
  155. package/dist/bundle/locales/sv/translation.json +0 -57
  156. package/dist/bundle/locales/th/translation.json +0 -57
  157. package/dist/bundle/locales/tr/translation.json +0 -57
  158. package/dist/bundle/locales/uk/translation.json +0 -57
  159. package/dist/bundle/locales/vi/translation.json +0 -57
  160. package/dist/bundle/locales/zh-CN/translation.json +0 -57
  161. package/dist/bundle/nobleChunk-Bbltwf44.js +0 -2728
  162. package/dist/bundle/procaptcha.bundle.js +0 -8
  163. package/dist/bundle/tests/procaptchaReady.unit.test.d.ts.map +0 -1
  164. package/dist/bundle/tests/util/captchaType.test.d.ts.map +0 -1
  165. package/dist/bundle/tests/util/config.test.d.ts.map +0 -1
  166. package/dist/bundle/tests/util/renderLogic.test.d.ts.map +0 -1
  167. package/dist/bundle/util/captcha/captchaComponentProvider.d.ts.map +0 -1
  168. package/dist/bundle/util/captcha/captchaComponentsList.d.ts.map +0 -1
  169. package/dist/bundle/util/captcha/captchaProps.d.ts.map +0 -1
  170. package/dist/bundle/util/captcha/captchaRenderer.d.ts.map +0 -1
  171. package/dist/bundle/util/captcha/captchaType.d.ts.map +0 -1
  172. package/dist/bundle/util/captcha/components/frictionlessCaptcha.d.ts.map +0 -1
  173. package/dist/bundle/util/captcha/components/imageCaptcha.d.ts.map +0 -1
  174. package/dist/bundle/util/captcha/components/powCaptcha.d.ts.map +0 -1
  175. package/dist/bundle/util/config.d.ts.map +0 -1
  176. package/dist/bundle/util/configCreator.d.ts.map +0 -1
  177. package/dist/bundle/util/language.d.ts.map +0 -1
  178. package/dist/bundle/util/timeout.d.ts.map +0 -1
  179. package/dist/bundle/util/widgetFactory.d.ts.map +0 -1
  180. package/dist/bundle/util/widgetThemeResolver.d.ts.map +0 -1
  181. package/dist/bundle/utilChunk-WRTGKXbU.js +0 -324
  182. package/dist/bundle/utilCryptoChunk-B4ZdOwus.js +0 -1236
  183. package/dist/bundle/web2Chunk-BGN6Hv-C.js +0 -3972
  184. package/dist/bundle/web3Chunk-BIX2T9Eo.js +0 -525
  185. package/dist/bundle/zodChunk-CaINhWMQ.js +0 -2882
  186. package/dist/components.d.ts +0 -5
  187. package/dist/components.d.ts.map +0 -1
  188. package/dist/components.js +0 -5
  189. package/dist/components.js.map +0 -1
  190. package/dist/index.d.ts +0 -16
  191. package/dist/index.d.ts.map +0 -1
  192. package/dist/index.js.map +0 -1
  193. package/dist/tests/procaptchaReady.unit.test.d.ts +0 -2
  194. package/dist/tests/procaptchaReady.unit.test.d.ts.map +0 -1
  195. package/dist/tests/procaptchaReady.unit.test.js +0 -32
  196. package/dist/tests/procaptchaReady.unit.test.js.map +0 -1
  197. package/dist/tests/util/captchaType.test.d.ts +0 -2
  198. package/dist/tests/util/captchaType.test.d.ts.map +0 -1
  199. package/dist/tests/util/captchaType.test.js +0 -36
  200. package/dist/tests/util/captchaType.test.js.map +0 -1
  201. package/dist/tests/util/config.test.d.ts +0 -2
  202. package/dist/tests/util/config.test.d.ts.map +0 -1
  203. package/dist/tests/util/config.test.js +0 -69
  204. package/dist/tests/util/config.test.js.map +0 -1
  205. package/dist/tests/util/renderLogic.test.d.ts +0 -2
  206. package/dist/tests/util/renderLogic.test.d.ts.map +0 -1
  207. package/dist/tests/util/renderLogic.test.js +0 -136
  208. package/dist/tests/util/renderLogic.test.js.map +0 -1
  209. package/dist/util/captcha/captchaComponentProvider.d.ts +0 -8
  210. package/dist/util/captcha/captchaComponentProvider.d.ts.map +0 -1
  211. package/dist/util/captcha/captchaComponentProvider.js.map +0 -1
  212. package/dist/util/captcha/captchaComponentsList.d.ts +0 -6
  213. package/dist/util/captcha/captchaComponentsList.d.ts.map +0 -1
  214. package/dist/util/captcha/captchaComponentsList.js.map +0 -1
  215. package/dist/util/captcha/captchaProps.d.ts +0 -10
  216. package/dist/util/captcha/captchaProps.d.ts.map +0 -1
  217. package/dist/util/captcha/captchaProps.js +0 -2
  218. package/dist/util/captcha/captchaProps.js.map +0 -1
  219. package/dist/util/captcha/captchaRenderer.d.ts +0 -24
  220. package/dist/util/captcha/captchaRenderer.d.ts.map +0 -1
  221. package/dist/util/captcha/captchaRenderer.js.map +0 -1
  222. package/dist/util/captcha/captchaType.d.ts +0 -3
  223. package/dist/util/captcha/captchaType.d.ts.map +0 -1
  224. package/dist/util/captcha/captchaType.js.map +0 -1
  225. package/dist/util/captcha/components/frictionlessCaptcha.d.ts +0 -4
  226. package/dist/util/captcha/components/frictionlessCaptcha.d.ts.map +0 -1
  227. package/dist/util/captcha/components/frictionlessCaptcha.js.map +0 -1
  228. package/dist/util/captcha/components/imageCaptcha.d.ts +0 -4
  229. package/dist/util/captcha/components/imageCaptcha.d.ts.map +0 -1
  230. package/dist/util/captcha/components/imageCaptcha.js.map +0 -1
  231. package/dist/util/captcha/components/powCaptcha.d.ts +0 -4
  232. package/dist/util/captcha/components/powCaptcha.d.ts.map +0 -1
  233. package/dist/util/captcha/components/powCaptcha.js.map +0 -1
  234. package/dist/util/config.d.ts +0 -6
  235. package/dist/util/config.d.ts.map +0 -1
  236. package/dist/util/config.js.map +0 -1
  237. package/dist/util/configCreator.d.ts +0 -5
  238. package/dist/util/configCreator.d.ts.map +0 -1
  239. package/dist/util/configCreator.js.map +0 -1
  240. package/dist/util/language.d.ts +0 -3
  241. package/dist/util/language.d.ts.map +0 -1
  242. package/dist/util/language.js.map +0 -1
  243. package/dist/util/timeout.d.ts +0 -3
  244. package/dist/util/timeout.d.ts.map +0 -1
  245. package/dist/util/timeout.js.map +0 -1
  246. package/dist/util/widgetFactory.d.ts +0 -18
  247. package/dist/util/widgetFactory.d.ts.map +0 -1
  248. package/dist/util/widgetFactory.js.map +0 -1
  249. package/dist/util/widgetThemeResolver.d.ts +0 -9
  250. package/dist/util/widgetThemeResolver.d.ts.map +0 -1
  251. package/dist/util/widgetThemeResolver.js.map +0 -1
  252. 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"}