@microsoft/useragent-sdk
Version:
SDK for building decentralized identity wallets and enterprise agents.
22 lines (21 loc) • 672 B
TypeScript
import ProtectedCommit from '../ProtectedCommit';
import IHubCommitQueryResponse from './IHubCommitQueryResponse';
/**
* Represents the response to a `HubCommitQueryRequest`.
*/
export default class HubCommitQueryResponse {
private response;
constructor(response: IHubCommitQueryResponse);
/**
* Returns the set of commits returned by the Hub.
*/
getCommits(): ProtectedCommit[];
/**
* Indicates whether additional pages of results are available.
*/
hasSkipToken(): boolean;
/**
* Retrieves a token which can be used to fetch subsequent result pages.
*/
getSkipToken(): string | null;
}