@kraken-crypto/ccxt
Version:
A cryptocurrency trading API with more than 100 exchanges in JavaScript / TypeScript / Python / C# / PHP / Go
23 lines (19 loc) • 533 B
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
var replace = String.prototype.replace;
var percentTwenties = /%20/g;
var defaultFormat = 'RFC3986';
var formatters = {
RFC1738: function (value) {
return replace.call(value, percentTwenties, '+');
},
RFC3986: function (value) {
return value;
}
};
var RFC1738 = 'RFC1738';
var RFC3986 = 'RFC3986';
exports.RFC1738 = RFC1738;
exports.RFC3986 = RFC3986;
exports["default"] = defaultFormat;
exports.formatters = formatters;