Skip to content

Commit

Permalink
fix signature of KeyStates.query
Browse files Browse the repository at this point in the history
  • Loading branch information
psteniusubi committed Jan 20, 2024
1 parent faeebad commit 2b76eff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/keri/app/coring.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,14 +166,14 @@ export class KeyStates {
}

/**
* Query the key state of an identifier for a given sequence number or anchor SAID
* Query the key state of an identifier for a given sequence number or anchor
* @async
* @param {string} pre Identifier prefix
* @param {number} [sn] Optional sequence number
* @param {string} [anchor] Optional anchor SAID
* @param {any} [anchor] Optional anchor
* @returns {Promise<any>} A promise to the long-running operation
*/
async query(pre: string, sn?: string, anchor?: string): Promise<any> {
async query(pre: string, sn?: string, anchor?: any): Promise<any> {
const path = `/queries`;
const data: any = {
pre: pre,
Expand Down

0 comments on commit 2b76eff

Please sign in to comment.