From 2b76effed980e5ce23f7bcdf47028798e01bedb6 Mon Sep 17 00:00:00 2001 From: Petteri Stenius Date: Fri, 19 Jan 2024 17:30:18 +0200 Subject: [PATCH] fix signature of KeyStates.query --- src/keri/app/coring.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/keri/app/coring.ts b/src/keri/app/coring.ts index f96901ef..09349d15 100644 --- a/src/keri/app/coring.ts +++ b/src/keri/app/coring.ts @@ -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} A promise to the long-running operation */ - async query(pre: string, sn?: string, anchor?: string): Promise { + async query(pre: string, sn?: string, anchor?: any): Promise { const path = `/queries`; const data: any = { pre: pre,