@captchafox/react 1.1.1 → 1.2.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
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  "use strict";
2
3
  var __create = Object.create;
3
4
  var __defProp = Object.defineProperty;
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  var __async = (__this, __arguments, generator) => {
2
3
  return new Promise((resolve, reject) => {
3
4
  var fulfilled = (value) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@captchafox/react",
3
- "version": "1.1.1",
3
+ "version": "1.2.0",
4
4
  "main": "./dist/index.cjs",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -23,8 +23,8 @@
23
23
  "dist"
24
24
  ],
25
25
  "scripts": {
26
- "build": "tsup src/index.tsx --format esm,cjs --dts --external react",
27
- "dev": "tsup src/index.tsx --format esm,cjs --watch --dts --external react",
26
+ "build": "tsup src/index.tsx ",
27
+ "dev": "tsup src/index.tsx --watch",
28
28
  "lint": "eslint \"src/**/*.ts*\"",
29
29
  "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
30
30
  "test": "jest --coverage",
@@ -41,18 +41,17 @@
41
41
  "@captchafox/tsconfig": "*",
42
42
  "@captchafox/internal": "*",
43
43
  "@testing-library/react": "^14.0.0",
44
- "@testing-library/user-event": "^14.4.3",
45
- "@testing-library/jest-dom": "^5.16.5",
46
- "@types/jest": "^29.5.0",
47
- "@types/react": "^18.0.9",
48
- "@types/react-dom": "^18.0.4",
49
- "eslint": "^8.15.0",
44
+ "@testing-library/user-event": "^14.5.1",
45
+ "@testing-library/jest-dom": "^6.1.3",
46
+ "@types/jest": "^29.5.5",
47
+ "@types/react": "^18.2.25",
48
+ "@types/react-dom": "^18.2.11",
50
49
  "eslint-config-captchafox": "*",
51
- "jest": "^29.5.0",
52
- "jest-environment-jsdom": "^29.5.0",
53
- "react": "^18.1.0",
54
- "tsup": "^7.1.0",
55
- "ts-jest": "^29.0.5",
50
+ "jest": "^29.7.0",
51
+ "jest-environment-jsdom": "^29.7.0",
52
+ "react": "^18.2.0",
53
+ "tsup": "^7.2.0",
54
+ "ts-jest": "^29.1.1",
56
55
  "typescript": "^5.0.2"
57
56
  },
58
57
  "repository": {