ccxt 4.3.71 → 4.3.72

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/ccxt.js CHANGED
@@ -194,7 +194,7 @@ var xt$1 = require('./src/pro/xt.js');
194
194
 
195
195
  //-----------------------------------------------------------------------------
196
196
  // this is updated by vss.js when building
197
- const version = '4.3.71';
197
+ const version = '4.3.72';
198
198
  Exchange["default"].ccxtVersion = version;
199
199
  const exchanges = {
200
200
  'ace': ace,
@@ -126,7 +126,7 @@ class paradex extends paradex$1 {
126
126
  },
127
127
  'hostname': 'paradex.trade',
128
128
  'urls': {
129
- 'logo': 'https://github.com/user-attachments/assets/5dadc09a-74ba-466a-a8f2-3f55c7e4654a',
129
+ 'logo': 'https://github.com/user-attachments/assets/84628770-784e-4ec4-a759-ec2fbb2244ea',
130
130
  'api': {
131
131
  'v1': 'https://api.prod.{hostname}/v1',
132
132
  },
@@ -374,10 +374,14 @@ async function run () {
374
374
  }
375
375
 
376
376
  if (debug) {
377
- const keys = Object.keys (httpsAgent.freeSockets)
378
- const firstKey = keys[0]
379
- let httpAgent = httpsAgent.freeSockets[firstKey];
380
- log (firstKey, httpAgent.length)
377
+ if (httpsAgent.freeSockets) {
378
+ const keys = Object.keys (httpsAgent.freeSockets)
379
+ if (keys.length) {
380
+ const firstKey = keys[0]
381
+ let httpAgent = httpsAgent.freeSockets[firstKey];
382
+ log (firstKey, httpAgent.length)
383
+ }
384
+ }
381
385
  }
382
386
 
383
387
  if (!poll && !isWsMethod){
package/js/ccxt.d.ts CHANGED
@@ -4,7 +4,7 @@ import * as functions from './src/base/functions.js';
4
4
  import * as errors from './src/base/errors.js';
5
5
  import type { Int, int, Str, Strings, Num, Bool, IndexType, OrderSide, OrderType, MarketType, SubType, Dict, NullableDict, List, NullableList, Fee, OHLCV, OHLCVC, implicitReturnType, Market, Currency, Dictionary, MinMax, FeeInterface, TradingFeeInterface, MarketInterface, Trade, Order, OrderBook, Ticker, Transaction, Tickers, CurrencyInterface, Balance, BalanceAccount, Account, PartialBalances, Balances, DepositAddress, WithdrawalResponse, DepositAddressResponse, FundingRate, FundingRates, Position, BorrowInterest, LeverageTier, LedgerEntry, DepositWithdrawFeeNetwork, DepositWithdrawFee, TransferEntry, CrossBorrowRate, IsolatedBorrowRate, FundingRateHistory, OpenInterest, Liquidation, OrderRequest, CancellationRequest, FundingHistory, MarginMode, Greeks, Conversion, Option, LastPrice, Leverage, MarginModification, Leverages, LastPrices, Currencies, TradingFees, MarginModes, OptionChain, IsolatedBorrowRates, CrossBorrowRates, LeverageTiers } from './src/base/types.js';
6
6
  import { BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, InvalidProxySettings, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, ChecksumError, RequestTimeout, BadResponse, NullResponse, CancelPending } from './src/base/errors.js';
7
- declare const version = "4.3.70";
7
+ declare const version = "4.3.71";
8
8
  import ace from './src/ace.js';
9
9
  import alpaca from './src/alpaca.js';
10
10
  import ascendex from './src/ascendex.js';
package/js/ccxt.js CHANGED
@@ -38,7 +38,7 @@ import * as errors from './src/base/errors.js';
38
38
  import { BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, InvalidProxySettings, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, ChecksumError, RequestTimeout, BadResponse, NullResponse, CancelPending } from './src/base/errors.js';
39
39
  //-----------------------------------------------------------------------------
40
40
  // this is updated by vss.js when building
41
- const version = '4.3.71';
41
+ const version = '4.3.72';
42
42
  Exchange.ccxtVersion = version;
43
43
  //-----------------------------------------------------------------------------
44
44
  import ace from './src/ace.js';
@@ -36,15 +36,15 @@ export interface TradingFeeInterface {
36
36
  }
37
37
  export declare type Fee = FeeInterface | undefined;
38
38
  export interface MarketInterface {
39
- id: string;
39
+ id: Str;
40
40
  numericId?: Num;
41
- uppercaseId?: string;
42
- lowercaseId?: string;
41
+ uppercaseId?: Str;
42
+ lowercaseId?: Str;
43
43
  symbol: string;
44
- base: string;
45
- quote: string;
46
- baseId: string;
47
- quoteId: string;
44
+ base: Str;
45
+ quote: Str;
46
+ baseId: Str;
47
+ quoteId: Str;
48
48
  active: Bool;
49
49
  type: MarketType;
50
50
  subType?: SubType;
@@ -66,9 +66,9 @@ export interface MarketInterface {
66
66
  optionType: Str;
67
67
  taker?: Num;
68
68
  maker?: Num;
69
- percentage?: boolean | undefined;
70
- tierBased?: boolean | undefined;
71
- feeSide?: string | undefined;
69
+ percentage?: Bool;
70
+ tierBased?: Bool;
71
+ feeSide?: Str;
72
72
  precision: {
73
73
  amount: Num;
74
74
  price: Num;
package/js/src/paradex.js CHANGED
@@ -128,7 +128,7 @@ export default class paradex extends Exchange {
128
128
  },
129
129
  'hostname': 'paradex.trade',
130
130
  'urls': {
131
- 'logo': 'https://github.com/user-attachments/assets/5dadc09a-74ba-466a-a8f2-3f55c7e4654a',
131
+ 'logo': 'https://github.com/user-attachments/assets/84628770-784e-4ec4-a759-ec2fbb2244ea',
132
132
  'api': {
133
133
  'v1': 'https://api.prod.{hostname}/v1',
134
134
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccxt",
3
- "version": "4.3.71",
3
+ "version": "4.3.72",
4
4
  "description": "A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 100+ exchanges",
5
5
  "unpkg": "dist/ccxt.browser.min.js",
6
6
  "type": "module",