Skip to content

Commit

Permalink
Fix ESM
Browse files Browse the repository at this point in the history
  • Loading branch information
justinhenricks committed Jan 20, 2025
1 parent 36d0043 commit 2dc86a1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,20 @@
"type": "git",
"url": "https://github.com/justinhenricks/gemini-crypto-ts-sdk.git"
},
"version": "1.0.3",
"version": "1.0.4",
"description": "TypeScript SDK wrapper for Gemini Crypto Exchange API",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/esm/index.d.ts"
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
},
"types": "./dist/esm/index.d.ts",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.cjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"outDir": "./dist/cjs",
"declaration": true,
"declarationMap": true,
"sourceMap": true
"sourceMap": true,
"esModuleInterop": true
}
}

0 comments on commit 2dc86a1

Please sign in to comment.