@microsoft/useragent-sdk
Version:
SDK for building decentralized identity wallets and enterprise agents.
18 lines (14 loc) • 758 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 HubInterface, { HubInterfaceOptions, HubInterfaceType } from './HubInterface';
/**
* A Class that does CRUD operations for storing objects as Profile in the Hub.
*/
export default class Profile extends HubInterface {
constructor (hubInterfaceOptions: HubInterfaceOptions) {
hubInterfaceOptions.hubInterface = HubInterfaceType.Profile;
super(hubInterfaceOptions);
}
}