@microsoft/useragent-sdk
Version:
SDK for building decentralized identity wallets and enterprise agents.
25 lines (18 loc) • 778 B
text/typescript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { IHubWriteResponse } from '@decentralized-identity/hub-common-js';
/**
* Represents the response to a `HubWriteRequest`.
*/
export default class HubWriteResponse {
constructor (private response: IHubWriteResponse) {
}
/**
* Returns the list of known revisions for the object which was created/modified.
*/
public getRevisions() {
return this.response.revisions;
}
}