Skip to content

Commit 04a9da6

Browse files
authored
Merge pull request #328 from status-im/323-type-error
2 parents 2d80d65 + 8909164 commit 04a9da6

File tree

6 files changed

+26
-11
lines changed

6 files changed

+26
-11
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- Examples: JS examples uses local ESM folder to replicate behaviour of js-waku publish package.
13+
14+
### Fixed
15+
16+
- `TypeError` issue related to constructors using js-waku in a JS project
17+
([#323](https://github.com/status-im/js-waku/issues/323)).
18+
1019
## [0.14.1] - 2021-10-22
1120

1221
### Fixed

examples/min-react-js-chat/package-lock.json

+7-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/min-react-js-chat/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"@testing-library/jest-dom": "^5.11.4",
77
"@testing-library/react": "^11.1.0",
88
"@testing-library/user-event": "^12.1.10",
9-
"js-waku": "../../build/main",
9+
"js-waku": "../../build/esm",
1010
"protons": "^2.0.1",
1111
"react": "^17.0.2",
1212
"react-dom": "^17.0.2",

examples/store-reactjs-chat/package-lock.json

+7-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/store-reactjs-chat/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"@testing-library/jest-dom": "^5.14.1",
77
"@testing-library/react": "^11.2.7",
88
"@testing-library/user-event": "^12.8.3",
9-
"js-waku": "../../build/main",
9+
"js-waku": "../../build/esm",
1010
"protons": "^2.0.1",
1111
"react": "^17.0.2",
1212
"react-dom": "^17.0.2",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"build": "run-s build:**",
2020
"build:main": "tsc -p tsconfig.json",
2121
"build:dev": "tsc -p tsconfig.dev.json",
22-
"build:esm": "tsc --module es2015 --target es5 --outDir build/esm",
22+
"build:esm": "tsc --module es2015 --target es2015 --outDir build/esm",
2323
"build:umd": "webpack --config webpack.config.js",
2424
"build:umd:min": "webpack --config webpack.config.min.js",
2525
"build:umd:bundle": "webpack --config webpack.config.bundle.js",

0 commit comments

Comments
 (0)