mysterium-vpn-js
Version:
Javascript SDK for Mysterium node
16 lines (15 loc) • 606 B
JavaScript
;
/**
* Copyright (c) 2020 BlockDev AG
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.parseIdentityBeneficiaryResponse = void 0;
const validation_1 = require("../fmt/validation");
function parseIdentityBeneficiaryResponse(data) {
(0, validation_1.validate)('IdentityBeneficiaryResponse', data, { name: 'beneficiary', type: 'string' });
return data;
}
exports.parseIdentityBeneficiaryResponse = parseIdentityBeneficiaryResponse;