@cexyio/cexy 0.1.0-dev.0 → 0.1.0-dev.2

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/README.md CHANGED
@@ -9,11 +9,12 @@ The official TypeScript/JavaScript SDK for the [CEXY.io](https://cexy.io) REST a
9
9
 
10
10
  > **Status: 0.x.** The API is not yet frozen. It stays 0.x until the exchange ships HMAC request signing,
11
11
  > which will change how credentials are sent.
12
+ > Pre-release: `npm install @cexyio/cexy@next`; `latest` currently points at a pre-release until 1.0.
12
13
 
13
14
  ## Install
14
15
 
15
16
  ```bash
16
- npm install @cexyio/cexy
17
+ npm install @cexyio/cexy@next
17
18
  # Node only, optional: lets the WebSocket client send a User-Agent (recommended before Node 22)
18
19
  npm install ws
19
20
  ```
@@ -102,6 +103,7 @@ Every API failure throws a `CexyApiError` (or a subclass) with `status`, `code`,
102
103
  |---|---|
103
104
  | `AuthenticationError` | 401: missing or invalid credentials |
104
105
  | `ForbiddenError` | 403: the key lacks a scope (`FORBIDDEN`), or the route is session-only (`API_KEY_NOT_ALLOWED`) |
106
+ | `JurisdictionBlockedError` | 451: `JURISDICTION_BLOCKED` (not available in the caller's jurisdiction); a `ForbiddenError` subclass |
105
107
  | `ValidationError` | 400: see `fields` |
106
108
  | `NotFoundError` | 404 |
107
109
  | `ConflictError` | 409: `ALREADY_EXISTS`, `IDEMPOTENCY_KEY_CONFLICT`, `CONCURRENT_MODIFICATION` |
package/dist/index.cjs CHANGED
@@ -56,6 +56,8 @@ var AuthenticationError = class extends CexyApiError {
56
56
  };
57
57
  var ForbiddenError = class extends CexyApiError {
58
58
  };
59
+ var JurisdictionBlockedError = class extends ForbiddenError {
60
+ };
59
61
  var NotFoundError = class extends CexyApiError {
60
62
  };
61
63
  var ValidationError = class extends CexyApiError {
@@ -78,8 +80,8 @@ var STATUS_CLASSES = {
78
80
  401: AuthenticationError,
79
81
  403: ForbiddenError,
80
82
  404: NotFoundError,
81
- 451: ForbiddenError,
82
- // unavailable for legal reasons (JURISDICTION_BLOCKED)
83
+ 451: JurisdictionBlockedError,
84
+ // unavailable for legal reasons
83
85
  409: ConflictError,
84
86
  422: UnprocessableError
85
87
  };
@@ -172,6 +174,7 @@ function errorFromResponse(status, body, headers, redact = (t) => t) {
172
174
  if (status === 429 || init.code === "RATE_LIMITED") {
173
175
  return new RateLimitError(init, retryAfterMs(headers, init.details));
174
176
  }
177
+ if (init.code === "JURISDICTION_BLOCKED") return new JurisdictionBlockedError(init);
175
178
  if (env && !isKnownErrorCode(env.code)) return new CexyApiError(init);
176
179
  if (status >= 500) return new ServerError(init);
177
180
  const Cls = STATUS_CLASSES[status] ?? CexyApiError;
@@ -901,7 +904,7 @@ var TradingResource = class extends Resource {
901
904
  };
902
905
 
903
906
  // src/version.ts
904
- var VERSION = "0.1.0-dev.0";
907
+ var VERSION = "0.1.0-dev.2";
905
908
  var USER_AGENT = `cexy-typescript/${VERSION}`;
906
909
 
907
910
  // src/ws/emitter.ts
@@ -1772,6 +1775,7 @@ exports.ExportsResource = ExportsResource;
1772
1775
  exports.FeesResource = FeesResource;
1773
1776
  exports.ForbiddenError = ForbiddenError;
1774
1777
  exports.InvalidAmountError = InvalidAmountError;
1778
+ exports.JurisdictionBlockedError = JurisdictionBlockedError;
1775
1779
  exports.KNOWN_EVENT_TYPES = KNOWN_EVENT_TYPES;
1776
1780
  exports.LiveOrderBook = LiveOrderBook;
1777
1781
  exports.MarketsResource = MarketsResource;
package/dist/index.d.cts CHANGED
@@ -3458,6 +3458,12 @@ declare class AuthenticationError extends CexyApiError {
3458
3458
  /** 403: the key lacks a scope (`FORBIDDEN`), or the route is session-only (`API_KEY_NOT_ALLOWED`). */
3459
3459
  declare class ForbiddenError extends CexyApiError {
3460
3460
  }
3461
+ /**
3462
+ * 451: not available in the caller's jurisdiction (`JURISDICTION_BLOCKED`). A `ForbiddenError`
3463
+ * subclass, so existing `instanceof ForbiddenError` checks still match. Retrying will not help.
3464
+ */
3465
+ declare class JurisdictionBlockedError extends ForbiddenError {
3466
+ }
3461
3467
  /** 404 */
3462
3468
  declare class NotFoundError extends CexyApiError {
3463
3469
  }
@@ -3919,11 +3925,11 @@ declare function isAmount(value: unknown): value is Amount;
3919
3925
  declare function assertAmountFields(body: Record<string, unknown>, fields: readonly string[], context: string): void;
3920
3926
 
3921
3927
  /** SDK version, kept in sync with package.json (a test enforces this). */
3922
- declare const VERSION = "0.1.0-dev.0";
3928
+ declare const VERSION = "0.1.0-dev.2";
3923
3929
  /** Default User-Agent product token. */
3924
- declare const USER_AGENT = "cexy-typescript/0.1.0-dev.0";
3930
+ declare const USER_AGENT = "cexy-typescript/0.1.0-dev.2";
3925
3931
 
3926
3932
  /** True for loopback hosts, the only ones where plain-text transport may be allowed. */
3927
3933
  declare function isLocalHost(hostname: string): boolean;
3928
3934
 
3929
- export { AccountResource, type Amount, type ApiKey, ApiKeyAuthenticator, type ApiScope, type Asset, type AssetNetwork, AssetsResource, type AuthRequest, type AuthResult, type AuthenticatedFrame, AuthenticationError, type Authenticator, type Balance, type BalanceUpdatedEvent, type BookLevel, type CancelAllParams, type CancelAllRequest, type CancelAllResult, type Candle, type CandleInterval, CexyApiError, type CexyApiErrorInit, CexyClient, type CexyClientOptions, CexyConfigError, CexyConnectionError, CexyError, CexyTimeoutError, CexyWebSocket, CexyWebSocketError, type CexyWebSocketEvents, type CexyWebSocketOptions, type CloseInfo, ConflictError, type CursorParams, DEFAULT_BASE_URL, DEFAULT_RPM_ANONYMOUS, DEFAULT_RPM_WITH_KEY, DEFAULT_WS_URL, type Deposit, type DepositAddress, type DepositEvent, type DepositStatus, type ErrorBody, type ErrorCode, type ErrorFrame, type EventMap, type ExchangeConfig, type ExitPoolRequest, type ExitPoolResult, ExportsResource, type FeeSchedule, FeesResource, type FetchLike, type Fill, ForbiddenError, InvalidAmountError, type IterateOptions, type JoinPoolRequest, type JoinPoolResult, KNOWN_EVENT_TYPES, type KnownErrorCode, type LedgerEntry, type LedgerEntryKind, type LiquidityRole, type Listener, LiveOrderBook, type LiveOrderBookEvents, type LiveOrderBookOptions, type MaintenanceState, type Market, type MarketStatus, type MarketStatusEvent, MarketsResource, type Network, NetworksResource, NotFoundError, type Notification, type NotificationKind, OPERATIONS, type OperationAuth, type OperationId, type OperationInfo, type OperationScope, type Order, type OrderBook, type OrderBookUpdateData, type OrderBookUpdateEvent, type OrderEvent, type OrderSide, OrderStateUnknownError, type OrderStatus, type OrderType, PRIVATE_CHANNELS, type Page, type PlaceOrderRequest, type PlaceOrderResponse, type PlaceOrderResult, type PongFrame, type Pool, type PoolStatus, PoolsResource, type PublicTrade, type QueryOf, RateLimitError, RateLimiter, type RateLimiterOptions, type RateLimiterState, type ReconnectOptions, type RequestOptions, type ResyncReason, type RetryInfo, SUPPORTED_PROTOCOL_VERSION, ServerError, type ServerTime, type SessionRevokedData, type SessionRevokedEvent, type SnapshotSource, type SortDirection, type SubAccount, type SubscribeResult, type SubscribedFrame, type TickerUpdateEvent, type TimeInForce, type TradeNewEvent, TradingResource, type TriggerDirection, TypedEmitter, USER_AGENT, UnprocessableError, type UnsubscribedFrame, VERSION, ValidationError, WS_BOOK_DEPTH, WalletResource, type WebSocketConstructor, type WebSocketLike, type WelcomeFrame, type Withdrawal, type WithdrawalAddress, type WithdrawalStatus, type WithdrawalUpdatedEvent, type WsEvent, type WsLogger, assertAmountFields, type components, errorFromResponse, isAmount, isKnownErrorCode, isLocalHost, isRetryable, type operations, paginate, type paths };
3935
+ export { AccountResource, type Amount, type ApiKey, ApiKeyAuthenticator, type ApiScope, type Asset, type AssetNetwork, AssetsResource, type AuthRequest, type AuthResult, type AuthenticatedFrame, AuthenticationError, type Authenticator, type Balance, type BalanceUpdatedEvent, type BookLevel, type CancelAllParams, type CancelAllRequest, type CancelAllResult, type Candle, type CandleInterval, CexyApiError, type CexyApiErrorInit, CexyClient, type CexyClientOptions, CexyConfigError, CexyConnectionError, CexyError, CexyTimeoutError, CexyWebSocket, CexyWebSocketError, type CexyWebSocketEvents, type CexyWebSocketOptions, type CloseInfo, ConflictError, type CursorParams, DEFAULT_BASE_URL, DEFAULT_RPM_ANONYMOUS, DEFAULT_RPM_WITH_KEY, DEFAULT_WS_URL, type Deposit, type DepositAddress, type DepositEvent, type DepositStatus, type ErrorBody, type ErrorCode, type ErrorFrame, type EventMap, type ExchangeConfig, type ExitPoolRequest, type ExitPoolResult, ExportsResource, type FeeSchedule, FeesResource, type FetchLike, type Fill, ForbiddenError, InvalidAmountError, type IterateOptions, type JoinPoolRequest, type JoinPoolResult, JurisdictionBlockedError, KNOWN_EVENT_TYPES, type KnownErrorCode, type LedgerEntry, type LedgerEntryKind, type LiquidityRole, type Listener, LiveOrderBook, type LiveOrderBookEvents, type LiveOrderBookOptions, type MaintenanceState, type Market, type MarketStatus, type MarketStatusEvent, MarketsResource, type Network, NetworksResource, NotFoundError, type Notification, type NotificationKind, OPERATIONS, type OperationAuth, type OperationId, type OperationInfo, type OperationScope, type Order, type OrderBook, type OrderBookUpdateData, type OrderBookUpdateEvent, type OrderEvent, type OrderSide, OrderStateUnknownError, type OrderStatus, type OrderType, PRIVATE_CHANNELS, type Page, type PlaceOrderRequest, type PlaceOrderResponse, type PlaceOrderResult, type PongFrame, type Pool, type PoolStatus, PoolsResource, type PublicTrade, type QueryOf, RateLimitError, RateLimiter, type RateLimiterOptions, type RateLimiterState, type ReconnectOptions, type RequestOptions, type ResyncReason, type RetryInfo, SUPPORTED_PROTOCOL_VERSION, ServerError, type ServerTime, type SessionRevokedData, type SessionRevokedEvent, type SnapshotSource, type SortDirection, type SubAccount, type SubscribeResult, type SubscribedFrame, type TickerUpdateEvent, type TimeInForce, type TradeNewEvent, TradingResource, type TriggerDirection, TypedEmitter, USER_AGENT, UnprocessableError, type UnsubscribedFrame, VERSION, ValidationError, WS_BOOK_DEPTH, WalletResource, type WebSocketConstructor, type WebSocketLike, type WelcomeFrame, type Withdrawal, type WithdrawalAddress, type WithdrawalStatus, type WithdrawalUpdatedEvent, type WsEvent, type WsLogger, assertAmountFields, type components, errorFromResponse, isAmount, isKnownErrorCode, isLocalHost, isRetryable, type operations, paginate, type paths };
package/dist/index.d.ts CHANGED
@@ -3458,6 +3458,12 @@ declare class AuthenticationError extends CexyApiError {
3458
3458
  /** 403: the key lacks a scope (`FORBIDDEN`), or the route is session-only (`API_KEY_NOT_ALLOWED`). */
3459
3459
  declare class ForbiddenError extends CexyApiError {
3460
3460
  }
3461
+ /**
3462
+ * 451: not available in the caller's jurisdiction (`JURISDICTION_BLOCKED`). A `ForbiddenError`
3463
+ * subclass, so existing `instanceof ForbiddenError` checks still match. Retrying will not help.
3464
+ */
3465
+ declare class JurisdictionBlockedError extends ForbiddenError {
3466
+ }
3461
3467
  /** 404 */
3462
3468
  declare class NotFoundError extends CexyApiError {
3463
3469
  }
@@ -3919,11 +3925,11 @@ declare function isAmount(value: unknown): value is Amount;
3919
3925
  declare function assertAmountFields(body: Record<string, unknown>, fields: readonly string[], context: string): void;
3920
3926
 
3921
3927
  /** SDK version, kept in sync with package.json (a test enforces this). */
3922
- declare const VERSION = "0.1.0-dev.0";
3928
+ declare const VERSION = "0.1.0-dev.2";
3923
3929
  /** Default User-Agent product token. */
3924
- declare const USER_AGENT = "cexy-typescript/0.1.0-dev.0";
3930
+ declare const USER_AGENT = "cexy-typescript/0.1.0-dev.2";
3925
3931
 
3926
3932
  /** True for loopback hosts, the only ones where plain-text transport may be allowed. */
3927
3933
  declare function isLocalHost(hostname: string): boolean;
3928
3934
 
3929
- export { AccountResource, type Amount, type ApiKey, ApiKeyAuthenticator, type ApiScope, type Asset, type AssetNetwork, AssetsResource, type AuthRequest, type AuthResult, type AuthenticatedFrame, AuthenticationError, type Authenticator, type Balance, type BalanceUpdatedEvent, type BookLevel, type CancelAllParams, type CancelAllRequest, type CancelAllResult, type Candle, type CandleInterval, CexyApiError, type CexyApiErrorInit, CexyClient, type CexyClientOptions, CexyConfigError, CexyConnectionError, CexyError, CexyTimeoutError, CexyWebSocket, CexyWebSocketError, type CexyWebSocketEvents, type CexyWebSocketOptions, type CloseInfo, ConflictError, type CursorParams, DEFAULT_BASE_URL, DEFAULT_RPM_ANONYMOUS, DEFAULT_RPM_WITH_KEY, DEFAULT_WS_URL, type Deposit, type DepositAddress, type DepositEvent, type DepositStatus, type ErrorBody, type ErrorCode, type ErrorFrame, type EventMap, type ExchangeConfig, type ExitPoolRequest, type ExitPoolResult, ExportsResource, type FeeSchedule, FeesResource, type FetchLike, type Fill, ForbiddenError, InvalidAmountError, type IterateOptions, type JoinPoolRequest, type JoinPoolResult, KNOWN_EVENT_TYPES, type KnownErrorCode, type LedgerEntry, type LedgerEntryKind, type LiquidityRole, type Listener, LiveOrderBook, type LiveOrderBookEvents, type LiveOrderBookOptions, type MaintenanceState, type Market, type MarketStatus, type MarketStatusEvent, MarketsResource, type Network, NetworksResource, NotFoundError, type Notification, type NotificationKind, OPERATIONS, type OperationAuth, type OperationId, type OperationInfo, type OperationScope, type Order, type OrderBook, type OrderBookUpdateData, type OrderBookUpdateEvent, type OrderEvent, type OrderSide, OrderStateUnknownError, type OrderStatus, type OrderType, PRIVATE_CHANNELS, type Page, type PlaceOrderRequest, type PlaceOrderResponse, type PlaceOrderResult, type PongFrame, type Pool, type PoolStatus, PoolsResource, type PublicTrade, type QueryOf, RateLimitError, RateLimiter, type RateLimiterOptions, type RateLimiterState, type ReconnectOptions, type RequestOptions, type ResyncReason, type RetryInfo, SUPPORTED_PROTOCOL_VERSION, ServerError, type ServerTime, type SessionRevokedData, type SessionRevokedEvent, type SnapshotSource, type SortDirection, type SubAccount, type SubscribeResult, type SubscribedFrame, type TickerUpdateEvent, type TimeInForce, type TradeNewEvent, TradingResource, type TriggerDirection, TypedEmitter, USER_AGENT, UnprocessableError, type UnsubscribedFrame, VERSION, ValidationError, WS_BOOK_DEPTH, WalletResource, type WebSocketConstructor, type WebSocketLike, type WelcomeFrame, type Withdrawal, type WithdrawalAddress, type WithdrawalStatus, type WithdrawalUpdatedEvent, type WsEvent, type WsLogger, assertAmountFields, type components, errorFromResponse, isAmount, isKnownErrorCode, isLocalHost, isRetryable, type operations, paginate, type paths };
3935
+ export { AccountResource, type Amount, type ApiKey, ApiKeyAuthenticator, type ApiScope, type Asset, type AssetNetwork, AssetsResource, type AuthRequest, type AuthResult, type AuthenticatedFrame, AuthenticationError, type Authenticator, type Balance, type BalanceUpdatedEvent, type BookLevel, type CancelAllParams, type CancelAllRequest, type CancelAllResult, type Candle, type CandleInterval, CexyApiError, type CexyApiErrorInit, CexyClient, type CexyClientOptions, CexyConfigError, CexyConnectionError, CexyError, CexyTimeoutError, CexyWebSocket, CexyWebSocketError, type CexyWebSocketEvents, type CexyWebSocketOptions, type CloseInfo, ConflictError, type CursorParams, DEFAULT_BASE_URL, DEFAULT_RPM_ANONYMOUS, DEFAULT_RPM_WITH_KEY, DEFAULT_WS_URL, type Deposit, type DepositAddress, type DepositEvent, type DepositStatus, type ErrorBody, type ErrorCode, type ErrorFrame, type EventMap, type ExchangeConfig, type ExitPoolRequest, type ExitPoolResult, ExportsResource, type FeeSchedule, FeesResource, type FetchLike, type Fill, ForbiddenError, InvalidAmountError, type IterateOptions, type JoinPoolRequest, type JoinPoolResult, JurisdictionBlockedError, KNOWN_EVENT_TYPES, type KnownErrorCode, type LedgerEntry, type LedgerEntryKind, type LiquidityRole, type Listener, LiveOrderBook, type LiveOrderBookEvents, type LiveOrderBookOptions, type MaintenanceState, type Market, type MarketStatus, type MarketStatusEvent, MarketsResource, type Network, NetworksResource, NotFoundError, type Notification, type NotificationKind, OPERATIONS, type OperationAuth, type OperationId, type OperationInfo, type OperationScope, type Order, type OrderBook, type OrderBookUpdateData, type OrderBookUpdateEvent, type OrderEvent, type OrderSide, OrderStateUnknownError, type OrderStatus, type OrderType, PRIVATE_CHANNELS, type Page, type PlaceOrderRequest, type PlaceOrderResponse, type PlaceOrderResult, type PongFrame, type Pool, type PoolStatus, PoolsResource, type PublicTrade, type QueryOf, RateLimitError, RateLimiter, type RateLimiterOptions, type RateLimiterState, type ReconnectOptions, type RequestOptions, type ResyncReason, type RetryInfo, SUPPORTED_PROTOCOL_VERSION, ServerError, type ServerTime, type SessionRevokedData, type SessionRevokedEvent, type SnapshotSource, type SortDirection, type SubAccount, type SubscribeResult, type SubscribedFrame, type TickerUpdateEvent, type TimeInForce, type TradeNewEvent, TradingResource, type TriggerDirection, TypedEmitter, USER_AGENT, UnprocessableError, type UnsubscribedFrame, VERSION, ValidationError, WS_BOOK_DEPTH, WalletResource, type WebSocketConstructor, type WebSocketLike, type WelcomeFrame, type Withdrawal, type WithdrawalAddress, type WithdrawalStatus, type WithdrawalUpdatedEvent, type WsEvent, type WsLogger, assertAmountFields, type components, errorFromResponse, isAmount, isKnownErrorCode, isLocalHost, isRetryable, type operations, paginate, type paths };
package/dist/index.js CHANGED
@@ -54,6 +54,8 @@ var AuthenticationError = class extends CexyApiError {
54
54
  };
55
55
  var ForbiddenError = class extends CexyApiError {
56
56
  };
57
+ var JurisdictionBlockedError = class extends ForbiddenError {
58
+ };
57
59
  var NotFoundError = class extends CexyApiError {
58
60
  };
59
61
  var ValidationError = class extends CexyApiError {
@@ -76,8 +78,8 @@ var STATUS_CLASSES = {
76
78
  401: AuthenticationError,
77
79
  403: ForbiddenError,
78
80
  404: NotFoundError,
79
- 451: ForbiddenError,
80
- // unavailable for legal reasons (JURISDICTION_BLOCKED)
81
+ 451: JurisdictionBlockedError,
82
+ // unavailable for legal reasons
81
83
  409: ConflictError,
82
84
  422: UnprocessableError
83
85
  };
@@ -170,6 +172,7 @@ function errorFromResponse(status, body, headers, redact = (t) => t) {
170
172
  if (status === 429 || init.code === "RATE_LIMITED") {
171
173
  return new RateLimitError(init, retryAfterMs(headers, init.details));
172
174
  }
175
+ if (init.code === "JURISDICTION_BLOCKED") return new JurisdictionBlockedError(init);
173
176
  if (env && !isKnownErrorCode(env.code)) return new CexyApiError(init);
174
177
  if (status >= 500) return new ServerError(init);
175
178
  const Cls = STATUS_CLASSES[status] ?? CexyApiError;
@@ -899,7 +902,7 @@ var TradingResource = class extends Resource {
899
902
  };
900
903
 
901
904
  // src/version.ts
902
- var VERSION = "0.1.0-dev.0";
905
+ var VERSION = "0.1.0-dev.2";
903
906
  var USER_AGENT = `cexy-typescript/${VERSION}`;
904
907
 
905
908
  // src/ws/emitter.ts
@@ -1749,4 +1752,4 @@ function canSetUserAgent() {
1749
1752
  return !(typeof g.window !== "undefined" && typeof g.window.document !== "undefined");
1750
1753
  }
1751
1754
 
1752
- export { AccountResource, ApiKeyAuthenticator, AssetsResource, AuthenticationError, CexyApiError, CexyClient, CexyConfigError, CexyConnectionError, CexyError, CexyTimeoutError, CexyWebSocket, CexyWebSocketError, ConflictError, DEFAULT_BASE_URL, DEFAULT_RPM_ANONYMOUS, DEFAULT_RPM_WITH_KEY, DEFAULT_WS_URL, ExportsResource, FeesResource, ForbiddenError, InvalidAmountError, KNOWN_EVENT_TYPES, LiveOrderBook, MarketsResource, NetworksResource, NotFoundError, OPERATIONS, OrderStateUnknownError, PRIVATE_CHANNELS, PoolsResource, RateLimitError, RateLimiter, SUPPORTED_PROTOCOL_VERSION, ServerError, TradingResource, TypedEmitter, USER_AGENT, UnprocessableError, VERSION, ValidationError, WS_BOOK_DEPTH, WalletResource, assertAmountFields, errorFromResponse, isAmount, isKnownErrorCode, isLocalHost, isRetryable, paginate };
1755
+ export { AccountResource, ApiKeyAuthenticator, AssetsResource, AuthenticationError, CexyApiError, CexyClient, CexyConfigError, CexyConnectionError, CexyError, CexyTimeoutError, CexyWebSocket, CexyWebSocketError, ConflictError, DEFAULT_BASE_URL, DEFAULT_RPM_ANONYMOUS, DEFAULT_RPM_WITH_KEY, DEFAULT_WS_URL, ExportsResource, FeesResource, ForbiddenError, InvalidAmountError, JurisdictionBlockedError, KNOWN_EVENT_TYPES, LiveOrderBook, MarketsResource, NetworksResource, NotFoundError, OPERATIONS, OrderStateUnknownError, PRIVATE_CHANNELS, PoolsResource, RateLimitError, RateLimiter, SUPPORTED_PROTOCOL_VERSION, ServerError, TradingResource, TypedEmitter, USER_AGENT, UnprocessableError, VERSION, ValidationError, WS_BOOK_DEPTH, WalletResource, assertAmountFields, errorFromResponse, isAmount, isKnownErrorCode, isLocalHost, isRetryable, paginate };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cexyio/cexy",
3
- "version": "0.1.0-dev.0",
3
+ "version": "0.1.0-dev.2",
4
4
  "description": "Official TypeScript/JavaScript SDK for the CEXY.io REST and WebSocket API",
5
5
  "license": "MIT",
6
6
  "author": "CEXY.io",