@hcaptcha/react-hcaptcha 1.17.2 → 1.17.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.
@@ -0,0 +1 @@
1
+ {"type":"module"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hcaptcha/react-hcaptcha",
3
- "version": "1.17.2",
3
+ "version": "1.17.3",
4
4
  "types": "types/index.d.ts",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -29,7 +29,7 @@
29
29
  "transpile": "babel src -d dist --copy-files",
30
30
  "prebuild": "rimraf dist",
31
31
  "build": "npm run transpile && npm run build:esm",
32
- "build:esm": "cross-env BABEL_ENV=esm babel src -d dist/esm --copy-files",
32
+ "build:esm": "cross-env BABEL_ENV=esm babel src -d dist/esm --copy-files && echo '{\"type\":\"module\"}' > dist/esm/package.json",
33
33
  "prepublishOnly": "npm run build"
34
34
  },
35
35
  "peerDependencies": {