@fanoutio/grip
Version:
GRIP Interface Library
11 lines • 476 B
TypeScript
import * as jose from 'jose';
import * as Auth from '../auth/index.js';
import { type IItem } from '../data/index.js';
import { JwkKey, PemKey } from '../utilities/index.js';
export interface IPublisherClient {
getAuth?(): Auth.IAuth | undefined;
getVerifyIss?(): string | undefined;
getVerifyKey?(): Uint8Array | jose.KeyLike | PemKey | JwkKey | undefined;
publish(channel: string, item: IItem): Promise<void>;
}
//# sourceMappingURL=IPublisherClient.d.ts.map