monero-ts-0.11.0
What's Changed
- Combine .wasm and .js dist files by @mainnet-pat in #250
- Combine keys module and full module by @woodser in 3d274ff
- Rename dist assets to monero.js, monero.worker.js, and monero.tests.js by @woodser in 209d4c3
- Change module from commonjs to es2022 by @woodser in 09b2f9e
- Assign default port for URLs (80 for http, 443 for https) by @woodser in monero-project/monero@d4f2a4a
- Add sample React app by @woodser in #246
- Remove
--no-experimental-fetch
and legacy OpenSSL provider by @woodser in 04b70e2 - Remove memfs from full wallet and move to dev dependencies by @woodser in 083f66e
- Update error message when invoking web worker by @woodser in 9a511c2
- Preserve branches when updating submodules by @woodser in 92cb832
- Specify files to include in npm package by @woodser in 0020b9d
Full Changelog: v0.10.3...v0.11.0
Breaking Change
Starting with this release, only the web worker needs to be copied to your app's public directory.
Alternatively, you can load the web worker by adding this line to your code, instead of copying it to your app's public directory:
LibraryUtils.setWorkerLoader(() => new Worker(new URL("monero-ts/dist/monero.worker.js", import.meta.url)));
If you continue copying the worker to your app's public directory manually, the web worker was renamed from monero_web_worker.js
to monero.worker.js
, so your scripts should be updated accordingly.