@symmio/trading-react 3.1.0 → 3.3.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/dist/estimated-price/use-estimated-price.d.ts +6 -3
- package/dist/estimated-price/use-estimated-price.d.ts.map +1 -1
- package/dist/estimated-price/use-estimated-price.js +12 -9
- package/dist/estimated-price/use-estimated-price.js.map +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +193 -190
- package/dist/instant-layer/get-instant-open-funding-error.d.ts +5 -0
- package/dist/instant-layer/get-instant-open-funding-error.d.ts.map +1 -0
- package/dist/instant-layer/get-instant-open-funding-error.js +15 -0
- package/dist/instant-layer/get-instant-open-funding-error.js.map +1 -0
- package/dist/instant-layer/index.d.ts +2 -0
- package/dist/instant-layer/index.d.ts.map +1 -1
- package/dist/instant-layer/index.js +18 -16
- package/dist/instant-layer/use-instant-close-fees.d.ts +46 -0
- package/dist/instant-layer/use-instant-close-fees.d.ts.map +1 -0
- package/dist/instant-layer/use-instant-close-fees.js +83 -0
- package/dist/instant-layer/use-instant-close-fees.js.map +1 -0
- package/dist/instant-layer/use-instant-open-auto.d.ts +8 -3
- package/dist/instant-layer/use-instant-open-auto.d.ts.map +1 -1
- package/dist/instant-layer/use-instant-open-auto.js.map +1 -1
- package/dist/instant-layer/use-instant-open-fees.d.ts +40 -10
- package/dist/instant-layer/use-instant-open-fees.d.ts.map +1 -1
- package/dist/instant-layer/use-instant-open-fees.js +23 -98
- package/dist/instant-layer/use-instant-open-fees.js.map +1 -1
- package/dist/instant-layer/use-instant-open-inputs.d.ts +37 -0
- package/dist/instant-layer/use-instant-open-inputs.d.ts.map +1 -0
- package/dist/instant-layer/use-instant-open-inputs.js +136 -0
- package/dist/instant-layer/use-instant-open-inputs.js.map +1 -0
- package/dist/instant-layer/use-instant-open-with-tpsl.d.ts +6 -0
- package/dist/instant-layer/use-instant-open-with-tpsl.d.ts.map +1 -1
- package/dist/instant-layer/use-instant-open-with-tpsl.js.map +1 -1
- package/dist/instant-layer/use-prepare-instant-open-params.d.ts +78 -0
- package/dist/instant-layer/use-prepare-instant-open-params.d.ts.map +1 -0
- package/dist/instant-layer/use-prepare-instant-open-params.js +38 -0
- package/dist/instant-layer/use-prepare-instant-open-params.js.map +1 -0
- package/dist/margin/use-available-instant-open-margin.d.ts +3 -2
- package/dist/margin/use-available-instant-open-margin.d.ts.map +1 -1
- package/dist/margin/use-available-instant-open-margin.js +0 -1
- package/dist/margin/use-available-instant-open-margin.js.map +1 -1
- package/dist/solvers/index.d.ts +1 -0
- package/dist/solvers/index.d.ts.map +1 -1
- package/dist/solvers/use-solver-info.d.ts +14 -0
- package/dist/solvers/use-solver-info.d.ts.map +1 -0
- package/dist/solvers/use-solver-info.js +27 -0
- package/dist/solvers/use-solver-info.js.map +1 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -59,193 +59,196 @@ import { useInstantClose as re } from "./instant-layer/use-instant-close.js";
|
|
|
59
59
|
import { useInstantCloseAuto as ie } from "./instant-layer/use-instant-close-auto.js";
|
|
60
60
|
import { useInstantCloseBulk as ae } from "./instant-layer/use-instant-close-bulk.js";
|
|
61
61
|
import { useInstantCloseBulkAuto as oe } from "./instant-layer/use-instant-close-bulk-auto.js";
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import {
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
144
|
-
import {
|
|
145
|
-
import {
|
|
146
|
-
import {
|
|
147
|
-
import {
|
|
148
|
-
import {
|
|
149
|
-
import {
|
|
150
|
-
import {
|
|
151
|
-
import {
|
|
152
|
-
import {
|
|
153
|
-
import {
|
|
154
|
-
import {
|
|
155
|
-
import {
|
|
156
|
-
import {
|
|
157
|
-
import {
|
|
158
|
-
import {
|
|
159
|
-
import {
|
|
160
|
-
import {
|
|
161
|
-
import {
|
|
162
|
-
import {
|
|
163
|
-
import {
|
|
164
|
-
import {
|
|
165
|
-
import {
|
|
166
|
-
import {
|
|
167
|
-
import {
|
|
168
|
-
import {
|
|
169
|
-
import {
|
|
170
|
-
import {
|
|
171
|
-
import {
|
|
172
|
-
import {
|
|
173
|
-
import {
|
|
174
|
-
import {
|
|
175
|
-
import {
|
|
176
|
-
import {
|
|
177
|
-
import {
|
|
178
|
-
import {
|
|
179
|
-
import {
|
|
180
|
-
import {
|
|
181
|
-
import {
|
|
182
|
-
import {
|
|
183
|
-
import {
|
|
184
|
-
import {
|
|
185
|
-
import {
|
|
186
|
-
import {
|
|
187
|
-
import {
|
|
188
|
-
import {
|
|
189
|
-
import {
|
|
190
|
-
import {
|
|
191
|
-
import {
|
|
192
|
-
import {
|
|
193
|
-
import {
|
|
194
|
-
import {
|
|
195
|
-
import {
|
|
196
|
-
import {
|
|
197
|
-
import {
|
|
198
|
-
import {
|
|
199
|
-
import {
|
|
200
|
-
import {
|
|
201
|
-
import {
|
|
202
|
-
import {
|
|
203
|
-
import {
|
|
204
|
-
import {
|
|
205
|
-
import {
|
|
206
|
-
import {
|
|
207
|
-
import {
|
|
208
|
-
import {
|
|
209
|
-
import {
|
|
210
|
-
import {
|
|
211
|
-
import {
|
|
212
|
-
import {
|
|
213
|
-
import {
|
|
214
|
-
import {
|
|
215
|
-
import {
|
|
216
|
-
import {
|
|
217
|
-
import {
|
|
218
|
-
import {
|
|
219
|
-
import {
|
|
220
|
-
import {
|
|
221
|
-
import {
|
|
222
|
-
import {
|
|
223
|
-
import {
|
|
224
|
-
import {
|
|
225
|
-
import {
|
|
226
|
-
import {
|
|
227
|
-
import {
|
|
228
|
-
import {
|
|
229
|
-
import {
|
|
230
|
-
import {
|
|
231
|
-
import {
|
|
232
|
-
import {
|
|
233
|
-
import {
|
|
234
|
-
import {
|
|
235
|
-
import {
|
|
236
|
-
import {
|
|
237
|
-
import {
|
|
238
|
-
import {
|
|
239
|
-
import {
|
|
240
|
-
import {
|
|
241
|
-
import {
|
|
242
|
-
import {
|
|
243
|
-
import {
|
|
244
|
-
import {
|
|
245
|
-
import {
|
|
246
|
-
import {
|
|
247
|
-
import {
|
|
248
|
-
import {
|
|
249
|
-
import {
|
|
250
|
-
import {
|
|
251
|
-
|
|
62
|
+
import { useFeeForUser as se } from "./fees/use-fee-for-user.js";
|
|
63
|
+
import { useMarkets as ce } from "./markets/use-markets.js";
|
|
64
|
+
import { usePrices as le } from "./price-service/use-prices.js";
|
|
65
|
+
import { usePriceByName as ue } from "./price-service/use-price-by-name.js";
|
|
66
|
+
import { useSolverInfo as de } from "./solvers/use-solver-info.js";
|
|
67
|
+
import { useInstantCloseFees as fe } from "./instant-layer/use-instant-close-fees.js";
|
|
68
|
+
import { useInstantCloses as pe } from "./instant-layer/use-instant-closes.js";
|
|
69
|
+
import { useInstantOpen as me } from "./instant-layer/use-instant-open.js";
|
|
70
|
+
import { useInstantOpenAuto as he } from "./instant-layer/use-instant-open-auto.js";
|
|
71
|
+
import { useEstimatedPrice as ge } from "./estimated-price/use-estimated-price.js";
|
|
72
|
+
import { useLockedParams as _e } from "./locked-params/use-locked-params.js";
|
|
73
|
+
import { useInstantOpenFees as ve } from "./instant-layer/use-instant-open-fees.js";
|
|
74
|
+
import { useInstantOpenQuoteId as ye } from "./instant-layer/use-instant-open-quote-id.js";
|
|
75
|
+
import { toQuoteTpSl as be } from "./tpsl/to-quote-tpsl.js";
|
|
76
|
+
import { useTpSlRecord as xe, useTpSlRecords as Se, useTpSlStore as Ce } from "./tpsl/tpsl-store.js";
|
|
77
|
+
import { useInstantOpenWithTpSl as we } from "./instant-layer/use-instant-open-with-tpsl.js";
|
|
78
|
+
import { useInstantOpens as Te } from "./instant-layer/use-instant-opens.js";
|
|
79
|
+
import { useInstantTradeRequiredSelectors as Ee } from "./instant-layer/use-instant-trade-required-selectors.js";
|
|
80
|
+
import { useIsDelegationActive as De } from "./instant-layer/use-is-delegation-active.js";
|
|
81
|
+
import { useLimitCloseAuto as Oe } from "./instant-layer/use-limit-close-auto.js";
|
|
82
|
+
import { useLimitOpenAuto as ke } from "./instant-layer/use-limit-open-auto.js";
|
|
83
|
+
import { usePendingRevocation as Ae } from "./instant-layer/use-pending-revocation.js";
|
|
84
|
+
import { usePrepareInstantOpenParams as je } from "./instant-layer/use-prepare-instant-open-params.js";
|
|
85
|
+
import { useRevocationCooldown as Me } from "./instant-layer/use-revocation-cooldown.js";
|
|
86
|
+
import { useSessionKeySelectors as Ne } from "./instant-layer/use-session-key-selectors.js";
|
|
87
|
+
import { useSimulateGrantDelegation as Pe } from "./instant-layer/use-simulate-grant-delegation.js";
|
|
88
|
+
import { useFinalizeWithdrawRequest as Fe } from "./withdraw/use-finalize-withdraw-request.js";
|
|
89
|
+
import { useInitiateWithdraw as Ie } from "./withdraw/use-initiate-withdraw.js";
|
|
90
|
+
import { useLastWithdrawRequestId as Le } from "./withdraw/use-last-withdraw-request-id.js";
|
|
91
|
+
import { usePendingWithdrawRequests as Re } from "./withdraw/use-pending-withdraw-requests.js";
|
|
92
|
+
import { useRequestCancelWithdraw as ze } from "./withdraw/use-request-cancel-withdraw.js";
|
|
93
|
+
import { useSimulateFinalizeWithdrawRequest as Be } from "./withdraw/use-simulate-finalize-withdraw-request.js";
|
|
94
|
+
import { useSimulateInitiateWithdraw as Ve } from "./withdraw/use-simulate-initiate-withdraw.js";
|
|
95
|
+
import { useSimulateRequestCancelWithdraw as He } from "./withdraw/use-simulate-request-cancel-withdraw.js";
|
|
96
|
+
import { useWithdraw as Ue } from "./withdraw/use-withdraw.js";
|
|
97
|
+
import { useWithdrawRequest as We } from "./withdraw/use-withdraw-requests.js";
|
|
98
|
+
import { useWithdrawableTime as Ge } from "./withdraw/use-withdrawable-time.js";
|
|
99
|
+
import { useFundingFeesOfPartyB as Ke } from "./markets/use-funding-fees-of-party-b.js";
|
|
100
|
+
import { useOnchainContractMarkets as qe } from "./markets/use-onchain-contract-markets.js";
|
|
101
|
+
import { useSolverErrorCodes as Je } from "./error-codes/use-solver-error-codes.js";
|
|
102
|
+
import { useSolverErrorMessage as Ye } from "./error-codes/use-solver-error-message.js";
|
|
103
|
+
import { useOptimisticQuotesStore as Xe } from "./quotes/optimistic-quotes-store.js";
|
|
104
|
+
import { usePartyAOpenPositions as Ze } from "./quotes/use-party-a-open-positions.js";
|
|
105
|
+
import { useAccountLiquidationPrice as Qe } from "./quotes/use-account-liquidation-price.js";
|
|
106
|
+
import { useManagedQuotes as $e } from "./quotes/use-managed-quotes.js";
|
|
107
|
+
import { useAccountUpnl as et } from "./quotes/use-account-upnl.js";
|
|
108
|
+
import { useCloseQuoteGroup as tt } from "./quotes/use-close-quote-group.js";
|
|
109
|
+
import { useCoolDownsOfMA as nt } from "./quotes/use-cool-downs-of-ma.js";
|
|
110
|
+
import { useForceCancelCloseRequest as rt } from "./quotes/use-force-cancel-close-request.js";
|
|
111
|
+
import { useForceCancelQuote as it } from "./quotes/use-force-cancel-quote.js";
|
|
112
|
+
import { useForceClose as at } from "./quotes/use-force-close.js";
|
|
113
|
+
import { useSolverCapabilities as ot, useSupportsGroupClose as st, useSupportsLimitOrder as ct } from "./solvers/use-solver-capabilities.js";
|
|
114
|
+
import { useForceCloseParams as lt } from "./quotes/use-force-close-params.js";
|
|
115
|
+
import { useForceCloseEligibility as ut } from "./quotes/use-force-close-eligibility.js";
|
|
116
|
+
import { useGroupedQuotes as dt } from "./quotes/use-grouped-quotes.js";
|
|
117
|
+
import { useLimitOrders as ft } from "./quotes/use-limit-orders.js";
|
|
118
|
+
import { usePartyAPendingQuotes as pt } from "./quotes/use-party-a-pending-quotes.js";
|
|
119
|
+
import { useQuote as mt } from "./quotes/use-quote.js";
|
|
120
|
+
import { useQuoteEventsByType as ht } from "./quotes/use-quote-events-by-type.js";
|
|
121
|
+
import { useQuotesFunding as gt } from "./quotes/use-quotes-funding.js";
|
|
122
|
+
import { useQuoteFunding as _t } from "./quotes/use-quote-funding.js";
|
|
123
|
+
import { useQuoteGroupFunding as vt } from "./quotes/use-quote-group-funding.js";
|
|
124
|
+
import { useQuoteGroupFundingHistory as yt } from "./quotes/use-quote-group-funding-history.js";
|
|
125
|
+
import { useAccountMarginRisk as bt } from "./margin/use-account-margin-risk.js";
|
|
126
|
+
import { useEnigmaPriceByName as xt } from "./price-service/use-enigma-price-by-name.js";
|
|
127
|
+
import { useEnigmaPriceByMarketId as St } from "./price-service/use-enigma-price-by-market-id.js";
|
|
128
|
+
import { useQuoteGroupMarginRisk as Ct } from "./quotes/use-quote-group-margin-risk.js";
|
|
129
|
+
import { useQuoteHistory as wt } from "./quotes/use-quote-history.js";
|
|
130
|
+
import { useQuotesPendingFunding as Tt } from "./quotes/use-quotes-pending-funding.js";
|
|
131
|
+
import { useQuotePendingFunding as Et } from "./quotes/use-quote-pending-funding.js";
|
|
132
|
+
import { useQuotePlatformFee as Dt } from "./quotes/use-quote-platform-fee.js";
|
|
133
|
+
import { useQuotePriceHistory as Ot } from "./quotes/use-quote-price-history.js";
|
|
134
|
+
import { usePriceByMarketId as kt } from "./price-service/use-price-by-market-id.js";
|
|
135
|
+
import { useQuoteUpnlAndPnl as At } from "./quotes/use-quote-upnl-and-pnl.js";
|
|
136
|
+
import { useRequestToCancelCloseRequest as jt } from "./quotes/use-request-to-cancel-close-request.js";
|
|
137
|
+
import { useRequestToCancelQuote as Mt } from "./quotes/use-request-to-cancel-quote.js";
|
|
138
|
+
import { useSubgraphQuery as Nt } from "./quotes/use-subgraph-query.js";
|
|
139
|
+
import { useAvailableInstantOpenMargin as Pt } from "./margin/use-available-instant-open-margin.js";
|
|
140
|
+
import { useBalanceHistory as Ft } from "./balance-history/use-balance-history.js";
|
|
141
|
+
import { useDepositHistory as It } from "./balance-history/use-deposit-history.js";
|
|
142
|
+
import { useWithdrawHistory as Lt } from "./balance-history/use-withdraw-history.js";
|
|
143
|
+
import { useTransferHistory as Rt } from "./transfers/use-transfer-history.js";
|
|
144
|
+
import { DEFAULT_NOTIONAL_CAP_POLLING_MS as zt, useNotionalCapBySymbolId as Bt } from "./notional-cap/use-notional-cap-by-symbol-id.js";
|
|
145
|
+
import { useNotionalCapAll as Vt } from "./notional-cap/use-notional-cap-all.js";
|
|
146
|
+
import { useOpenInterestBySymbolId as Ht } from "./notional-cap/use-open-interest-by-symbol-id.js";
|
|
147
|
+
import { useFundingInfo as Ut } from "./funding-info/use-funding-info.js";
|
|
148
|
+
import { useRevenueRecords as Wt } from "./revenue-records/use-revenue-records.js";
|
|
149
|
+
import { useSymbols as Gt } from "./symbols/use-symbols.js";
|
|
150
|
+
import { useTradeVolume as Kt } from "./trade-volume/use-trade-volume.js";
|
|
151
|
+
import { useMarketInfo as qt } from "./market-info/use-market-info.js";
|
|
152
|
+
import { useSolverRevenue as Jt } from "./solvers/use-solver-revenue.js";
|
|
153
|
+
import { useBinanceHealth as Yt } from "./price-service/use-binance-health.js";
|
|
154
|
+
import { useBinancePremiumIndex as Xt } from "./price-service/use-binance-premium-index.js";
|
|
155
|
+
import { useBinancePrices as Zt } from "./price-service/use-binance-prices.js";
|
|
156
|
+
import { useBinanceSymbolsInfo as Qt } from "./price-service/use-binance-symbols-info.js";
|
|
157
|
+
import { useEnigmaPriceServiceHealth as $t } from "./price-service/use-enigma-price-service-health.js";
|
|
158
|
+
import { useEnigmaPriceServiceMetadata as en } from "./price-service/use-enigma-price-service-metadata.js";
|
|
159
|
+
import { useEnigmaPriceServicePricesByAddresses as tn } from "./price-service/use-enigma-price-service-prices-by-addresses.js";
|
|
160
|
+
import { useEnigmaPriceServicePricesByNames as nn } from "./price-service/use-enigma-price-service-prices-by-names.js";
|
|
161
|
+
import { useEnigmaPriceServiceSymbolsInfo as rn } from "./price-service/use-enigma-price-service-symbols-info.js";
|
|
162
|
+
import { useEnigmaPrices as an } from "./price-service/use-enigma-prices.js";
|
|
163
|
+
import { useMarkPrices as on } from "./price-service/use-mark-prices.js";
|
|
164
|
+
import { useSearchNotifications as sn } from "./notifications/use-search-notifications.js";
|
|
165
|
+
import { useDeallocateUpnlSig as cn } from "./muon/use-deallocate-upnl-sig.js";
|
|
166
|
+
import { useForceClosePriceSig as ln } from "./muon/use-force-close-price-sig.js";
|
|
167
|
+
import { useMuonPartyAOverview as un } from "./muon/use-muon-party-a-overview.js";
|
|
168
|
+
import { useMuonPrice as dn } from "./muon/use-muon-price.js";
|
|
169
|
+
import { useMuonPriceRange as fn } from "./muon/use-muon-price-range.js";
|
|
170
|
+
import { useMuonSettleUpnl as pn } from "./muon/use-muon-settle-upnl.js";
|
|
171
|
+
import { useMuonUpnl as mn } from "./muon/use-muon-upnl.js";
|
|
172
|
+
import { useMuonUpnlA as hn } from "./muon/use-muon-upnl-a.js";
|
|
173
|
+
import { useMuonUpnlAWithSymbolPrice as gn } from "./muon/use-muon-upnl-a-with-symbol-price.js";
|
|
174
|
+
import { useMuonUpnlB as _n } from "./muon/use-muon-upnl-b.js";
|
|
175
|
+
import { useMuonUpnlWithSymbolPrice as vn } from "./muon/use-muon-upnl-with-symbol-price.js";
|
|
176
|
+
import { useSendQuoteUpnlSig as yn } from "./muon/use-send-quote-upnl-sig.js";
|
|
177
|
+
import { invalidateTpSlReads as bn } from "./tpsl/invalidate-tpsl.js";
|
|
178
|
+
import { useDeleteQuoteGroupTpSl as xn } from "./tpsl/use-delete-quote-group-tpsl.js";
|
|
179
|
+
import { useDeleteQuoteTpSl as Sn } from "./tpsl/use-delete-quote-tpsl.js";
|
|
180
|
+
import { useQuoteGroupTpSl as Cn } from "./tpsl/use-quote-group-tpsl.js";
|
|
181
|
+
import { useQuoteGroupTpSlEditor as wn } from "./tpsl/use-quote-group-tpsl-editor.js";
|
|
182
|
+
import { useWatchTpSlNotifications as Tn } from "./tpsl/use-watch-tpsl-notifications.js";
|
|
183
|
+
import { useQuoteTpSl as En } from "./tpsl/use-quote-tpsl.js";
|
|
184
|
+
import { useSearchTpSlOrders as Dn } from "./tpsl/use-search-tpsl-orders.js";
|
|
185
|
+
import { useSetQuoteGroupTpSl as On } from "./tpsl/use-set-quote-group-tpsl.js";
|
|
186
|
+
import { useSetQuoteTpSl as kn } from "./tpsl/use-set-quote-tpsl.js";
|
|
187
|
+
import { useTpSlConfig as An } from "./tpsl/use-tpsl-config.js";
|
|
188
|
+
import { useTpSlSigningSpec as jn } from "./tpsl/use-tpsl-signing-spec.js";
|
|
189
|
+
import { useTpSlSupported as Mn } from "./tpsl/use-tpsl-supported.js";
|
|
190
|
+
import { useBinanceCandleSource as Nn } from "./candles/use-binance-candle-source.js";
|
|
191
|
+
import { useCandleStream as Pn } from "./candles/use-candle-stream.js";
|
|
192
|
+
import { useCandles as Fn } from "./candles/use-candles.js";
|
|
193
|
+
import { useTradingViewDatafeed as In } from "./candles/use-tradingview-datafeed.js";
|
|
194
|
+
import { useBinanceOrderbookSource as Ln } from "./orderbook/use-binance-orderbook-source.js";
|
|
195
|
+
import { useOrderbookStream as Rn } from "./orderbook/use-orderbook-stream.js";
|
|
196
|
+
import { useLiveOrderbook as zn } from "./orderbook/use-live-orderbook.js";
|
|
197
|
+
import { useOrderbook as Bn } from "./orderbook/use-orderbook.js";
|
|
198
|
+
import { useErrorMessage as Vn } from "./rasa-solver/use-error-message.js";
|
|
199
|
+
import { usePartyAUpnl as Hn } from "./rasa-solver/use-party-a-upnl.js";
|
|
200
|
+
import { useSolverBalanceInfo as Un } from "./rasa-solver/use-solver-balance-info.js";
|
|
201
|
+
import { useSolverOpenInterest as Wn } from "./rasa-solver/use-solver-open-interest.js";
|
|
202
|
+
import { useSolverPriceRange as Gn } from "./rasa-solver/use-solver-price-range.js";
|
|
203
|
+
import { useSolverReadiness as Kn } from "./rasa-solver/use-solver-readiness.js";
|
|
204
|
+
import { useAddMarket as qn } from "./pools/use-add-market.js";
|
|
205
|
+
import { useAuthenticateListing as Jn } from "./pools/use-authenticate-listing.js";
|
|
206
|
+
import { useCancelWithdraw as Yn } from "./pools/use-cancel-withdraw.js";
|
|
207
|
+
import { useClaimHistory as Xn } from "./pools/use-claim-history.js";
|
|
208
|
+
import { useClaimProfit as Zn } from "./pools/use-claim-profit.js";
|
|
209
|
+
import { useDepositAddress as Qn } from "./pools/use-deposit-address.js";
|
|
210
|
+
import { useListingConfig as $n } from "./pools/use-listing-config.js";
|
|
211
|
+
import { useListingMarketConfig as er } from "./pools/use-listing-market-config.js";
|
|
212
|
+
import { useListingMarketDetail as tr } from "./pools/use-listing-market-detail.js";
|
|
213
|
+
import { useUserProfit as nr } from "./pools/use-user-profit.js";
|
|
214
|
+
import { useListingMarketConfigProjection as rr } from "./pools/use-listing-market-config-projection.js";
|
|
215
|
+
import { useListingMarkets as ir } from "./pools/use-listing-markets.js";
|
|
216
|
+
import { useListingStatus as ar } from "./pools/use-listing-status.js";
|
|
217
|
+
import { usePoolQuotes as or } from "./pools/use-pool-quotes.js";
|
|
218
|
+
import { usePoolRewardChart as sr } from "./pools/use-pool-reward-chart.js";
|
|
219
|
+
import { usePoolTotalReward as cr } from "./pools/use-pool-total-reward.js";
|
|
220
|
+
import { usePoolTradeHistory as lr } from "./pools/use-pool-trade-history.js";
|
|
221
|
+
import { usePoolTransactions as ur } from "./pools/use-pool-transactions.js";
|
|
222
|
+
import { useRefundMarket as dr } from "./pools/use-refund-market.js";
|
|
223
|
+
import { useRetryListing as fr } from "./pools/use-retry-listing.js";
|
|
224
|
+
import { useRetryListingInfo as pr } from "./pools/use-retry-listing-info.js";
|
|
225
|
+
import { useSupportsListingService as mr } from "./pools/use-supports-listing-service.js";
|
|
226
|
+
import { useUpdateListingMarketConfig as hr } from "./pools/use-update-listing-market-config.js";
|
|
227
|
+
import { useUserListingMarkets as gr } from "./pools/use-user-listing-markets.js";
|
|
228
|
+
import { useUserRewardChart as _r } from "./pools/use-user-reward-chart.js";
|
|
229
|
+
import { useUserTotalReward as vr } from "./pools/use-user-total-reward.js";
|
|
230
|
+
import { useUserTransactions as yr } from "./pools/use-user-transactions.js";
|
|
231
|
+
import { useWeeklyListingLimit as br } from "./pools/use-weekly-listing-limit.js";
|
|
232
|
+
import { useWithdrawLp as xr } from "./pools/use-withdraw-lp.js";
|
|
233
|
+
import { useInventoryTvl as Sr } from "./inventory/use-inventory-tvl.js";
|
|
234
|
+
import { useInventoryTvlHistory as Cr } from "./inventory/use-inventory-tvl-history.js";
|
|
235
|
+
import { useApproveOperationalFee as wr } from "./gasless/use-approve-operational-fee.js";
|
|
236
|
+
import { useGaslessBatchFeeQuote as Tr } from "./gasless/use-gasless-batch-fee-quote.js";
|
|
237
|
+
import { useGaslessDepositPolicy as Er } from "./gasless/use-gasless-deposit-policy.js";
|
|
238
|
+
import { useGaslessFeeQuote as Dr } from "./gasless/use-gasless-fee-quote.js";
|
|
239
|
+
import { useGaslessRequest as Or } from "./gasless/use-gasless-request.js";
|
|
240
|
+
import { useGaslessRequestTransactions as kr } from "./gasless/use-gasless-request-transactions.js";
|
|
241
|
+
import { useGaslessWalletAddress as Ar } from "./gasless/use-gasless-wallet-address.js";
|
|
242
|
+
import { useGaslessWalletCreationFee as jr } from "./gasless/use-gasless-wallet-creation-fee.js";
|
|
243
|
+
import { useGaslessWalletExecute as Mr } from "./gasless/use-gasless-wallet-execute.js";
|
|
244
|
+
import { useGaslessWalletExecuteSelectors as Nr } from "./gasless/use-gasless-wallet-execute-selectors.js";
|
|
245
|
+
import { useGaslessWalletNonce as Pr } from "./gasless/use-gasless-wallet-nonce.js";
|
|
246
|
+
import { useOperationalFeeAllowance as Fr } from "./gasless/use-operational-fee-allowance.js";
|
|
247
|
+
import { useRelayGaslessBatch as Ir } from "./gasless/use-relay-gasless-batch.js";
|
|
248
|
+
import { useRelayInstantOperations as Lr } from "./gasless/use-relay-instant-operations.js";
|
|
249
|
+
import { useResubmitGaslessRequest as Rr } from "./gasless/use-resubmit-gasless-request.js";
|
|
250
|
+
import { useSettleGaslessDepositExistingAccount as zr } from "./gasless/use-settle-gasless-deposit-existing-account.js";
|
|
251
|
+
import { useSettleGaslessDepositNewAccount as Br } from "./gasless/use-settle-gasless-deposit-new-account.js";
|
|
252
|
+
import { useSupportsGaslessService as Vr } from "./gasless/use-supports-gasless-service.js";
|
|
253
|
+
import { ADD_MARGIN_TO_NEXT_VA_SELECTOR as Hr, DEFAULT_TPSL_SLIPPAGE_LOWCAPS as Ur, GASLESS_RELAYABLE_FUNCTIONS as Wr, GASLESS_RELAYABLE_SELECTORS as Gr, GASLESS_SESSION_KEY_SELECTORS as Kr, GASLESS_SESSION_KEY_WITHDRAW_SELECTORS as qr, GASLESS_TERMINAL_STATUSES as Jr, GROUP_TPSL_SIDES as Yr, GaslessRequestStatus as Xr, INSTANT_TRADE_REQUIRED_SELECTORS as Zr, LEGACY_INSTANT_TRADE_REQUIRED_SELECTORS as Qr, NotificationType as $r, OrderType as ei, PositionType as ti, QuoteStatus as ni, REQUEST_TO_CLOSE_POSITION_SELECTOR as ri, SEND_QUOTE_SELECTOR as ii, SEND_QUOTE_WITH_AFFILIATE_AND_DATA_SELECTOR as ai, SubAccountIsolationType as oi, SymmApiError as si, SymmError as ci, VIRTUAL_ACCOUNT_ISOLATION_TYPE as li, ZERO_LEG as ui, buildConditionalOrderLeg as di, buildConditionalOrderMessage as fi, buildTpSlDeleteMessage as pi, calculateAvailableForOrder as mi, calculateAvailableInstantOpenMargin as hi, calculateClosePrice as gi, calculatePriceImpact as _i, calculateQuoteLeverage as vi, calculateQuotePnl as yi, calculateSolverCloseFee as bi, calculateTradeParams as xi, childNotional as Si, clampClosePrecision as Ci, classifyGaslessFailure as wi, decimalPriceToWei as Ti, decodeGaslessOperationFailure as Ei, deleteQuoteTpSl as Di, deleteQuoteTpSlMutationOptions as Oi, estimateGroupTpSlReturn as ki, generateTpSlSalt as Ai, getGaslessUnconfirmedSubmit as ji, getPartyAOpenPositionsQueryKey as Mi, getPartyAOpenPositionsQueryOptions as Ni, getSessionKeySelectors as Pi, isGaslessIdempotencyConflictError as Fi, isGaslessRequestTerminal as Ii, isolationTypeForSide as Li, parseGaslessErrorDetail as Ri, parseTpSlFrame as zi, planGroupTpSl as Bi, planGroupTpSlDelete as Vi, priceSlippageCalculation as Hi, sharePercent as Ui, signTpSlRequest as Wi, summarizeQuoteGroupTpSl as Gi, supportsEstimatedPrice as Ki, toGroupTpSlChildren as qi, toGroupTpSlOrders as Ji, toSignableTpSlMessage as Yi, validateInstantCloseAgainstMarket as Xi, validateInstantOpenAgainstMarket as Zi, validateTpSl as Qi, watchTpSlNotifications as $i } from "@symmio/trading-core";
|
|
254
|
+
export { Hr as ADD_MARGIN_TO_NEXT_VA_SELECTOR, zt as DEFAULT_NOTIONAL_CAP_POLLING_MS, Ur as DEFAULT_TPSL_SLIPPAGE_LOWCAPS, Wr as GASLESS_RELAYABLE_FUNCTIONS, Gr as GASLESS_RELAYABLE_SELECTORS, Kr as GASLESS_SESSION_KEY_SELECTORS, qr as GASLESS_SESSION_KEY_WITHDRAW_SELECTORS, Jr as GASLESS_TERMINAL_STATUSES, Yr as GROUP_TPSL_SIDES, Xr as GaslessRequestStatus, Zr as INSTANT_TRADE_REQUIRED_SELECTORS, Qr as LEGACY_INSTANT_TRADE_REQUIRED_SELECTORS, $r as NotificationType, ei as OrderType, ti as PositionType, ni as QuoteStatus, ri as REQUEST_TO_CLOSE_POSITION_SELECTOR, ii as SEND_QUOTE_SELECTOR, ai as SEND_QUOTE_WITH_AFFILIATE_AND_DATA_SELECTOR, oi as SubAccountIsolationType, si as SymmApiError, ci as SymmError, t as SymmioProvider, i as SymmioRequestError, p as TransactionRevertedError, li as VIRTUAL_ACCOUNT_ISOLATION_TYPE, ui as ZERO_LEG, di as buildConditionalOrderLeg, fi as buildConditionalOrderMessage, pi as buildTpSlDeleteMessage, mi as calculateAvailableForOrder, hi as calculateAvailableInstantOpenMargin, gi as calculateClosePrice, _i as calculatePriceImpact, vi as calculateQuoteLeverage, yi as calculateQuotePnl, bi as calculateSolverCloseFee, xi as calculateTradeParams, Si as childNotional, Ci as clampClosePrecision, wi as classifyGaslessFailure, e as createSessionKeyWalletClientResolver, Ti as decimalPriceToWei, Ei as decodeGaslessOperationFailure, Di as deleteQuoteTpSl, Oi as deleteQuoteTpSlMutationOptions, ki as estimateGroupTpSlReturn, Ai as generateTpSlSalt, ji as getGaslessUnconfirmedSubmit, Mi as getPartyAOpenPositionsQueryKey, Ni as getPartyAOpenPositionsQueryOptions, Pi as getSessionKeySelectors, bn as invalidateTpSlReads, Fi as isGaslessIdempotencyConflictError, Ii as isGaslessRequestTerminal, Li as isolationTypeForSide, a as normalizeSymmError, Ri as parseGaslessErrorDetail, zi as parseTpSlFrame, Bi as planGroupTpSl, Vi as planGroupTpSlDelete, h as predicateMatch, Hi as priceSlippageCalculation, Ui as sharePercent, Wi as signTpSlRequest, Gi as summarizeQuoteGroupTpSl, Ki as supportsEstimatedPrice, qi as toGroupTpSlChildren, Ji as toGroupTpSlOrders, be as toQuoteTpSl, Yi as toSignableTpSlMessage, d as useAccountBalanceInfo, f as useAccountBalanceOf, Qe as useAccountLiquidationPrice, bt as useAccountMarginRisk, et as useAccountUpnl, Z as useActiveDelegations, g as useAddMargin, qn as useAddMarket, _ as useAffiliateState, v as useAllocate, q as useApproveCollateral, wr as useApproveOperationalFee, Q as useAreDelegationsActive, Jn as useAuthenticateListing, Pt as useAvailableInstantOpenMargin, Ft as useBalanceHistory, Nn as useBinanceCandleSource, Yt as useBinanceHealth, Ln as useBinanceOrderbookSource, Xt as useBinancePremiumIndex, Zt as useBinancePrices, Qt as useBinanceSymbolsInfo, y as useCancelRegistration, Yn as useCancelWithdraw, Pn as useCandleStream, Fn as useCandles, Xn as useClaimHistory, Zn as useClaimProfit, tt as useCloseQuoteGroup, J as useCollateralAllowance, Y as useCollateralBalance, o as useConnectWallet, nt as useCoolDownsOfMA, b as useCreateSubAccounts, x as useDeallocate, S as useDeallocateAndInitiateWithdraw, cn as useDeallocateUpnlSig, $ as useDelegationExpiry, xn as useDeleteQuoteGroupTpSl, Sn as useDeleteQuoteTpSl, C as useDeleteSubAccount, w as useDeposit, Qn as useDepositAddress, T as useDepositAndAllocate, It as useDepositHistory, s as useDisconnectWallet, E as useEditAccountName, St as useEnigmaPriceByMarketId, xt as useEnigmaPriceByName, $t as useEnigmaPriceServiceHealth, en as useEnigmaPriceServiceMetadata, tn as useEnigmaPriceServicePricesByAddresses, nn as useEnigmaPriceServicePricesByNames, rn as useEnigmaPriceServiceSymbolsInfo, an as useEnigmaPrices, Vn as useErrorMessage, ge as useEstimatedPrice, se as useFeeForUser, ee as useFinalizeRevokeDelegation, Fe as useFinalizeWithdrawRequest, rt as useForceCancelCloseRequest, it as useForceCancelQuote, at as useForceClose, ut as useForceCloseEligibility, lt as useForceCloseParams, ln as useForceClosePriceSig, Ke as useFundingFeesOfPartyB, Ut as useFundingInfo, Tr as useGaslessBatchFeeQuote, Er as useGaslessDepositPolicy, Dr as useGaslessFeeQuote, Or as useGaslessRequest, kr as useGaslessRequestTransactions, Ar as useGaslessWalletAddress, jr as useGaslessWalletCreationFee, Mr as useGaslessWalletExecute, Nr as useGaslessWalletExecuteSelectors, Pr as useGaslessWalletNonce, D as useGeneratedAccountManagerAddress, te as useGrantDelegation, dt as useGroupedQuotes, ne as useInitiateRevokeDelegation, Ie as useInitiateWithdraw, re as useInstantClose, ie as useInstantCloseAuto, ae as useInstantCloseBulk, oe as useInstantCloseBulkAuto, fe as useInstantCloseFees, pe as useInstantCloses, me as useInstantOpen, he as useInstantOpenAuto, ve as useInstantOpenFees, ye as useInstantOpenQuoteId, we as useInstantOpenWithTpSl, Te as useInstantOpens, Ee as useInstantTradeRequiredSelectors, Sr as useInventoryTvl, Cr as useInventoryTvlHistory, De as useIsDelegationActive, Le as useLastWithdrawRequestId, Oe as useLimitCloseAuto, ke as useLimitOpenAuto, ft as useLimitOrders, $n as useListingConfig, er as useListingMarketConfig, rr as useListingMarketConfigProjection, tr as useListingMarketDetail, ir as useListingMarkets, ar as useListingStatus, zn as useLiveOrderbook, _e as useLockedParams, $e as useManagedQuotes, on as useMarkPrices, qt as useMarketInfo, ce as useMarkets, un as useMuonPartyAOverview, dn as useMuonPrice, fn as useMuonPriceRange, pn as useMuonSettleUpnl, mn as useMuonUpnl, hn as useMuonUpnlA, gn as useMuonUpnlAWithSymbolPrice, _n as useMuonUpnlB, vn as useMuonUpnlWithSymbolPrice, u as useNotifications, Vt as useNotionalCapAll, Bt as useNotionalCapBySymbolId, qe as useOnchainContractMarkets, Ht as useOpenInterestBySymbolId, Fr as useOperationalFeeAllowance, Xe as useOptimisticQuotesStore, Bn as useOrderbook, Rn as useOrderbookStream, Ze as usePartyAOpenPositions, pt as usePartyAPendingQuotes, Hn as usePartyAUpnl, Ae as usePendingRevocation, Re as usePendingWithdrawRequests, or as usePoolQuotes, sr as usePoolRewardChart, cr as usePoolTotalReward, lr as usePoolTradeHistory, ur as usePoolTransactions, O as usePredictedNextVirtualAccount, je as usePrepareInstantOpenParams, kt as usePriceByMarketId, ue as usePriceByName, le as usePrices, mt as useQuote, ht as useQuoteEventsByType, _t as useQuoteFunding, vt as useQuoteGroupFunding, yt as useQuoteGroupFundingHistory, Ct as useQuoteGroupMarginRisk, Cn as useQuoteGroupTpSl, wn as useQuoteGroupTpSlEditor, wt as useQuoteHistory, Et as useQuotePendingFunding, Dt as useQuotePlatformFee, Ot as useQuotePriceHistory, En as useQuoteTpSl, At as useQuoteUpnlAndPnl, gt as useQuotesFunding, Tt as useQuotesPendingFunding, dr as useRefundMarket, Ir as useRelayGaslessBatch, Lr as useRelayInstantOperations, k as useRemoveMargin, ze as useRequestCancelWithdraw, jt as useRequestToCancelCloseRequest, Mt as useRequestToCancelQuote, A as useRequestToRegisterAffiliate, Rr as useResubmitGaslessRequest, fr as useRetryListing, pr as useRetryListingInfo, Wt as useRevenueRecords, Me as useRevocationCooldown, sn as useSearchNotifications, Dn as useSearchTpSlOrders, yn as useSendQuoteUpnlSig, Ne as useSessionKeySelectors, On as useSetQuoteGroupTpSl, kn as useSetQuoteTpSl, zr as useSettleGaslessDepositExistingAccount, Br as useSettleGaslessDepositNewAccount, j as useSimulateAddMargin, M as useSimulateAllocate, X as useSimulateApproveCollateral, N as useSimulateCreateSubAccounts, P as useSimulateDeallocate, F as useSimulateDeleteSubAccount, I as useSimulateDeposit, L as useSimulateDepositAndAllocate, R as useSimulateEditAccountName, Be as useSimulateFinalizeWithdrawRequest, Pe as useSimulateGrantDelegation, Ve as useSimulateInitiateWithdraw, z as useSimulateRemoveMargin, He as useSimulateRequestCancelWithdraw, Un as useSolverBalanceInfo, ot as useSolverCapabilities, Je as useSolverErrorCodes, Ye as useSolverErrorMessage, de as useSolverInfo, Wn as useSolverOpenInterest, Gn as useSolverPriceRange, Kn as useSolverReadiness, Jt as useSolverRevenue, B as useSubAccount, V as useSubAccountVirtualNonce, H as useSubAccountsCountOfUser, Nt as useSubgraphQuery, Vr as useSupportsGaslessService, st as useSupportsGroupClose, ct as useSupportsLimitOrder, mr as useSupportsListingService, c as useSwitchToSymmioChain, Gt as useSymbols, n as useSymmioChainId, r as useSymmioConfig, An as useTpSlConfig, xe as useTpSlRecord, Se as useTpSlRecords, jn as useTpSlSigningSpec, Ce as useTpSlStore, Mn as useTpSlSupported, Kt as useTradeVolume, In as useTradingViewDatafeed, m as useTransactionsStore, Rt as useTransferHistory, hr as useUpdateListingMarketConfig, gr as useUserListingMarkets, nr as useUserProfit, _r as useUserRewardChart, U as useUserSubAccounts, W as useUserSubAccountsAddresses, vr as useUserTotalReward, yr as useUserTransactions, G as useVirtualAccount, K as useVirtualAccountsAddressesOfSubAccount, l as useWalletAccount, Tn as useWatchTpSlNotifications, br as useWeeklyListingLimit, Ue as useWithdraw, Lt as useWithdrawHistory, xr as useWithdrawLp, We as useWithdrawRequest, Ge as useWithdrawableTime, Xi as validateInstantCloseAgainstMarket, Zi as validateInstantOpenAgainstMarket, Qi as validateTpSl, $i as watchTpSlNotifications };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { validateInstantOpenBalanceFunding } from '@symmio/trading-core';
|
|
2
|
+
import { SymmioRequestError } from '../errors/symmio-request-error.js';
|
|
3
|
+
/** Run core's synchronous funding check before enabling dependent React queries. */
|
|
4
|
+
export declare function getInstantOpenFundingError(parameters: Parameters<typeof validateInstantOpenBalanceFunding>[0]): SymmioRequestError | undefined;
|
|
5
|
+
//# sourceMappingURL=get-instant-open-funding-error.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-instant-open-funding-error.d.ts","sourceRoot":"","sources":["../../src/instant-layer/get-instant-open-funding-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iCAAiC,EAAE,MAAM,sBAAsB,CAAC;AAEzE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,oFAAoF;AACpF,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,UAAU,CAAC,OAAO,iCAAiC,CAAC,CAAC,CAAC,CAAC,GAClE,kBAAkB,GAAG,SAAS,CAOhC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { normalizeSymmError as e } from "../errors/normalize-symm-error.js";
|
|
2
|
+
import { validateInstantOpenBalanceFunding as t } from "@symmio/trading-core";
|
|
3
|
+
//#region src/instant-layer/get-instant-open-funding-error.ts
|
|
4
|
+
function n(n) {
|
|
5
|
+
try {
|
|
6
|
+
t(n);
|
|
7
|
+
return;
|
|
8
|
+
} catch (t) {
|
|
9
|
+
return e(t);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { n as getInstantOpenFundingError };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=get-instant-open-funding-error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-instant-open-funding-error.js","names":[],"sources":["../../src/instant-layer/get-instant-open-funding-error.ts"],"sourcesContent":["import { validateInstantOpenBalanceFunding } from \"@symmio/trading-core\";\nimport { normalizeSymmError } from \"../errors/normalize-symm-error\";\nimport type { SymmioRequestError } from \"../errors/symmio-request-error\";\n\n/** Run core's synchronous funding check before enabling dependent React queries. */\nexport function getInstantOpenFundingError(\n parameters: Parameters<typeof validateInstantOpenBalanceFunding>[0],\n): SymmioRequestError | undefined {\n try {\n validateInstantOpenBalanceFunding(parameters);\n return undefined;\n } catch (error) {\n return normalizeSymmError(error);\n }\n}\n"],"mappings":";;;AAKA,SAAgB,EACd,GACgC;CAChC,IAAI;EACF,EAAkC,CAAU;EAC5C;CACF,SAAS,GAAO;EACd,OAAO,EAAmB,CAAK;CACjC;AACF"}
|
|
@@ -8,6 +8,7 @@ export * from './use-instant-close.js';
|
|
|
8
8
|
export * from './use-instant-close-auto.js';
|
|
9
9
|
export * from './use-instant-close-bulk.js';
|
|
10
10
|
export * from './use-instant-close-bulk-auto.js';
|
|
11
|
+
export * from './use-instant-close-fees.js';
|
|
11
12
|
export * from './use-instant-closes.js';
|
|
12
13
|
export * from './use-instant-open.js';
|
|
13
14
|
export * from './use-instant-open-auto.js';
|
|
@@ -20,6 +21,7 @@ export * from './use-is-delegation-active.js';
|
|
|
20
21
|
export * from './use-limit-close-auto.js';
|
|
21
22
|
export * from './use-limit-open-auto.js';
|
|
22
23
|
export * from './use-pending-revocation.js';
|
|
24
|
+
export * from './use-prepare-instant-open-params.js';
|
|
23
25
|
export * from './use-revocation-cooldown.js';
|
|
24
26
|
export * from './use-session-key-selectors.js';
|
|
25
27
|
export * from './use-simulate-grant-delegation.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/instant-layer/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,wBAAwB,CAAC;AACvC,cAAc,kCAAkC,CAAC;AACjD,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC;AACpC,cAAc,wCAAwC,CAAC;AACvD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/instant-layer/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,wBAAwB,CAAC;AACvC,cAAc,kCAAkC,CAAC;AACjD,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC;AACpC,cAAc,wCAAwC,CAAC;AACvD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAClD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC"}
|
|
@@ -8,19 +8,21 @@ import { useInstantClose as o } from "./use-instant-close.js";
|
|
|
8
8
|
import { useInstantCloseAuto as s } from "./use-instant-close-auto.js";
|
|
9
9
|
import { useInstantCloseBulk as c } from "./use-instant-close-bulk.js";
|
|
10
10
|
import { useInstantCloseBulkAuto as l } from "./use-instant-close-bulk-auto.js";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
|
|
11
|
+
import { useInstantCloseFees as u } from "./use-instant-close-fees.js";
|
|
12
|
+
import { useInstantCloses as d } from "./use-instant-closes.js";
|
|
13
|
+
import { useInstantOpen as f } from "./use-instant-open.js";
|
|
14
|
+
import { useInstantOpenAuto as p } from "./use-instant-open-auto.js";
|
|
15
|
+
import { useInstantOpenFees as m } from "./use-instant-open-fees.js";
|
|
16
|
+
import { useInstantOpenQuoteId as h } from "./use-instant-open-quote-id.js";
|
|
17
|
+
import { useInstantOpenWithTpSl as g } from "./use-instant-open-with-tpsl.js";
|
|
18
|
+
import { useInstantOpens as _ } from "./use-instant-opens.js";
|
|
19
|
+
import { useInstantTradeRequiredSelectors as v } from "./use-instant-trade-required-selectors.js";
|
|
20
|
+
import { useIsDelegationActive as y } from "./use-is-delegation-active.js";
|
|
21
|
+
import { useLimitCloseAuto as b } from "./use-limit-close-auto.js";
|
|
22
|
+
import { useLimitOpenAuto as x } from "./use-limit-open-auto.js";
|
|
23
|
+
import { usePendingRevocation as S } from "./use-pending-revocation.js";
|
|
24
|
+
import { usePrepareInstantOpenParams as C } from "./use-prepare-instant-open-params.js";
|
|
25
|
+
import { useRevocationCooldown as w } from "./use-revocation-cooldown.js";
|
|
26
|
+
import { useSessionKeySelectors as T } from "./use-session-key-selectors.js";
|
|
27
|
+
import { useSimulateGrantDelegation as E } from "./use-simulate-grant-delegation.js";
|
|
28
|
+
export { e as useActiveDelegations, t as useAreDelegationsActive, n as useDelegationExpiry, r as useFinalizeRevokeDelegation, i as useGrantDelegation, a as useInitiateRevokeDelegation, o as useInstantClose, s as useInstantCloseAuto, c as useInstantCloseBulk, l as useInstantCloseBulkAuto, u as useInstantCloseFees, d as useInstantCloses, f as useInstantOpen, p as useInstantOpenAuto, m as useInstantOpenFees, h as useInstantOpenQuoteId, g as useInstantOpenWithTpSl, _ as useInstantOpens, v as useInstantTradeRequiredSelectors, y as useIsDelegationActive, b as useLimitCloseAuto, x as useLimitOpenAuto, S as usePendingRevocation, C as usePrepareInstantOpenParams, w as useRevocationCooldown, T as useSessionKeySelectors, E as useSimulateGrantDelegation };
|