Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
- add missing deps
- fix export paths for esm build
  • Loading branch information
Karl committed Nov 21, 2024
1 parent 6baf2b2 commit 2a3b31e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 11 additions & 3 deletions packages/js-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,29 @@
"name": "@dm3-org/dm3-js-sdk",
"license": "BSD-2-Clause",
"version": "0.0.1",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"main": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts",
"exports": {
".": {
"import": "./lib/esm/index.js"
}
},
"dependencies": {
"@dm3-org/dm3-lib-crypto": "workspace:^",
"@dm3-org/dm3-lib-delivery": "workspace:^",
"@dm3-org/dm3-lib-messaging": "workspace:^",
"@dm3-org/dm3-lib-profile": "workspace:^",
"@dm3-org/dm3-lib-server-side": "workspace:^",
"@dm3-org/dm3-lib-shared": "workspace:^",
"@dm3-org/dm3-lib-smart-account": "workspace:^",
"@dm3-org/dm3-lib-storage": "workspace:^",
"@dm3-org/dm3-lib-test-helper": "workspace:^",
"@web3-name-sdk/core": "^0.2.0",
"axios": "^0.27.2",
"dotenv": "^16.0.1",
"ethers": "5.7.2"
"ethers": "5",
"siwe": "^2.3.2",
"socket.io-client": "^4.8.1"
},
"scripts": {
"test": "jest --coverage --transformIgnorePatterns 'node_modules/(?!(dm3-lib-\\w*)/)'",
Expand Down
2 changes: 2 additions & 0 deletions packages/js-sdk/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from './Dm3Sdk';
export * from './Dm3';

0 comments on commit 2a3b31e

Please sign in to comment.