@captchafox/react 1.9.0 → 1.10.0

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/dist/index.cjs CHANGED
@@ -127,7 +127,9 @@ var CaptchaFox = (0, import_react.forwardRef)(
127
127
  onVerify,
128
128
  onLoad,
129
129
  onFail,
130
- onClose
130
+ onClose,
131
+ onChallengeChange,
132
+ onChallengeOpen
131
133
  }, ref) => {
132
134
  const [containerRef, setContainerRef] = (0, import_react.useState)();
133
135
  const [widgetId, setWidgetId] = (0, import_react.useState)();
@@ -252,7 +254,9 @@ var CaptchaFox = (0, import_react.forwardRef)(
252
254
  onError,
253
255
  onFail,
254
256
  onClose,
255
- onVerify
257
+ onVerify,
258
+ onChallengeChange,
259
+ onChallengeOpen
256
260
  });
257
261
  if (!newWidgetId) {
258
262
  return;
package/dist/index.js CHANGED
@@ -89,7 +89,9 @@ var CaptchaFox = forwardRef(
89
89
  onVerify,
90
90
  onLoad,
91
91
  onFail,
92
- onClose
92
+ onClose,
93
+ onChallengeChange,
94
+ onChallengeOpen
93
95
  }, ref) => {
94
96
  const [containerRef, setContainerRef] = useState();
95
97
  const [widgetId, setWidgetId] = useState();
@@ -214,7 +216,9 @@ var CaptchaFox = forwardRef(
214
216
  onError,
215
217
  onFail,
216
218
  onClose,
217
- onVerify
219
+ onVerify,
220
+ onChallengeChange,
221
+ onChallengeOpen
218
222
  });
219
223
  if (!newWidgetId) {
220
224
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@captchafox/react",
3
- "version": "1.9.0",
3
+ "version": "1.10.0",
4
4
  "main": "./dist/index.cjs",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -35,7 +35,7 @@
35
35
  "react-dom": ">=16.8.0"
36
36
  },
37
37
  "dependencies": {
38
- "@captchafox/types": "^1.3.0"
38
+ "@captchafox/types": "^1.4.0"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@captchafox/tsconfig": "*",