Skip to content

Commit 79a8f52

Browse files
committed
Merge branch 'develop'
2 parents 611150a + b749e46 commit 79a8f52

File tree

11 files changed

+5353
-7700
lines changed

11 files changed

+5353
-7700
lines changed

.cursorignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
dist
2+
js

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,7 @@ bin/
4141
obj/
4242
__debug*
4343
*.o
44-
.custom_gitignore
44+
.custom_gitignore
45+
46+
# in case we link to parent bun repos.
47+
bun.lock

js/ccxt.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as functions from './src/base/functions.js';
44
import * as errors from './src/base/errors.js';
55
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, FundingRate, FundingRates, Position, BorrowInterest, LeverageTier, LedgerEntry, DepositWithdrawFeeNetwork, DepositWithdrawFee, TransferEntry, CrossBorrowRate, IsolatedBorrowRate, FundingRateHistory, OpenInterest, Liquidation, OrderRequest, CancellationRequest, FundingHistory, MarketMarginModes, MarginMode, Greeks, Conversion, Option, LastPrice, Leverage, MarginModification, Leverages, LastPrices, Currencies, TradingFees, MarginModes, OptionChain, IsolatedBorrowRates, CrossBorrowRates, LeverageTiers, LongShortRatio, OrderBooks, OpenInterests, ConstructorArgs } from './src/base/types.js';
66
import { BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, ManualInteractionNeeded, 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, UnsubscribeError } from './src/base/errors.js';
7-
declare const version = "0.0.10";
7+
declare const version = "0.0.11";
88
import alpaca from './src/alpaca.js';
99
import apex from './src/apex.js';
1010
import ascendex from './src/ascendex.js';

js/ccxt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import * as errors from './src/base/errors.js';
3838
import { BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, ManualInteractionNeeded, 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, UnsubscribeError } from './src/base/errors.js';
3939
//-----------------------------------------------------------------------------
4040
// this is updated by vss.js when building
41-
const version = '0.0.10';
41+
const version = '0.0.11';
4242
Exchange.ccxtVersion = version;
4343
//-----------------------------------------------------------------------------
4444
import alpaca from './src/alpaca.js';

js/src/base/Exchange.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ import init, * as zklink from '../static_dependencies/zklink/zklink-sdk-web.js';
2929
import * as Starknet from '../static_dependencies/starknet/index.js';
3030
import { sha256 } from '../static_dependencies/noble-hashes/sha256.js';
3131
import axios from 'axios';
32-
import verity from '@usherlabs/verity-client';
3332
const urlToMethodMap = {
3433
"gate": {
3534
"https://api.gateio.ws/api/v4/spot/currencies": "fetchCurrencies",
@@ -2848,6 +2847,7 @@ export default class Exchange {
28482847
this.log("MethodCalled:", methodCalled + "\n");
28492848
}
28502849
if (this.useVerity && ["get", "post"].includes(method.toLowerCase()) && this.verityMethods.includes(methodCalled)) {
2850+
const { default: verity } = await import(/* webpackIgnore: true */ '@usherlabs/verity-client');
28512851
const client = new verity.VerityClient({ prover_url: this.verityProverUrl });
28522852
const response = await client
28532853
.get(axiosConfig.url, axiosConfig)

js/src/static_dependencies/noble-curves/abstract/weierstrass.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export declare const DER: {
9696
stack?: string;
9797
};
9898
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
99-
prepareStackTrace?: (err: Error, stackTraces: NodeJS.CallSite[]) => any;
99+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
100100
stackTraceLimit: number;
101101
};
102102
_parseInt(data: Uint8Array): {

0 commit comments

Comments
 (0)