@stxapp/stx-typescript 0.6.0
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/CHANGELOG.md +16 -0
- package/LICENSE +21 -0
- package/README.md +79 -0
- package/dist/chunk-R664LTIB.cjs +2774 -0
- package/dist/chunk-R664LTIB.cjs.map +1 -0
- package/dist/chunk-U3KT3I43.js +2774 -0
- package/dist/chunk-U3KT3I43.js.map +1 -0
- package/dist/client-5n7RRquU.d.cts +3355 -0
- package/dist/client-5n7RRquU.d.ts +3355 -0
- package/dist/index.cjs +121 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +55 -0
- package/dist/index.d.ts +55 -0
- package/dist/index.js +121 -0
- package/dist/index.js.map +1 -0
- package/dist/oauth.cjs +967 -0
- package/dist/oauth.cjs.map +1 -0
- package/dist/oauth.d.cts +644 -0
- package/dist/oauth.d.ts +644 -0
- package/dist/oauth.js +967 -0
- package/dist/oauth.js.map +1 -0
- package/package.json +93 -0
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
var _chunkR664LTIBcjs = require('./chunk-R664LTIB.cjs');
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
exports.AccountView = _chunkR664LTIBcjs.AccountView; exports.ApiKeyCredentials = _chunkR664LTIBcjs.ApiKeyCredentials; exports.Channel = _chunkR664LTIBcjs.Channel; exports.ChannelMessage = _chunkR664LTIBcjs.ChannelMessage; exports.Environment = _chunkR664LTIBcjs.Environment; exports.Environments = _chunkR664LTIBcjs.Environments; exports.HOSTS = _chunkR664LTIBcjs.HOSTS; exports.KEY_HEADER = _chunkR664LTIBcjs.KEY_HEADER; exports.NO_RETRY = _chunkR664LTIBcjs.NO_RETRY; exports.OPERATIONS = _chunkR664LTIBcjs.OPERATIONS; exports.Page = _chunkR664LTIBcjs.Page; exports.ReconnectPolicy = _chunkR664LTIBcjs.ReconnectPolicy; exports.Region = _chunkR664LTIBcjs.Region; exports.RetryPolicy = _chunkR664LTIBcjs.RetryPolicy; exports.SIGNATURE_HEADER = _chunkR664LTIBcjs.SIGNATURE_HEADER; exports.SNAPSHOT_EVENTS = _chunkR664LTIBcjs.SNAPSHOT_EVENTS; exports.STX = _chunkR664LTIBcjs.STX; exports.STXAPIException = _chunkR664LTIBcjs.STXAPIException; exports.STXAuthenticationException = _chunkR664LTIBcjs.STXAuthenticationException; exports.STXChannelException = _chunkR664LTIBcjs.STXChannelException; exports.STXConfigException = _chunkR664LTIBcjs.STXConfigException; exports.STXException = _chunkR664LTIBcjs.STXException; exports.STXForbiddenException = _chunkR664LTIBcjs.STXForbiddenException; exports.STXGeoLocationException = _chunkR664LTIBcjs.STXGeoLocationException; exports.STXInsufficientScopeException = _chunkR664LTIBcjs.STXInsufficientScopeException; exports.STXInvalidTokenException = _chunkR664LTIBcjs.STXInvalidTokenException; exports.STXNotFoundException = _chunkR664LTIBcjs.STXNotFoundException; exports.STXRateLimitException = _chunkR664LTIBcjs.STXRateLimitException; exports.STXRejectedException = _chunkR664LTIBcjs.STXRejectedException; exports.STXServerException = _chunkR664LTIBcjs.STXServerException; exports.STXTimeoutException = _chunkR664LTIBcjs.STXTimeoutException; exports.STXTransportException = _chunkR664LTIBcjs.STXTransportException; exports.STXValidationException = _chunkR664LTIBcjs.STXValidationException; exports.STXWebSocket = _chunkR664LTIBcjs.STXWebSocket; exports.TERMINAL_ORDER_STATUSES = _chunkR664LTIBcjs.TERMINAL_ORDER_STATUSES; exports.TIMESTAMP_HEADER = _chunkR664LTIBcjs.TIMESTAMP_HEADER; exports.USER_AGENT = _chunkR664LTIBcjs.USER_AGENT; exports.VERSION = _chunkR664LTIBcjs.VERSION; exports.baseUrlFor = _chunkR664LTIBcjs.baseUrlFor; exports.buildMessage = _chunkR664LTIBcjs.buildMessage; exports.centsToDollars = _chunkR664LTIBcjs.centsToDollars; exports.convertBook = _chunkR664LTIBcjs.convertBook; exports.convertMarketChannelPayload = _chunkR664LTIBcjs.convertMarketChannelPayload; exports.convertMarketPayload = _chunkR664LTIBcjs.convertMarketPayload; exports.convertMarketsFrame = _chunkR664LTIBcjs.convertMarketsFrame; exports.environmentNamed = _chunkR664LTIBcjs.environmentNamed; exports.errorForStatus = _chunkR664LTIBcjs.errorForStatus; exports.geoRejection = _chunkR664LTIBcjs.geoRejection; exports.handshakePath = _chunkR664LTIBcjs.handshakePath; exports.loadPrivateKey = _chunkR664LTIBcjs.loadPrivateKey; exports.orderBody = _chunkR664LTIBcjs.orderBody; exports.requestPath = _chunkR664LTIBcjs.requestPath; exports.resolveHost = _chunkR664LTIBcjs.resolveHost; exports.resolveSettings = _chunkR664LTIBcjs.resolveSettings; exports.signerFromPrivateKey = _chunkR664LTIBcjs.signerFromPrivateKey; exports.socketUrlFor = _chunkR664LTIBcjs.socketUrlFor; exports.toDollarString = _chunkR664LTIBcjs.toDollarString; exports.toQuantity = _chunkR664LTIBcjs.toQuantity;
|
|
121
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/tssdk/tssdk/dist/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,m7GAAC","file":"/home/runner/work/tssdk/tssdk/dist/index.cjs"}
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export { A as AcceptTermsOptions, a as AccountChange, b as AccountChangeKind, c as AccountState, d as AccountView, e as AccountViewOptions, f as ApiKeyCredentials, g as AuthProvider, h as AuthRequest, B as Balance, i as BatchOrderResult, j as BookLevel, C as Cancellation, k as Channel, l as ChannelMessage, E as Environment, m as Environments, n as Error, o as Event, p as EventsQuery, F as FeeTransaction, q as FetchLike, r as Fill, s as FillsQuery, G as GeoCheckResult, t as GeoLocationProvider, u as GeoOption, v as GeoRejection, H as HOSTS, K as KEY_HEADER, L as Logger, M as Market, w as MarketFilter, x as MarketStat, y as MarketStatsQuery, z as MarketsQuery, D as Me, I as MessageHandler, N as NO_RETRY, J as NewOrder, O as NewOrderInput, P as OPERATIONS, Q as Operation, R as OperationId, S as Order, T as OrderOptions, U as OrdersQuery, V as Page, W as PageQuery, X as PaymentTransaction, Y as Position, Z as PrivateKeyInput, _ as RecentTrade, $ as ReconnectPolicy, a0 as ReconnectPolicyOptions, a1 as Region, a2 as ResponseEvent, a3 as RetryPolicy, a4 as RetryPolicyOptions, a5 as SIGNATURE_HEADER, a6 as SNAPSHOT_EVENTS, a7 as STX, a8 as STXAPIException, a9 as STXAuthenticationException, aa as STXChannelException, ab as STXConfigException, ac as STXEnvironment, ad as STXException, ae as STXForbiddenException, af as STXGeoLocationException, ag as STXInsufficientScopeException, ah as STXInvalidTokenException, ai as STXNotFoundException, aj as STXOptions, ak as STXRateLimitException, al as STXRejectedException, am as STXServerException, an as STXTimeoutException, ao as STXTransportException, ap as STXValidationException, aq as STXWebSocket, ar as STXWebSocketOptions, as as Settlement, at as SettlementsQuery, au as Signer, av as StatDetail, aw as StrList, ax as TERMINAL_ORDER_STATUSES, ay as TIMESTAMP_HEADER, az as Transaction, aA as USER_AGENT, aB as VERSION, aC as WebSocketAuthContext, aD as baseUrlFor, aE as buildMessage, aF as environmentNamed, aG as errorForStatus, aH as geoRejection, aI as handshakePath, aJ as loadPrivateKey, aK as models, aL as orderBody, aM as requestPath, aN as resolveHost, aO as signerFromPrivateKey, aP as socketUrlFor } from './client-5n7RRquU.cjs';
|
|
2
|
+
import 'node:crypto';
|
|
3
|
+
|
|
4
|
+
/** The fully resolved configuration the clients consume. */
|
|
5
|
+
interface ResolvedSettings {
|
|
6
|
+
host: string | undefined;
|
|
7
|
+
region: string | undefined;
|
|
8
|
+
env: string | undefined;
|
|
9
|
+
verifyTls: boolean;
|
|
10
|
+
profileName: string;
|
|
11
|
+
profileUsed: boolean;
|
|
12
|
+
keyId: string | undefined;
|
|
13
|
+
privateKey: string | undefined;
|
|
14
|
+
}
|
|
15
|
+
interface SettingsInput {
|
|
16
|
+
region?: string | null;
|
|
17
|
+
env?: string | null;
|
|
18
|
+
host?: string | null;
|
|
19
|
+
keyId?: string | null;
|
|
20
|
+
privateKey?: string | null;
|
|
21
|
+
verifyTls?: boolean | null;
|
|
22
|
+
profile?: string | null;
|
|
23
|
+
/** Test hook: the credentials file to read. */
|
|
24
|
+
profileFile?: string;
|
|
25
|
+
/** Test hook: the environment to read instead of process.env. */
|
|
26
|
+
environ?: Record<string, string | undefined>;
|
|
27
|
+
}
|
|
28
|
+
/** Merge options, environment variables and the active profile. */
|
|
29
|
+
declare function resolveSettings(input?: SettingsInput): ResolvedSettings;
|
|
30
|
+
|
|
31
|
+
/** `56` to `"0.5600"`; `1.0e4` to `"100.0000"`. Strings and null pass through. */
|
|
32
|
+
declare function centsToDollars(value: unknown): unknown;
|
|
33
|
+
/** A number of dollars to a dollar string: `0.45` to `"0.4500"`. Strings and null pass through. */
|
|
34
|
+
declare function toDollarString(value: unknown): unknown;
|
|
35
|
+
/** `2` to `"2.00"`. Strings and null pass through. */
|
|
36
|
+
declare function toQuantity(value: unknown): unknown;
|
|
37
|
+
type Obj = Record<string, unknown>;
|
|
38
|
+
/**
|
|
39
|
+
* One market object from `markets` or `market_updates`, converted. Returns a
|
|
40
|
+
* new object; the input is not modified. Absent fields stay absent, which
|
|
41
|
+
* matters for `market_updated` deltas.
|
|
42
|
+
*/
|
|
43
|
+
declare function convertMarketPayload(payload: Obj): Obj;
|
|
44
|
+
/** A `markets` channel push: a map of market id to market object. */
|
|
45
|
+
declare function convertMarketsFrame(payload: unknown): unknown;
|
|
46
|
+
/** A `market:<id>` book (`{b: [...], o: [...]}`), each level's numbers written as strings. */
|
|
47
|
+
declare function convertBook(ob: unknown): unknown;
|
|
48
|
+
/**
|
|
49
|
+
* A `market:<id>` join reply or push, converted: the market fields as in
|
|
50
|
+
* `convertMarketPayload`, and the `ob` book (join reply, `order_book_update`)
|
|
51
|
+
* as in `convertBook`.
|
|
52
|
+
*/
|
|
53
|
+
declare function convertMarketChannelPayload(payload: unknown): unknown;
|
|
54
|
+
|
|
55
|
+
export { type ResolvedSettings, type SettingsInput, centsToDollars, convertBook, convertMarketChannelPayload, convertMarketPayload, convertMarketsFrame, resolveSettings, toDollarString, toQuantity };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export { A as AcceptTermsOptions, a as AccountChange, b as AccountChangeKind, c as AccountState, d as AccountView, e as AccountViewOptions, f as ApiKeyCredentials, g as AuthProvider, h as AuthRequest, B as Balance, i as BatchOrderResult, j as BookLevel, C as Cancellation, k as Channel, l as ChannelMessage, E as Environment, m as Environments, n as Error, o as Event, p as EventsQuery, F as FeeTransaction, q as FetchLike, r as Fill, s as FillsQuery, G as GeoCheckResult, t as GeoLocationProvider, u as GeoOption, v as GeoRejection, H as HOSTS, K as KEY_HEADER, L as Logger, M as Market, w as MarketFilter, x as MarketStat, y as MarketStatsQuery, z as MarketsQuery, D as Me, I as MessageHandler, N as NO_RETRY, J as NewOrder, O as NewOrderInput, P as OPERATIONS, Q as Operation, R as OperationId, S as Order, T as OrderOptions, U as OrdersQuery, V as Page, W as PageQuery, X as PaymentTransaction, Y as Position, Z as PrivateKeyInput, _ as RecentTrade, $ as ReconnectPolicy, a0 as ReconnectPolicyOptions, a1 as Region, a2 as ResponseEvent, a3 as RetryPolicy, a4 as RetryPolicyOptions, a5 as SIGNATURE_HEADER, a6 as SNAPSHOT_EVENTS, a7 as STX, a8 as STXAPIException, a9 as STXAuthenticationException, aa as STXChannelException, ab as STXConfigException, ac as STXEnvironment, ad as STXException, ae as STXForbiddenException, af as STXGeoLocationException, ag as STXInsufficientScopeException, ah as STXInvalidTokenException, ai as STXNotFoundException, aj as STXOptions, ak as STXRateLimitException, al as STXRejectedException, am as STXServerException, an as STXTimeoutException, ao as STXTransportException, ap as STXValidationException, aq as STXWebSocket, ar as STXWebSocketOptions, as as Settlement, at as SettlementsQuery, au as Signer, av as StatDetail, aw as StrList, ax as TERMINAL_ORDER_STATUSES, ay as TIMESTAMP_HEADER, az as Transaction, aA as USER_AGENT, aB as VERSION, aC as WebSocketAuthContext, aD as baseUrlFor, aE as buildMessage, aF as environmentNamed, aG as errorForStatus, aH as geoRejection, aI as handshakePath, aJ as loadPrivateKey, aK as models, aL as orderBody, aM as requestPath, aN as resolveHost, aO as signerFromPrivateKey, aP as socketUrlFor } from './client-5n7RRquU.js';
|
|
2
|
+
import 'node:crypto';
|
|
3
|
+
|
|
4
|
+
/** The fully resolved configuration the clients consume. */
|
|
5
|
+
interface ResolvedSettings {
|
|
6
|
+
host: string | undefined;
|
|
7
|
+
region: string | undefined;
|
|
8
|
+
env: string | undefined;
|
|
9
|
+
verifyTls: boolean;
|
|
10
|
+
profileName: string;
|
|
11
|
+
profileUsed: boolean;
|
|
12
|
+
keyId: string | undefined;
|
|
13
|
+
privateKey: string | undefined;
|
|
14
|
+
}
|
|
15
|
+
interface SettingsInput {
|
|
16
|
+
region?: string | null;
|
|
17
|
+
env?: string | null;
|
|
18
|
+
host?: string | null;
|
|
19
|
+
keyId?: string | null;
|
|
20
|
+
privateKey?: string | null;
|
|
21
|
+
verifyTls?: boolean | null;
|
|
22
|
+
profile?: string | null;
|
|
23
|
+
/** Test hook: the credentials file to read. */
|
|
24
|
+
profileFile?: string;
|
|
25
|
+
/** Test hook: the environment to read instead of process.env. */
|
|
26
|
+
environ?: Record<string, string | undefined>;
|
|
27
|
+
}
|
|
28
|
+
/** Merge options, environment variables and the active profile. */
|
|
29
|
+
declare function resolveSettings(input?: SettingsInput): ResolvedSettings;
|
|
30
|
+
|
|
31
|
+
/** `56` to `"0.5600"`; `1.0e4` to `"100.0000"`. Strings and null pass through. */
|
|
32
|
+
declare function centsToDollars(value: unknown): unknown;
|
|
33
|
+
/** A number of dollars to a dollar string: `0.45` to `"0.4500"`. Strings and null pass through. */
|
|
34
|
+
declare function toDollarString(value: unknown): unknown;
|
|
35
|
+
/** `2` to `"2.00"`. Strings and null pass through. */
|
|
36
|
+
declare function toQuantity(value: unknown): unknown;
|
|
37
|
+
type Obj = Record<string, unknown>;
|
|
38
|
+
/**
|
|
39
|
+
* One market object from `markets` or `market_updates`, converted. Returns a
|
|
40
|
+
* new object; the input is not modified. Absent fields stay absent, which
|
|
41
|
+
* matters for `market_updated` deltas.
|
|
42
|
+
*/
|
|
43
|
+
declare function convertMarketPayload(payload: Obj): Obj;
|
|
44
|
+
/** A `markets` channel push: a map of market id to market object. */
|
|
45
|
+
declare function convertMarketsFrame(payload: unknown): unknown;
|
|
46
|
+
/** A `market:<id>` book (`{b: [...], o: [...]}`), each level's numbers written as strings. */
|
|
47
|
+
declare function convertBook(ob: unknown): unknown;
|
|
48
|
+
/**
|
|
49
|
+
* A `market:<id>` join reply or push, converted: the market fields as in
|
|
50
|
+
* `convertMarketPayload`, and the `ob` book (join reply, `order_book_update`)
|
|
51
|
+
* as in `convertBook`.
|
|
52
|
+
*/
|
|
53
|
+
declare function convertMarketChannelPayload(payload: unknown): unknown;
|
|
54
|
+
|
|
55
|
+
export { type ResolvedSettings, type SettingsInput, centsToDollars, convertBook, convertMarketChannelPayload, convertMarketPayload, convertMarketsFrame, resolveSettings, toDollarString, toQuantity };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AccountView,
|
|
3
|
+
ApiKeyCredentials,
|
|
4
|
+
Channel,
|
|
5
|
+
ChannelMessage,
|
|
6
|
+
Environment,
|
|
7
|
+
Environments,
|
|
8
|
+
HOSTS,
|
|
9
|
+
KEY_HEADER,
|
|
10
|
+
NO_RETRY,
|
|
11
|
+
OPERATIONS,
|
|
12
|
+
Page,
|
|
13
|
+
ReconnectPolicy,
|
|
14
|
+
Region,
|
|
15
|
+
RetryPolicy,
|
|
16
|
+
SIGNATURE_HEADER,
|
|
17
|
+
SNAPSHOT_EVENTS,
|
|
18
|
+
STX,
|
|
19
|
+
STXAPIException,
|
|
20
|
+
STXAuthenticationException,
|
|
21
|
+
STXChannelException,
|
|
22
|
+
STXConfigException,
|
|
23
|
+
STXException,
|
|
24
|
+
STXForbiddenException,
|
|
25
|
+
STXGeoLocationException,
|
|
26
|
+
STXInsufficientScopeException,
|
|
27
|
+
STXInvalidTokenException,
|
|
28
|
+
STXNotFoundException,
|
|
29
|
+
STXRateLimitException,
|
|
30
|
+
STXRejectedException,
|
|
31
|
+
STXServerException,
|
|
32
|
+
STXTimeoutException,
|
|
33
|
+
STXTransportException,
|
|
34
|
+
STXValidationException,
|
|
35
|
+
STXWebSocket,
|
|
36
|
+
TERMINAL_ORDER_STATUSES,
|
|
37
|
+
TIMESTAMP_HEADER,
|
|
38
|
+
USER_AGENT,
|
|
39
|
+
VERSION,
|
|
40
|
+
baseUrlFor,
|
|
41
|
+
buildMessage,
|
|
42
|
+
centsToDollars,
|
|
43
|
+
convertBook,
|
|
44
|
+
convertMarketChannelPayload,
|
|
45
|
+
convertMarketPayload,
|
|
46
|
+
convertMarketsFrame,
|
|
47
|
+
environmentNamed,
|
|
48
|
+
errorForStatus,
|
|
49
|
+
geoRejection,
|
|
50
|
+
handshakePath,
|
|
51
|
+
loadPrivateKey,
|
|
52
|
+
orderBody,
|
|
53
|
+
requestPath,
|
|
54
|
+
resolveHost,
|
|
55
|
+
resolveSettings,
|
|
56
|
+
signerFromPrivateKey,
|
|
57
|
+
socketUrlFor,
|
|
58
|
+
toDollarString,
|
|
59
|
+
toQuantity
|
|
60
|
+
} from "./chunk-U3KT3I43.js";
|
|
61
|
+
export {
|
|
62
|
+
AccountView,
|
|
63
|
+
ApiKeyCredentials,
|
|
64
|
+
Channel,
|
|
65
|
+
ChannelMessage,
|
|
66
|
+
Environment,
|
|
67
|
+
Environments,
|
|
68
|
+
HOSTS,
|
|
69
|
+
KEY_HEADER,
|
|
70
|
+
NO_RETRY,
|
|
71
|
+
OPERATIONS,
|
|
72
|
+
Page,
|
|
73
|
+
ReconnectPolicy,
|
|
74
|
+
Region,
|
|
75
|
+
RetryPolicy,
|
|
76
|
+
SIGNATURE_HEADER,
|
|
77
|
+
SNAPSHOT_EVENTS,
|
|
78
|
+
STX,
|
|
79
|
+
STXAPIException,
|
|
80
|
+
STXAuthenticationException,
|
|
81
|
+
STXChannelException,
|
|
82
|
+
STXConfigException,
|
|
83
|
+
STXException,
|
|
84
|
+
STXForbiddenException,
|
|
85
|
+
STXGeoLocationException,
|
|
86
|
+
STXInsufficientScopeException,
|
|
87
|
+
STXInvalidTokenException,
|
|
88
|
+
STXNotFoundException,
|
|
89
|
+
STXRateLimitException,
|
|
90
|
+
STXRejectedException,
|
|
91
|
+
STXServerException,
|
|
92
|
+
STXTimeoutException,
|
|
93
|
+
STXTransportException,
|
|
94
|
+
STXValidationException,
|
|
95
|
+
STXWebSocket,
|
|
96
|
+
TERMINAL_ORDER_STATUSES,
|
|
97
|
+
TIMESTAMP_HEADER,
|
|
98
|
+
USER_AGENT,
|
|
99
|
+
VERSION,
|
|
100
|
+
baseUrlFor,
|
|
101
|
+
buildMessage,
|
|
102
|
+
centsToDollars,
|
|
103
|
+
convertBook,
|
|
104
|
+
convertMarketChannelPayload,
|
|
105
|
+
convertMarketPayload,
|
|
106
|
+
convertMarketsFrame,
|
|
107
|
+
environmentNamed,
|
|
108
|
+
errorForStatus,
|
|
109
|
+
geoRejection,
|
|
110
|
+
handshakePath,
|
|
111
|
+
loadPrivateKey,
|
|
112
|
+
orderBody,
|
|
113
|
+
requestPath,
|
|
114
|
+
resolveHost,
|
|
115
|
+
resolveSettings,
|
|
116
|
+
signerFromPrivateKey,
|
|
117
|
+
socketUrlFor,
|
|
118
|
+
toDollarString,
|
|
119
|
+
toQuantity
|
|
120
|
+
};
|
|
121
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|