From c6aef18f240665114fe1590a0e39174f2caf3b3e Mon Sep 17 00:00:00 2001 From: Marko Bencun Date: Fri, 25 Jul 2025 04:00:52 +0200 Subject: [PATCH] npm: use "main" instead of "module" in package.json for compatiblity See https://github.com/drager/wasm-pack/issues/1009. By updating to wasm-pack 0.13, the entry points change for improved compatiblity, specifically vitest which runs in a Node environment. --- CHANGELOG-npm.md | 3 +++ NPM_VERSION | 2 +- sandbox/package-lock.json | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG-npm.md b/CHANGELOG-npm.md index ba4be9f..8424b2d 100644 --- a/CHANGELOG-npm.md +++ b/CHANGELOG-npm.md @@ -1,5 +1,8 @@ # Changelog +## 0.10.1 +- package.json: use "main" instead of "module" to fix compatiblity with vitest + ## 0.10.0 - Add `bip85AppBip39()` - Add support for BitBox02 Nova diff --git a/NPM_VERSION b/NPM_VERSION index 2774f85..71172b4 100644 --- a/NPM_VERSION +++ b/NPM_VERSION @@ -1 +1 @@ -0.10.0 \ No newline at end of file +0.10.1 \ No newline at end of file diff --git a/sandbox/package-lock.json b/sandbox/package-lock.json index 1934285..9006126 100644 --- a/sandbox/package-lock.json +++ b/sandbox/package-lock.json @@ -30,7 +30,7 @@ }, "../pkg": { "name": "bitbox-api", - "version": "0.10.0", + "version": "0.10.1", "license": "Apache-2.0" }, "node_modules/@esbuild/aix-ppc64": {