Skip to content

Commit

Permalink
feat: allow import api module types/classes
Browse files Browse the repository at this point in the history
  • Loading branch information
vbrvk committed Feb 14, 2025
1 parent 23ae94a commit d578138
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
16 changes: 16 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,22 @@
"module": "dist/esm/index.js",
"main": "dist/cjs/index.js",
"types": "dist/types/src/index.d.ts",
"exports": {
".": {
"types": "./dist/types/src/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"node": "./dist/cjs/index.js",
"default": "./dist/cjs/index.js"
},
"api": {
"types": "./dist/types/src/api.d.ts",
"import": "./dist/esm/api.js",
"require": "./dist/cjs/api.js",
"node": "./dist/cjs/api.js",
"default": "./dist/cjs/api.js"
}
},
"repository": {
"type": "git",
"url": "ssh://[email protected]:1inch/fusion-sdk.git"
Expand Down
1 change: 1 addition & 0 deletions src/api.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './api'

0 comments on commit d578138

Please sign in to comment.