fix(package): fix esm module location

This commit is contained in:
sati.ac 2023-08-14 18:01:51 +03:00
parent ab8bdbbe33
commit 0d98890463
2 changed files with 5 additions and 4 deletions

5
package-lock.json generated

@ -1,12 +1,13 @@
{ {
"name": "sati", "name": "sati",
"version": "1.0.0", "version": "0.3.2",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "sati", "name": "sati",
"version": "1.0.0", "version": "0.3.2",
"license": "MIT",
"dependencies": { "dependencies": {
"@types/node": "^20.1.1", "@types/node": "^20.1.1",
"@types/ws": "^8.5.4", "@types/ws": "^8.5.4",

@ -1,6 +1,6 @@
{ {
"name": "sati", "name": "sati",
"version": "0.3.1", "version": "0.3.2",
"description": "next generation anti-captcha", "description": "next generation anti-captcha",
"license": "MIT", "license": "MIT",
"repository": { "repository": {
@ -37,7 +37,7 @@
"types": "./dist/src/index.d.ts", "types": "./dist/src/index.d.ts",
"exports": { "exports": {
".": { ".": {
"import": "./dist/sati.node.esm.js", "import": "./dist/sati.node.esm.mjs",
"require": "./dist/sati.node.cjs.js", "require": "./dist/sati.node.cjs.js",
"types": "./dist/src/index.d.ts" "types": "./dist/src/index.d.ts"
}, },