@bitgo/wasm-utxo 1.13.0 → 1.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -20,14 +20,24 @@ This project is under active development.
20
20
  | Descriptor Wallet: Address Support | ✅ Complete | 🚫 | 🚫 | 🚫 | 🚫 | 🚫 | 🚫 |
21
21
  | Descriptor Wallet: Transaction Support | ✅ Complete | 🚫 | 🚫 | 🚫 | 🚫 | 🚫 | 🚫 |
22
22
  | FixedScript Wallet: Address Generation | ✅ Complete | ✅ Complete | ✅ Complete | ✅ Complete | ✅ Complete | ✅ Complete | ✅ Complete |
23
- | FixedScript Wallet: Transaction Support | TODO | TODO | TODO | ⏳ TODO | ⏳ TODO | TODO | ⏳ TODO |
23
+ | FixedScript Wallet: Transaction Support | Complete | Complete | Complete | ⏳ TODO | ⏳ TODO | Complete | ⏳ TODO |
24
24
 
25
25
  ## Building
26
26
 
27
- If your system has problems with `wasm-pack` (Mac M1), you can use the `Container.mk` Makefile to build the wasm files:
27
+ ### Mac
28
+
29
+ Requires Homebrew LLVM (Apple's Clang doesn't support WASM targets):
30
+
31
+ ```bash
32
+ brew install llvm
33
+ npm run build
34
+ ```
35
+
36
+ ### Docker (optional)
37
+
38
+ If you prefer a containerized build environment:
28
39
 
29
40
  ```bash
30
- cd packages/wasm-utxo
31
41
  make -f Container.mk build-image
32
42
  make -f Container.mk build-wasm
33
43
  ```
Binary file
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitgo/wasm-utxo",
3
3
  "description": "WebAssembly wrapper for rust-bitcoin (beta)",
4
- "version": "1.13.0",
4
+ "version": "1.14.1",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",
@@ -36,12 +36,12 @@
36
36
  "test": "npm run test:mocha && npm run test:wasm-pack && npm run test:imports",
37
37
  "test:mocha": "mocha --recursive test",
38
38
  "test:wasm-pack": "npm run test:wasm-pack-node && npm run test:wasm-pack-chrome",
39
- "test:wasm-pack-node": "wasm-pack test --node",
40
- "test:wasm-pack-chrome": "wasm-pack test --headless --chrome",
39
+ "test:wasm-pack-node": "./scripts/wasm-pack-test.sh --node",
40
+ "test:wasm-pack-chrome": "./scripts/wasm-pack-test.sh --headless --chrome",
41
41
  "test:esm-import": "node --experimental-wasm-modules bundler-test/test-esm-import.mjs",
42
42
  "test:cjs-import": "node bundler-test/test-cjs-import.cjs",
43
43
  "test:imports": "npm run test:esm-import && npm run test:cjs-import",
44
- "build:wasm": "make js/wasm/ && make dist/esm/js/wasm/ && make dist/cjs/js/wasm/",
44
+ "build:wasm": "make js/wasm && make dist/esm/js/wasm && make dist/cjs/js/wasm",
45
45
  "build:ts-esm": "tsc",
46
46
  "build:ts-cjs": "tsc --project tsconfig.cjs.json",
47
47
  "build:ts": "npm run build:ts-esm && npm run build:ts-cjs",