UNPKG

mysterium-vpn-js

Version:
16 lines (15 loc) 561 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.parsePayoutAddressResponse = void 0; /** * Copyright (c) 2021 BlockDev AG * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ const validation_1 = require("../fmt/validation"); const parsePayoutAddressResponse = (data) => { (0, validation_1.validate)('Payout', data, { name: 'address', type: 'string' }); return data; }; exports.parsePayoutAddressResponse = parsePayoutAddressResponse;