Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd committed Oct 17, 2023
1 parent e89a436 commit c3824d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
"types": "./dist/lib/tx.d.ts"
},
"./validate": {
"import": "./dist/validate/index.js",
"types": "./dist/validate/index.d.ts"
"import": "./dist/validators/index.js",
"types": "./dist/validators/index.d.ts"
},
"./witness": {
"import": "./dist/lib/witness.js",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function parse_regex (
export function parse_payments (
payments : Payment[]
) : Payment[] {
return schema.payment.array().parse(payments)
return schema.base.payment.array().parse(payments)
}

export function parse_contract (
Expand Down

0 comments on commit c3824d8

Please sign in to comment.