@microsoft/useragent-sdk
Version:
SDK for building decentralized identity wallets and enterprise agents.
22 lines • 1.04 kB
JavaScript
;
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
const HubRequest_1 = require("./HubRequest");
/**
* Represents a request to a Hub to query the available objects.
*/
class HubObjectQueryRequest extends HubRequest_1.default {
constructor(queryOptions) {
super('ObjectQueryRequest', {
query: queryOptions,
});
// Needed for correctly determining type of HubSession#send(), to ensure
// the different request classes aren't structurally compatible.
this._isObjectQueryRequest = true;
}
}
exports.default = HubObjectQueryRequest;
//# sourceMappingURL=HubObjectQueryRequest.js.map