@bitgo/wasm-utxo 4.11.1 → 4.12.0

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.
@@ -55,6 +55,8 @@ type Miniscript = Wrap<{
55
55
  older: number;
56
56
  }> | Wrap<{
57
57
  after: number;
58
+ }> | Wrap<{
59
+ payload_drop: string;
58
60
  }>;
59
61
  type TapTree = [TapTree, TapTree] | Miniscript;
60
62
  type Descriptor = {
@@ -105,6 +105,8 @@ function fromUnknown(v) {
105
105
  return node("multi", value);
106
106
  case "MultiA":
107
107
  return node("multi_a", value);
108
+ case "PayloadDrop":
109
+ return node("payload_drop", value);
108
110
  case "Tree":
109
111
  if (!Array.isArray(value) || value.length !== 2) {
110
112
  throw new Error(`Invalid Tree node: ${JSON.stringify(value)}`);
Binary file
@@ -55,6 +55,8 @@ type Miniscript = Wrap<{
55
55
  older: number;
56
56
  }> | Wrap<{
57
57
  after: number;
58
+ }> | Wrap<{
59
+ payload_drop: string;
58
60
  }>;
59
61
  type TapTree = [TapTree, TapTree] | Miniscript;
60
62
  type Descriptor = {
@@ -101,6 +101,8 @@ function fromUnknown(v) {
101
101
  return node("multi", value);
102
102
  case "MultiA":
103
103
  return node("multi_a", value);
104
+ case "PayloadDrop":
105
+ return node("payload_drop", value);
104
106
  case "Tree":
105
107
  if (!Array.isArray(value) || value.length !== 2) {
106
108
  throw new Error(`Invalid Tree node: ${JSON.stringify(value)}`);
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": "4.11.1",
4
+ "version": "4.12.0",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",