Skip to content

Commit

Permalink
Switch @cheqd/sdk to cjs tag (#481)
Browse files Browse the repository at this point in the history
* Switch `@cheqd/sdk` to `cjs` tag

* Update `jest` config
  • Loading branch information
olegnn authored Nov 19, 2024
1 parent e44fd43 commit b611cf4
Show file tree
Hide file tree
Showing 5 changed files with 168 additions and 175 deletions.
6 changes: 6 additions & 0 deletions packages/cheqd-blockchain-api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @docknetwork/cheqd-blockchain-api

## 0.8.0

### Minor Changes

- Switch `@cheqd/sdk` to the `cjs` tag

## 0.7.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/cheqd-blockchain-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@docknetwork/cheqd-blockchain-api",
"version": "0.7.0",
"version": "0.8.0",
"license": "MIT",
"main": "./dist/esm/index.js",
"type": "module",
Expand Down Expand Up @@ -33,7 +33,7 @@
"node": ">=20.0.0"
},
"dependencies": {
"@cheqd/sdk": "^4.0.4",
"@cheqd/sdk": "cjs",
"@docknetwork/credential-sdk": "0.9.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cheqd-blockchain-modules/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default {
"<rootDir>/../cheqd-blockchain-api/dist/esm/index.js",
"^@docknetwork/dock-blockchain-modules$":
"<rootDir>/../dock-blockchain-modules/dist/esm/index.js",
"^@cheqd/sdk(.*)$": "<rootDir>/../../node_modules/@cheqd/sdk/build/esm/$1",
"^@cheqd/sdk(.*)$": "<rootDir>/../../node_modules/@cheqd/sdk/build/cjs/$1",
"^uint8arrays$": "<rootDir>/../../node_modules/uint8arrays/dist/src",
"^file-type$": "<rootDir>/../../node_modules/file-type/index.js",
"^multiformats/(.*)$":
Expand Down
2 changes: 1 addition & 1 deletion packages/cheqd-blockchain-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@babel/plugin-syntax-import-attributes": "^7.25.6",
"@babel/plugin-transform-modules-commonjs": "^7.24.1",
"@babel/preset-env": "^7.24.3",
"@docknetwork/cheqd-blockchain-api": "0.7.0",
"@docknetwork/cheqd-blockchain-api": "0.8.0",
"@rollup/plugin-alias": "^4.0.2",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^24.0.0",
Expand Down
Loading

0 comments on commit b611cf4

Please sign in to comment.