+
{descriptor.toString()}
+
+ {Buffer.from(descriptor.atDerivationIndex(0).scriptPubkey()).toString(
+ 'hex',
+ )}
+
+
+ );
+}
diff --git a/modules/web-demo/tsconfig.json b/modules/web-demo/tsconfig.json
index 9b1de98fda..77b71afd3e 100644
--- a/modules/web-demo/tsconfig.json
+++ b/modules/web-demo/tsconfig.json
@@ -36,6 +36,9 @@
{
"path": "../bitgo"
},
+ {
+ "path": "../abstract-utxo"
+ },
{
"path": "../key-card"
},
diff --git a/modules/web-demo/webpack/base.config.js b/modules/web-demo/webpack/base.config.js
index 3535f50e6f..56d538d6e2 100644
--- a/modules/web-demo/webpack/base.config.js
+++ b/modules/web-demo/webpack/base.config.js
@@ -88,6 +88,10 @@ const rules = [
emitFile: false,
},
},
+ {
+ test: /miniscript.*\.wasm$/,
+ type: 'webassembly/sync',
+ },
];
const devRules = [
diff --git a/webpack/bitgojs.config.js b/webpack/bitgojs.config.js
index 948f6836b1..e2b9a43795 100644
--- a/webpack/bitgojs.config.js
+++ b/webpack/bitgojs.config.js
@@ -59,6 +59,7 @@ module.exports = {
experiments: {
backCompat: false,
asyncWebAssembly: true,
+ syncWebAssembly: true,
},
optimization: {
minimizer: [