diff --git a/package.json b/package.json index f099ef0..94dfc4b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@coinsamba/js-exchanges-connector", "description": "Collection of JavaScript implementations of cryptocurrency exchange APIs", - "version": "2.0.6", + "version": "2.0.7", "repository": "git@github.com:coinsambacom/js-exchanges-connector.git", "author": "Gustavo ", "license": "MIT", @@ -9,17 +9,17 @@ "type": "module", "source": "src/index.ts", "exports": { - "types": "./dist/types/index.d.ts", - "require": "./dist/index.cjs", + "types": "./typings/index.d.ts", + "require": "./dist/index.js", "default": "./dist/index.modern.js" }, - "types": "./dist/types/index.d.ts", - "main": "./dist/index.cjs", + "types": "./typings/index.d.ts", + "main": "./dist/index.js", "module": "./dist/index.module.js", "unpkg": "./dist/index.umd.js", "files": [ "dist/**.js*", - "dist/**/*.ts" + "types/**/*.ts" ], "scripts": { "prepare": "yarn run --silent build", diff --git a/tsconfig.json b/tsconfig.json index 8be0554..f5e3114 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,7 @@ "composite": true, "declaration": true, "declarationMap": true, - "declarationDir": "dist/types", + "declarationDir": "typings", "outDir": "dist", "rootDir": "src", "target": "ES2019",