UNPKG

@exchanges/binance

Version:

Exchange provider for Binance API

11 lines 485 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getPath = void 0; const makeQueryString_1 = require("./makeQueryString"); function getPath(options) { const { host, path, data } = options; const queryString = typeof data === 'undefined' || data === null ? '' : (0, makeQueryString_1.makeQueryString)(data); return [`${host}${path}`, queryString].filter(Boolean).join('?'); } exports.getPath = getPath; //# sourceMappingURL=getPath.js.map