Skip to content

Commit

Permalink
fix: add missing types (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
sparten11740 authored Feb 20, 2025
1 parent b1e5d06 commit 900a891
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion features/keychain/api/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export interface KeychainApi {
sign(params: { data: Buffer } & KeySource): Promise<Buffer>
signDetached(params: { data: Buffer } & KeySource): Promise<Buffer>
getKeysFromSeed(
params: KeySource
params: { exportPrivate?: boolean } & KeySource
): Promise<{ box: { publicKey: Buffer }; sign: { publicKey: Buffer } }>
encryptSecretBox(params: { data: Buffer } & KeySource): Promise<Buffer>
decryptSecretBox(params: { data: Buffer } & KeySource): Promise<Buffer>
Expand Down
2 changes: 2 additions & 0 deletions libraries/key-identifier/src/key-identifier.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ export default class KeyIdentifier {
derivationPath: string
}

toString(): string

static validate(potentialKeyIdentifier: KeyIdentifierLike): boolean
static compare(a: KeyIdentifierLike, b: KeyIdentifierLike): boolean
}

0 comments on commit 900a891

Please sign in to comment.