UNPKG

ccxt

Version:

A cryptocurrency trading API with more than 100 exchanges in JavaScript / TypeScript / Python / C# / PHP / Go

29 lines (23 loc) 815 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); // ---------------------------------------------------------------------------- // PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: // https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code // EDIT THE CORRESPONDENT .ts FILE INSTEAD 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;