diff --git a/CHANGELOG.md b/CHANGELOG.md index 210bd51f..db15aeed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.109.3](https://github.com/ckb-js/ckb-sdk-js/compare/v0.109.2...v0.109.3) (2024-08-01) + + +### Bug Fixes + +* commonjs support ([#639](https://github.com/ckb-js/ckb-sdk-js/issues/639)) ([b229d4e](https://github.com/ckb-js/ckb-sdk-js/commit/b229d4ede84e34820d236ccf22af9e24dd518c19)) + + + + + ## [0.109.2](https://github.com/ckb-js/ckb-sdk-js/compare/v0.109.1...v0.109.2) (2024-07-19) diff --git a/lerna.json b/lerna.json index 7a610ce4..a6231866 100644 --- a/lerna.json +++ b/lerna.json @@ -1,3 +1,3 @@ { - "version": "0.109.2" + "version": "0.109.3" } diff --git a/packages/ckb-sdk-core/CHANGELOG.md b/packages/ckb-sdk-core/CHANGELOG.md index c28f11f2..22e40db6 100644 --- a/packages/ckb-sdk-core/CHANGELOG.md +++ b/packages/ckb-sdk-core/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.109.3](https://github.com/ckb-js/ckb-sdk-js/compare/v0.109.2...v0.109.3) (2024-08-01) + + +### Bug Fixes + +* commonjs support ([#639](https://github.com/ckb-js/ckb-sdk-js/issues/639)) ([b229d4e](https://github.com/ckb-js/ckb-sdk-js/commit/b229d4ede84e34820d236ccf22af9e24dd518c19)) + + + + + ## [0.109.2](https://github.com/ckb-js/ckb-sdk-js/compare/v0.109.1...v0.109.2) (2024-07-19) diff --git a/packages/ckb-sdk-core/misc/basedirs/lib-esm/package.json b/packages/ckb-sdk-core/misc/basedirs/lib-esm/package.json new file mode 100644 index 00000000..3dbc1ca5 --- /dev/null +++ b/packages/ckb-sdk-core/misc/basedirs/lib-esm/package.json @@ -0,0 +1,3 @@ +{ + "type": "module" +} diff --git a/packages/ckb-sdk-core/misc/basedirs/lib/package.json b/packages/ckb-sdk-core/misc/basedirs/lib/package.json new file mode 100644 index 00000000..5bbefffb --- /dev/null +++ b/packages/ckb-sdk-core/misc/basedirs/lib/package.json @@ -0,0 +1,3 @@ +{ + "type": "commonjs" +} diff --git a/packages/ckb-sdk-core/package.json b/packages/ckb-sdk-core/package.json index 27ec3cb9..ac234645 100644 --- a/packages/ckb-sdk-core/package.json +++ b/packages/ckb-sdk-core/package.json @@ -1,13 +1,13 @@ { "name": "@nervosnetwork/ckb-sdk-core", - "version": "0.109.2", + "version": "0.109.3", "description": "JavaScript SDK for Nervos Network CKB Project", "author": "Nervos ", "homepage": "https://github.com/ckb-js/ckb-sdk-js#readme", "license": "MIT", "main": "lib/index.js", + "module": "lib-esm/index.js", "typings": "lib/index.d.ts", - "type": "module", "directories": { "lib": "lib", "lib-esm": "lib-esm", @@ -41,17 +41,17 @@ "url": "git+https://github.com/ckb-js/ckb-sdk-js.git" }, "scripts": { - "tsc": "tsc --project tsconfig.json && tsc --project tsconfig.esm.json", + "tsc": "tsc --project tsconfig.json && tsc --project tsconfig.esm.json && npx copyfiles -u 2 misc/basedirs/**/* .", "test": "../../node_modules/.bin/jest" }, "bugs": { "url": "https://github.com/ckb-js/ckb-sdk-js/issues" }, "dependencies": { - "@nervosnetwork/ckb-sdk-rpc": "0.109.2", - "@nervosnetwork/ckb-sdk-utils": "0.109.2", - "@nervosnetwork/ckb-types": "0.109.2", + "@nervosnetwork/ckb-sdk-rpc": "0.109.3", + "@nervosnetwork/ckb-sdk-utils": "0.109.3", + "@nervosnetwork/ckb-types": "0.109.3", "tslib": "2.3.1" }, - "gitHead": "ef6e8c929554a1d601a44b1562ffa585a707cc4d" + "gitHead": "bb703e9a16b9f467a88d6a1067162d296808fbc1" } diff --git a/packages/ckb-sdk-rpc/CHANGELOG.md b/packages/ckb-sdk-rpc/CHANGELOG.md index 7ff467b9..a3001bbd 100644 --- a/packages/ckb-sdk-rpc/CHANGELOG.md +++ b/packages/ckb-sdk-rpc/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.109.3](https://github.com/ckb-js/ckb-sdk-js/compare/v0.109.2...v0.109.3) (2024-08-01) + + +### Bug Fixes + +* commonjs support ([#639](https://github.com/ckb-js/ckb-sdk-js/issues/639)) ([b229d4e](https://github.com/ckb-js/ckb-sdk-js/commit/b229d4ede84e34820d236ccf22af9e24dd518c19)) + + + + + ## [0.109.2](https://github.com/ckb-js/ckb-sdk-js/compare/v0.109.1...v0.109.2) (2024-07-19) diff --git a/packages/ckb-sdk-rpc/misc/basedirs/lib-esm/package.json b/packages/ckb-sdk-rpc/misc/basedirs/lib-esm/package.json new file mode 100644 index 00000000..3dbc1ca5 --- /dev/null +++ b/packages/ckb-sdk-rpc/misc/basedirs/lib-esm/package.json @@ -0,0 +1,3 @@ +{ + "type": "module" +} diff --git a/packages/ckb-sdk-rpc/misc/basedirs/lib/package.json b/packages/ckb-sdk-rpc/misc/basedirs/lib/package.json new file mode 100644 index 00000000..5bbefffb --- /dev/null +++ b/packages/ckb-sdk-rpc/misc/basedirs/lib/package.json @@ -0,0 +1,3 @@ +{ + "type": "commonjs" +} diff --git a/packages/ckb-sdk-rpc/package.json b/packages/ckb-sdk-rpc/package.json index c193ff65..be01da00 100644 --- a/packages/ckb-sdk-rpc/package.json +++ b/packages/ckb-sdk-rpc/package.json @@ -1,13 +1,13 @@ { "name": "@nervosnetwork/ckb-sdk-rpc", - "version": "0.109.2", + "version": "0.109.3", "description": "RPC module of @nervosnetwork/ckb-sdk-core", "author": "Nervos ", "homepage": "https://github.com/ckb-js/ckb-sdk-js/packages/ckb-rpc#readme", "license": "MIT", "main": "lib/index.js", + "module": "lib-esm/index.js", "typings": "lib/index.d.ts", - "type": "module", "directories": { "lib": "lib", "lib-esm": "lib-esm", @@ -34,7 +34,7 @@ "url": "git+https://github.com/ckb-js/ckb-sdk-js.git" }, "scripts": { - "tsc": "tsc --project tsconfig.json && tsc --project tsconfig.esm.json", + "tsc": "tsc --project tsconfig.json && tsc --project tsconfig.esm.json && npx copyfiles -u 2 misc/basedirs/**/* .", "test": "../../node_modules/.bin/jest", "doc": "../../node_modules/.bin/typedoc --out docs --mode modules --includeDeclarations --excludeExternals --ignoreCompilerErrors --theme default", "test:watch": "../../node_modules/.bin/jest --watch" @@ -43,12 +43,12 @@ "url": "https://github.com/ckb-js/ckb-sdk-js/issues" }, "dependencies": { - "@nervosnetwork/ckb-sdk-utils": "0.109.2", + "@nervosnetwork/ckb-sdk-utils": "0.109.3", "axios": "1.6.7", "tslib": "2.3.1" }, "devDependencies": { - "@nervosnetwork/ckb-types": "0.109.2" + "@nervosnetwork/ckb-types": "0.109.3" }, - "gitHead": "ef6e8c929554a1d601a44b1562ffa585a707cc4d" + "gitHead": "bb703e9a16b9f467a88d6a1067162d296808fbc1" } diff --git a/packages/ckb-sdk-utils/CHANGELOG.md b/packages/ckb-sdk-utils/CHANGELOG.md index dff39b08..0f8be7b6 100644 --- a/packages/ckb-sdk-utils/CHANGELOG.md +++ b/packages/ckb-sdk-utils/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.109.3](https://github.com/ckb-js/ckb-sdk-js/compare/v0.109.2...v0.109.3) (2024-08-01) + + +### Bug Fixes + +* commonjs support ([#639](https://github.com/ckb-js/ckb-sdk-js/issues/639)) ([b229d4e](https://github.com/ckb-js/ckb-sdk-js/commit/b229d4ede84e34820d236ccf22af9e24dd518c19)) + + + + + ## [0.109.2](https://github.com/ckb-js/ckb-sdk-js/compare/v0.109.1...v0.109.2) (2024-07-19) diff --git a/packages/ckb-sdk-utils/misc/basedirs/lib-esm/package.json b/packages/ckb-sdk-utils/misc/basedirs/lib-esm/package.json new file mode 100644 index 00000000..3dbc1ca5 --- /dev/null +++ b/packages/ckb-sdk-utils/misc/basedirs/lib-esm/package.json @@ -0,0 +1,3 @@ +{ + "type": "module" +} diff --git a/packages/ckb-sdk-utils/misc/basedirs/lib/package.json b/packages/ckb-sdk-utils/misc/basedirs/lib/package.json new file mode 100644 index 00000000..5bbefffb --- /dev/null +++ b/packages/ckb-sdk-utils/misc/basedirs/lib/package.json @@ -0,0 +1,3 @@ +{ + "type": "commonjs" +} diff --git a/packages/ckb-sdk-utils/package.json b/packages/ckb-sdk-utils/package.json index 6e277848..27b09f80 100644 --- a/packages/ckb-sdk-utils/package.json +++ b/packages/ckb-sdk-utils/package.json @@ -1,6 +1,6 @@ { "name": "@nervosnetwork/ckb-sdk-utils", - "version": "0.109.2", + "version": "0.109.3", "description": "Utils module of @nervosnetwork/ckb-sdk-core", "author": "Nervos ", "homepage": "https://github.com/ckb-js/ckb-sdk-js#readme", @@ -8,7 +8,6 @@ "main": "lib/index.js", "module": "lib-esm/index.js", "types": "lib/index.d.ts", - "type": "module", "directories": { "lib": "lib", "lib-esm": "lib-esm", @@ -35,14 +34,14 @@ "url": "git+https://github.com/ckb-js/ckb-sdk-js.git" }, "scripts": { - "tsc": "tsc --project tsconfig.json && tsc --project tsconfig.esm.json", + "tsc": "tsc --project tsconfig.json && tsc --project tsconfig.esm.json && npx copyfiles -u 2 misc/basedirs/**/* .", "test": "../../node_modules/.bin/jest" }, "bugs": { "url": "https://github.com/ckb-js/ckb-sdk-js/issues" }, "dependencies": { - "@nervosnetwork/ckb-types": "0.109.2", + "@nervosnetwork/ckb-types": "0.109.3", "bech32": "2.0.0", "elliptic": "6.5.4", "jsbi": "3.1.3", @@ -52,5 +51,5 @@ "@types/bitcoinjs-lib": "5.0.0", "@types/elliptic": "6.4.12" }, - "gitHead": "ef6e8c929554a1d601a44b1562ffa585a707cc4d" + "gitHead": "bb703e9a16b9f467a88d6a1067162d296808fbc1" } diff --git a/packages/ckb-types/CHANGELOG.md b/packages/ckb-types/CHANGELOG.md index 54f0e256..e0d919a3 100644 --- a/packages/ckb-types/CHANGELOG.md +++ b/packages/ckb-types/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.109.3](https://github.com/ckb-js/ckb-sdk-js/compare/v0.109.2...v0.109.3) (2024-08-01) + +**Note:** Version bump only for package @nervosnetwork/ckb-types + + + + + ## [0.109.2](https://github.com/ckb-js/ckb-sdk-js/compare/v0.109.1...v0.109.2) (2024-07-19) **Note:** Version bump only for package @nervosnetwork/ckb-types diff --git a/packages/ckb-types/package.json b/packages/ckb-types/package.json index 201cc06f..94f8cbaf 100644 --- a/packages/ckb-types/package.json +++ b/packages/ckb-types/package.json @@ -1,6 +1,6 @@ { "name": "@nervosnetwork/ckb-types", - "version": "0.109.2", + "version": "0.109.3", "description": "Type module of @nervosnetwork/ckb-sdk-core", "author": "Nervos ", "homepage": "https://github.com/ckb-js/ckb-sdk-js#readme", @@ -20,5 +20,5 @@ "bugs": { "url": "https://github.com/ckb-js/ckb-sdk-js/issues" }, - "gitHead": "ef6e8c929554a1d601a44b1562ffa585a707cc4d" + "gitHead": "bb703e9a16b9f467a88d6a1067162d296808fbc1" }