Skip to content

Commit 90e04d6

Browse files
committed
Update typescript declarations allowing optional second parameter to satisfier
1 parent 60f5c6d commit 90e04d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"descriptors"
1212
],
1313
"homepage": "https://bitcoinerlab.com/modules/miniscript",
14-
"version": "1.2.0",
14+
"version": "1.2.1",
1515
"description": "Bitcoin Miniscript, a high-level language for describing Bitcoin spending conditions. It includes a Policy and Miniscript compiler, as well as a novel Satisfier for generating expressive witness scripts.",
1616
"main": "dist/index.js",
1717
"types": "types/index.d.ts",

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export declare const compilePolicy: (miniscript: string) => {
1313

1414
export declare const satisfier: (
1515
miniscript: string,
16-
options:
16+
options?:
1717
| {
1818
unknowns?: string[] | undefined;
1919
knowns?: string[] | undefined;

0 commit comments

Comments
 (0)