Skip to content

Commit

Permalink
fix: add signSchnorrZ to keychain API
Browse files Browse the repository at this point in the history
  • Loading branch information
feri42 committed Dec 10, 2024
1 parent 1ad7980 commit c776a1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions features/keychain/api/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export interface KeychainApi {
signBuffer(params: { data: Buffer } & KeySource): Promise<Buffer>
signBuffer(params: { data: Buffer; enc: 'der' } & KeySource): Promise<Buffer>
signSchnorr(params: { data: Buffer; tweak?: Buffer } & KeySource): Promise<Buffer>
signSchnorrZ(params: { data: Buffer } & KeySource): Promise<Buffer>
}
}

Expand Down
1 change: 1 addition & 0 deletions features/keychain/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const createKeychainApi = ({ keychain }) => {
secp256k1: {
signBuffer: keychain.secp256k1.signBuffer,
signSchnorr: keychain.secp256k1.signSchnorr,
signSchnorrZ: keychain.secp256k1.signSchnorrZ,
},
},
}
Expand Down

0 comments on commit c776a1f

Please sign in to comment.