@nadohq/indexer-client 0.28.0 → 0.29.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/{IndexerServerFailureError-Cp-nQ6BQ.d.ts → IndexerServerFailureError-CV5XXgNJ.d.ts} +6 -12
- package/dist/IndexerServerFailureError-CV5XXgNJ.d.ts.map +1 -0
- package/dist/{IndexerServerFailureError-qVBOC6Ru.d.cts → IndexerServerFailureError-hEhRAwJS.d.cts} +6 -12
- package/dist/IndexerServerFailureError-hEhRAwJS.d.cts.map +1 -0
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/types/IndexerServerFailureError.cjs +6 -8
- package/dist/types/IndexerServerFailureError.cjs.map +1 -1
- package/dist/types/IndexerServerFailureError.d.cts +1 -1
- package/dist/types/IndexerServerFailureError.d.ts +1 -1
- package/dist/types/IndexerServerFailureError.js +5 -8
- package/dist/types/IndexerServerFailureError.js.map +1 -1
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +4 -4
- package/src/types/IndexerServerFailureError.ts +9 -19
- package/dist/IndexerServerFailureError-Cp-nQ6BQ.d.ts.map +0 -1
- package/dist/IndexerServerFailureError-qVBOC6Ru.d.cts.map +0 -1
package/dist/{IndexerServerFailureError-Cp-nQ6BQ.d.ts → IndexerServerFailureError-CV5XXgNJ.d.ts}
RENAMED
|
@@ -1,31 +1,25 @@
|
|
|
1
1
|
import { Ot as IndexerServerRequestType, b as IndexerServerFailureResponse } from "./serverTypes-l4ceojIp.js";
|
|
2
|
+
import { BaseServerFailureError } from "@nadohq/shared";
|
|
2
3
|
|
|
3
4
|
//#region src/types/IndexerServerFailureError.d.ts
|
|
4
5
|
/**
|
|
5
6
|
* Error thrown when the indexer service API returns a failure envelope (see
|
|
6
7
|
* {@link IndexerServerFailureResponse}), either as a non-2xx HTTP response or a 2xx response
|
|
7
|
-
* with `status: 'failure'`. The numeric error code is exposed directly on
|
|
8
|
-
* comparison against {@link INDEXER_ERROR_CODES}.
|
|
8
|
+
* with `status: 'failure'`. The numeric error code is exposed directly on
|
|
9
|
+
* {@link BaseServerFailureError.errorCode} for comparison against {@link INDEXER_ERROR_CODES}.
|
|
9
10
|
*
|
|
10
11
|
* The v2 REST endpoints do not return a failure envelope — they use plain HTTP error responses
|
|
11
12
|
* without an `error_code` field, so this error is only thrown for the v1 query routes.
|
|
12
13
|
*/
|
|
13
|
-
declare class IndexerServerFailureError extends
|
|
14
|
+
declare class IndexerServerFailureError extends BaseServerFailureError {
|
|
14
15
|
readonly responseData: IndexerServerFailureResponse;
|
|
16
|
+
readonly requestType: IndexerServerRequestType;
|
|
15
17
|
/**
|
|
16
18
|
* HTTP status code of the response, e.g. `400` for a malformed request.
|
|
17
19
|
*/
|
|
18
20
|
readonly httpStatus: number;
|
|
19
|
-
/**
|
|
20
|
-
* Numeric indexer service API error code, see {@link INDEXER_ERROR_CODES}.
|
|
21
|
-
*/
|
|
22
|
-
readonly errorCode: number;
|
|
23
|
-
/**
|
|
24
|
-
* The request type that failed, e.g. `query_leaderboard_register`.
|
|
25
|
-
*/
|
|
26
|
-
readonly requestType: IndexerServerRequestType;
|
|
27
21
|
constructor(responseData: IndexerServerFailureResponse, httpStatus: number);
|
|
28
22
|
}
|
|
29
23
|
//#endregion
|
|
30
24
|
export { IndexerServerFailureError as t };
|
|
31
|
-
//# sourceMappingURL=IndexerServerFailureError-
|
|
25
|
+
//# sourceMappingURL=IndexerServerFailureError-CV5XXgNJ.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IndexerServerFailureError-CV5XXgNJ.d.ts","names":[],"sources":["../src/types/src/types/IndexerServerFailureError.ts"],"mappings":";;;;;;AAeA;;;;;;;cAAa,yBAAA,SAAkC,sBAAA;EAAA,SAC5B,YAAA,EAAc,4BAAA;EAAA,SACd,WAAA,EAAa,wBAAA;EADb;;;EAAA,SAMR,UAAA;cAEG,YAAA,EAAc,4BAAA,EAA8B,UAAA;AAAA"}
|
package/dist/{IndexerServerFailureError-qVBOC6Ru.d.cts → IndexerServerFailureError-hEhRAwJS.d.cts}
RENAMED
|
@@ -1,31 +1,25 @@
|
|
|
1
1
|
import { Ot as IndexerServerRequestType, b as IndexerServerFailureResponse } from "./serverTypes-E311idZv.cjs";
|
|
2
|
+
import { BaseServerFailureError } from "@nadohq/shared";
|
|
2
3
|
|
|
3
4
|
//#region src/types/IndexerServerFailureError.d.ts
|
|
4
5
|
/**
|
|
5
6
|
* Error thrown when the indexer service API returns a failure envelope (see
|
|
6
7
|
* {@link IndexerServerFailureResponse}), either as a non-2xx HTTP response or a 2xx response
|
|
7
|
-
* with `status: 'failure'`. The numeric error code is exposed directly on
|
|
8
|
-
* comparison against {@link INDEXER_ERROR_CODES}.
|
|
8
|
+
* with `status: 'failure'`. The numeric error code is exposed directly on
|
|
9
|
+
* {@link BaseServerFailureError.errorCode} for comparison against {@link INDEXER_ERROR_CODES}.
|
|
9
10
|
*
|
|
10
11
|
* The v2 REST endpoints do not return a failure envelope — they use plain HTTP error responses
|
|
11
12
|
* without an `error_code` field, so this error is only thrown for the v1 query routes.
|
|
12
13
|
*/
|
|
13
|
-
declare class IndexerServerFailureError extends
|
|
14
|
+
declare class IndexerServerFailureError extends BaseServerFailureError {
|
|
14
15
|
readonly responseData: IndexerServerFailureResponse;
|
|
16
|
+
readonly requestType: IndexerServerRequestType;
|
|
15
17
|
/**
|
|
16
18
|
* HTTP status code of the response, e.g. `400` for a malformed request.
|
|
17
19
|
*/
|
|
18
20
|
readonly httpStatus: number;
|
|
19
|
-
/**
|
|
20
|
-
* Numeric indexer service API error code, see {@link INDEXER_ERROR_CODES}.
|
|
21
|
-
*/
|
|
22
|
-
readonly errorCode: number;
|
|
23
|
-
/**
|
|
24
|
-
* The request type that failed, e.g. `query_leaderboard_register`.
|
|
25
|
-
*/
|
|
26
|
-
readonly requestType: IndexerServerRequestType;
|
|
27
21
|
constructor(responseData: IndexerServerFailureResponse, httpStatus: number);
|
|
28
22
|
}
|
|
29
23
|
//#endregion
|
|
30
24
|
export { IndexerServerFailureError as t };
|
|
31
|
-
//# sourceMappingURL=IndexerServerFailureError-
|
|
25
|
+
//# sourceMappingURL=IndexerServerFailureError-hEhRAwJS.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IndexerServerFailureError-hEhRAwJS.d.cts","names":[],"sources":["../src/types/src/types/IndexerServerFailureError.ts"],"mappings":";;;;;;AAeA;;;;;;;cAAa,yBAAA,SAAkC,sBAAA;EAAA,SAC5B,YAAA,EAAc,4BAAA;EAAA,SACd,WAAA,EAAa,wBAAA;EADb;;;EAAA,SAMR,UAAA;cAEG,YAAA,EAAc,4BAAA,EAA8B,UAAA;AAAA"}
|
package/dist/index.d.cts
CHANGED
|
@@ -7,7 +7,7 @@ import { $ as IndexerServerMatchEventsResponse, A as IndexerServerFundingRatesRe
|
|
|
7
7
|
import { $ as GetIndexerOrdersResponse, $t as IndexerSocialAccountInfo, A as GetIndexerLeaderboardRegistrationsResponse, At as IndexerEventWithTx, B as GetIndexerMultiProductFundingRatesParams, Bt as IndexerMarketSnapshot, C as GetIndexerInterestFundingPaymentsResponse, Ct as IndexerCashIncentivesEventPlatform, D as GetIndexerLeaderboardParticipantParams, Dt as IndexerEventBalanceStateSnapshot, E as GetIndexerLeaderboardParams, Et as IndexerEvent, F as GetIndexerMakerStatisticsResponse, Ft as IndexerLeaderboardParticipant, G as GetIndexerMultiProductSnapshotsResponse, Gt as IndexerOrder, H as GetIndexerMultiProductPerpPricesParams, Ht as IndexerMatchEventBalances, I as GetIndexerMarketSnapshotsParams, It as IndexerLeaderboardRegistration, J as GetIndexerNlpSnapshotsParams, Jt as IndexerPointsEpoch, K as GetIndexerMultiSubaccountSnapshotsParams, Kt as IndexerPerpBalance, L as GetIndexerMarketSnapshotsResponse, Lt as IndexerLeaderboardTrackPosition, M as GetIndexerLinkedSignerParams, Mt as IndexerFundingRateHistoryEntry, N as GetIndexerLinkedSignerResponse, Nt as IndexerLeaderboardContest, O as GetIndexerLeaderboardParticipantResponse, Ot as IndexerEventPerpStateSnapshot, P as GetIndexerMakerStatisticsParams, Pt as IndexerLeaderboardContestTrack, Q as GetIndexerOrdersParams, Qt as IndexerSnapshotsIntervalParams, R as GetIndexerMatchEventsParams, Rt as IndexerMaker, S as GetIndexerInterestFundingPaymentsParams, St as IndexerCashIncentivesEventMetadata, T as GetIndexerLeaderboardContestsResponse, Tt as IndexerCashIncentivesWalletSummary, U as GetIndexerMultiProductPerpPricesResponse, Ut as IndexerNlpSnapshot, V as GetIndexerMultiProductFundingRatesResponse, Vt as IndexerMatchEvent, W as GetIndexerMultiProductSnapshotsParams, Wt as IndexerOraclePrice, X as GetIndexerOraclePricesParams, Xt as IndexerProductSnapshot, Y as GetIndexerNlpSnapshotsResponse, Yt as IndexerProductPayment, Z as GetIndexerOraclePricesResponse, Zt as IndexerSnapshotBalance, _ as GetIndexerFastWithdrawalSignatureResponse, _n as TickerMarketType, _t as GetIndexerXPointsParams, a as GetIndexerCandlesticksParams, an as IndexerV2TradingStatus, at as GetIndexerPrivateAlphaChoiceResponse, b as GetIndexerFundingRateParams, bt as IndexerBalanceTrackedVars, c as GetIndexerCashIncentivesResponse, cn as IndexerXPointsQuest, ct as GetIndexerQuotePriceResponse, d as GetIndexerEdgeMarketSnapshotResponse, dn as ListIndexerSubaccountsParams, dt as GetIndexerSubaccountDDAParams, en as IndexerSpotBalance, et as GetIndexerPerpPricesParams, f as GetIndexerEdgeMarketSnapshotsParams, fn as ListIndexerSubaccountsResponse, ft as GetIndexerSubaccountDDAResponse, g as GetIndexerFastWithdrawalSignatureParams, gn as RevokeSocialAccountResponse, gt as GetIndexerV2TickersResponse, h as GetIndexerEventsResponse, hn as RevokeSocialAccountParams, ht as GetIndexerV2TickersParams, i as GetIndexerBacklogResponse, in as IndexerV2TickerResponse, it as GetIndexerPrivateAlphaChoiceParams, j as GetIndexerLeaderboardResponse, jt as IndexerFundingRate, k as GetIndexerLeaderboardRegistrationsParams, kt as IndexerEventSpotStateSnapshot, l as GetIndexerEdgeCandlesticksParams, ln as ListIndexerSocialAccountsParams, lt as GetIndexerReferralCodeParams, m as GetIndexerEventsParams, mn as RegisterLeaderboardResponse, mt as GetIndexerV2SymbolsResponse, n as ConnectSocialAccountParams, nn as IndexerV2MarketHours, nt as GetIndexerPointsParams, o as GetIndexerCandlesticksResponse, on as IndexerXPointsAllTime, ot as GetIndexerProductSnapshotsParams, p as GetIndexerEventsLimitType, pn as RegisterLeaderboardParams, pt as GetIndexerV2SymbolsParams, q as GetIndexerMultiSubaccountSnapshotsResponse, qt as IndexerPerpPrices, r as ConnectSocialAccountResponse, rn as IndexerV2Symbol, rt as GetIndexerPointsResponse, s as GetIndexerCashIncentivesParams, sn as IndexerXPointsEpoch, st as GetIndexerProductSnapshotsResponse, t as Candlestick, tn as IndexerSubaccountSnapshot, tt as GetIndexerPerpPricesResponse, u as GetIndexerEdgeCandlesticksResponse, un as ListIndexerSocialAccountsResponse, ut as GetIndexerReferralCodeResponse, v as GetIndexerFundingRateHistoryParams, vt as GetIndexerXPointsResponse, w as GetIndexerLeaderboardContestsParams, wt as IndexerCashIncentivesEventWallet, x as GetIndexerFundingRateResponse, xt as IndexerCashIncentivesEvent, y as GetIndexerFundingRateHistoryResponse, yt as IndexerAllTimePoints, z as GetIndexerMatchEventsResponse, zt as IndexerMakerSnapshot } from "./clientTypes-C6gfQzsU.cjs";
|
|
8
8
|
import { t as CollateralEventType } from "./collateralEventType-CNrryEno.cjs";
|
|
9
9
|
import { n as IndexerErrorCode, t as INDEXER_ERROR_CODES } from "./indexerErrorCodes-BK__sFOc.cjs";
|
|
10
|
-
import { t as IndexerServerFailureError } from "./IndexerServerFailureError-
|
|
10
|
+
import { t as IndexerServerFailureError } from "./IndexerServerFailureError-hEhRAwJS.cjs";
|
|
11
11
|
import { C as IndexerSettlementEvent, S as IndexerPaginationParams, T as WithPaginationMeta, _ as GetIndexerSubaccountSettlementEventsResponse, a as GetIndexerPaginatedOrdersParams, b as IndexerNlpEvent, c as GetIndexerSubaccountCollateralEventsResponse, d as GetIndexerSubaccountLiquidationEventsResponse, f as GetIndexerSubaccountMatchEventParams, g as GetIndexerSubaccountSettlementEventsParams, h as GetIndexerSubaccountNlpEventsResponse, i as GetIndexerPaginatedLeaderboardResponse, l as GetIndexerSubaccountInterestFundingPaymentsParams, m as GetIndexerSubaccountNlpEventsParams, n as GetIndexerPaginatedInterestFundingPaymentsResponse, o as GetIndexerPaginatedOrdersResponse, p as GetIndexerSubaccountMatchEventsResponse, r as GetIndexerPaginatedLeaderboardParams, s as GetIndexerSubaccountCollateralEventsParams, t as BaseIndexerPaginatedEvent, u as GetIndexerSubaccountLiquidationEventsParams, v as IndexerCollateralEvent, w as PaginatedIndexerEventsResponse, x as IndexerPaginationMeta, y as IndexerLiquidationEvent } from "./paginatedEventsTypes-BeMZ3Cac.cjs";
|
|
12
12
|
import { IndexerBaseClient, IndexerClientOpts } from "./IndexerBaseClient.cjs";
|
|
13
13
|
import { IndexerClient } from "./IndexerClient.cjs";
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { $ as IndexerServerMatchEventsResponse, A as IndexerServerFundingRatesRe
|
|
|
7
7
|
import { $ as GetIndexerOrdersResponse, $t as IndexerSocialAccountInfo, A as GetIndexerLeaderboardRegistrationsResponse, At as IndexerEventWithTx, B as GetIndexerMultiProductFundingRatesParams, Bt as IndexerMarketSnapshot, C as GetIndexerInterestFundingPaymentsResponse, Ct as IndexerCashIncentivesEventPlatform, D as GetIndexerLeaderboardParticipantParams, Dt as IndexerEventBalanceStateSnapshot, E as GetIndexerLeaderboardParams, Et as IndexerEvent, F as GetIndexerMakerStatisticsResponse, Ft as IndexerLeaderboardParticipant, G as GetIndexerMultiProductSnapshotsResponse, Gt as IndexerOrder, H as GetIndexerMultiProductPerpPricesParams, Ht as IndexerMatchEventBalances, I as GetIndexerMarketSnapshotsParams, It as IndexerLeaderboardRegistration, J as GetIndexerNlpSnapshotsParams, Jt as IndexerPointsEpoch, K as GetIndexerMultiSubaccountSnapshotsParams, Kt as IndexerPerpBalance, L as GetIndexerMarketSnapshotsResponse, Lt as IndexerLeaderboardTrackPosition, M as GetIndexerLinkedSignerParams, Mt as IndexerFundingRateHistoryEntry, N as GetIndexerLinkedSignerResponse, Nt as IndexerLeaderboardContest, O as GetIndexerLeaderboardParticipantResponse, Ot as IndexerEventPerpStateSnapshot, P as GetIndexerMakerStatisticsParams, Pt as IndexerLeaderboardContestTrack, Q as GetIndexerOrdersParams, Qt as IndexerSnapshotsIntervalParams, R as GetIndexerMatchEventsParams, Rt as IndexerMaker, S as GetIndexerInterestFundingPaymentsParams, St as IndexerCashIncentivesEventMetadata, T as GetIndexerLeaderboardContestsResponse, Tt as IndexerCashIncentivesWalletSummary, U as GetIndexerMultiProductPerpPricesResponse, Ut as IndexerNlpSnapshot, V as GetIndexerMultiProductFundingRatesResponse, Vt as IndexerMatchEvent, W as GetIndexerMultiProductSnapshotsParams, Wt as IndexerOraclePrice, X as GetIndexerOraclePricesParams, Xt as IndexerProductSnapshot, Y as GetIndexerNlpSnapshotsResponse, Yt as IndexerProductPayment, Z as GetIndexerOraclePricesResponse, Zt as IndexerSnapshotBalance, _ as GetIndexerFastWithdrawalSignatureResponse, _n as TickerMarketType, _t as GetIndexerXPointsParams, a as GetIndexerCandlesticksParams, an as IndexerV2TradingStatus, at as GetIndexerPrivateAlphaChoiceResponse, b as GetIndexerFundingRateParams, bt as IndexerBalanceTrackedVars, c as GetIndexerCashIncentivesResponse, cn as IndexerXPointsQuest, ct as GetIndexerQuotePriceResponse, d as GetIndexerEdgeMarketSnapshotResponse, dn as ListIndexerSubaccountsParams, dt as GetIndexerSubaccountDDAParams, en as IndexerSpotBalance, et as GetIndexerPerpPricesParams, f as GetIndexerEdgeMarketSnapshotsParams, fn as ListIndexerSubaccountsResponse, ft as GetIndexerSubaccountDDAResponse, g as GetIndexerFastWithdrawalSignatureParams, gn as RevokeSocialAccountResponse, gt as GetIndexerV2TickersResponse, h as GetIndexerEventsResponse, hn as RevokeSocialAccountParams, ht as GetIndexerV2TickersParams, i as GetIndexerBacklogResponse, in as IndexerV2TickerResponse, it as GetIndexerPrivateAlphaChoiceParams, j as GetIndexerLeaderboardResponse, jt as IndexerFundingRate, k as GetIndexerLeaderboardRegistrationsParams, kt as IndexerEventSpotStateSnapshot, l as GetIndexerEdgeCandlesticksParams, ln as ListIndexerSocialAccountsParams, lt as GetIndexerReferralCodeParams, m as GetIndexerEventsParams, mn as RegisterLeaderboardResponse, mt as GetIndexerV2SymbolsResponse, n as ConnectSocialAccountParams, nn as IndexerV2MarketHours, nt as GetIndexerPointsParams, o as GetIndexerCandlesticksResponse, on as IndexerXPointsAllTime, ot as GetIndexerProductSnapshotsParams, p as GetIndexerEventsLimitType, pn as RegisterLeaderboardParams, pt as GetIndexerV2SymbolsParams, q as GetIndexerMultiSubaccountSnapshotsResponse, qt as IndexerPerpPrices, r as ConnectSocialAccountResponse, rn as IndexerV2Symbol, rt as GetIndexerPointsResponse, s as GetIndexerCashIncentivesParams, sn as IndexerXPointsEpoch, st as GetIndexerProductSnapshotsResponse, t as Candlestick, tn as IndexerSubaccountSnapshot, tt as GetIndexerPerpPricesResponse, u as GetIndexerEdgeCandlesticksResponse, un as ListIndexerSocialAccountsResponse, ut as GetIndexerReferralCodeResponse, v as GetIndexerFundingRateHistoryParams, vt as GetIndexerXPointsResponse, w as GetIndexerLeaderboardContestsParams, wt as IndexerCashIncentivesEventWallet, x as GetIndexerFundingRateResponse, xt as IndexerCashIncentivesEvent, y as GetIndexerFundingRateHistoryResponse, yt as IndexerAllTimePoints, z as GetIndexerMatchEventsResponse, zt as IndexerMakerSnapshot } from "./clientTypes-Cke-KLUR.js";
|
|
8
8
|
import { t as CollateralEventType } from "./collateralEventType-s-WbBniE.js";
|
|
9
9
|
import { n as IndexerErrorCode, t as INDEXER_ERROR_CODES } from "./indexerErrorCodes-DNHtJXxm.js";
|
|
10
|
-
import { t as IndexerServerFailureError } from "./IndexerServerFailureError-
|
|
10
|
+
import { t as IndexerServerFailureError } from "./IndexerServerFailureError-CV5XXgNJ.js";
|
|
11
11
|
import { C as IndexerSettlementEvent, S as IndexerPaginationParams, T as WithPaginationMeta, _ as GetIndexerSubaccountSettlementEventsResponse, a as GetIndexerPaginatedOrdersParams, b as IndexerNlpEvent, c as GetIndexerSubaccountCollateralEventsResponse, d as GetIndexerSubaccountLiquidationEventsResponse, f as GetIndexerSubaccountMatchEventParams, g as GetIndexerSubaccountSettlementEventsParams, h as GetIndexerSubaccountNlpEventsResponse, i as GetIndexerPaginatedLeaderboardResponse, l as GetIndexerSubaccountInterestFundingPaymentsParams, m as GetIndexerSubaccountNlpEventsParams, n as GetIndexerPaginatedInterestFundingPaymentsResponse, o as GetIndexerPaginatedOrdersResponse, p as GetIndexerSubaccountMatchEventsResponse, r as GetIndexerPaginatedLeaderboardParams, s as GetIndexerSubaccountCollateralEventsParams, t as BaseIndexerPaginatedEvent, u as GetIndexerSubaccountLiquidationEventsParams, v as IndexerCollateralEvent, w as PaginatedIndexerEventsResponse, x as IndexerPaginationMeta, y as IndexerLiquidationEvent } from "./paginatedEventsTypes-BOUjVtm0.js";
|
|
12
12
|
import { IndexerBaseClient, IndexerClientOpts } from "./IndexerBaseClient.js";
|
|
13
13
|
import { IndexerClient } from "./IndexerClient.js";
|
|
@@ -1,22 +1,20 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
require("../IndexerBaseClient-BesuTUAd.cjs");
|
|
3
|
+
let _nadohq_shared = require("@nadohq/shared");
|
|
2
4
|
//#region src/types/IndexerServerFailureError.ts
|
|
3
5
|
/**
|
|
4
6
|
* Error thrown when the indexer service API returns a failure envelope (see
|
|
5
7
|
* {@link IndexerServerFailureResponse}), either as a non-2xx HTTP response or a 2xx response
|
|
6
|
-
* with `status: 'failure'`. The numeric error code is exposed directly on
|
|
7
|
-
* comparison against {@link INDEXER_ERROR_CODES}.
|
|
8
|
+
* with `status: 'failure'`. The numeric error code is exposed directly on
|
|
9
|
+
* {@link BaseServerFailureError.errorCode} for comparison against {@link INDEXER_ERROR_CODES}.
|
|
8
10
|
*
|
|
9
11
|
* The v2 REST endpoints do not return a failure envelope — they use plain HTTP error responses
|
|
10
12
|
* without an `error_code` field, so this error is only thrown for the v1 query routes.
|
|
11
13
|
*/
|
|
12
|
-
var IndexerServerFailureError = class extends
|
|
14
|
+
var IndexerServerFailureError = class extends _nadohq_shared.BaseServerFailureError {
|
|
13
15
|
constructor(responseData, httpStatus) {
|
|
14
|
-
super(
|
|
15
|
-
this.responseData = responseData;
|
|
16
|
-
this.name = "IndexerServerFailureError";
|
|
16
|
+
super(responseData, "IndexerServerFailureError");
|
|
17
17
|
this.httpStatus = httpStatus;
|
|
18
|
-
this.errorCode = responseData.error_code;
|
|
19
|
-
this.requestType = responseData.request_type;
|
|
20
18
|
}
|
|
21
19
|
};
|
|
22
20
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IndexerServerFailureError.cjs","names":[],"sources":["../../src/types/IndexerServerFailureError.ts"],"sourcesContent":["import {\n IndexerServerFailureResponse,\n IndexerServerRequestType,\n} from './serverTypes';\n\n/**\n * Error thrown when the indexer service API returns a failure envelope (see\n * {@link IndexerServerFailureResponse}), either as a non-2xx HTTP response or a 2xx response\n * with `status: 'failure'`. The numeric error code is exposed directly on {@link errorCode} for
|
|
1
|
+
{"version":3,"file":"IndexerServerFailureError.cjs","names":["BaseServerFailureError"],"sources":["../../src/types/IndexerServerFailureError.ts"],"sourcesContent":["import { BaseServerFailureError } from '@nadohq/shared';\nimport {\n IndexerServerFailureResponse,\n IndexerServerRequestType,\n} from './serverTypes';\n\n/**\n * Error thrown when the indexer service API returns a failure envelope (see\n * {@link IndexerServerFailureResponse}), either as a non-2xx HTTP response or a 2xx response\n * with `status: 'failure'`. The numeric error code is exposed directly on\n * {@link BaseServerFailureError.errorCode} for comparison against {@link INDEXER_ERROR_CODES}.\n *\n * The v2 REST endpoints do not return a failure envelope — they use plain HTTP error responses\n * without an `error_code` field, so this error is only thrown for the v1 query routes.\n */\nexport class IndexerServerFailureError extends BaseServerFailureError {\n declare readonly responseData: IndexerServerFailureResponse;\n declare readonly requestType: IndexerServerRequestType;\n\n /**\n * HTTP status code of the response, e.g. `400` for a malformed request.\n */\n readonly httpStatus: number;\n\n constructor(responseData: IndexerServerFailureResponse, httpStatus: number) {\n super(responseData, 'IndexerServerFailureError');\n this.httpStatus = httpStatus;\n }\n}\n"],"mappings":";;;;;;;;;;;;;AAeA,IAAa,4BAAb,cAA+CA,eAAAA,uBAAuB;CASpE,YAAY,cAA4C,YAAoB;EAC1E,MAAM,cAAc,2BAA2B;EAC/C,KAAK,aAAa;CACpB;AACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as IndexerServerFailureError } from "../IndexerServerFailureError-
|
|
1
|
+
import { t as IndexerServerFailureError } from "../IndexerServerFailureError-hEhRAwJS.cjs";
|
|
2
2
|
export { IndexerServerFailureError };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as IndexerServerFailureError } from "../IndexerServerFailureError-
|
|
1
|
+
import { t as IndexerServerFailureError } from "../IndexerServerFailureError-CV5XXgNJ.js";
|
|
2
2
|
export { IndexerServerFailureError };
|
|
@@ -1,21 +1,18 @@
|
|
|
1
|
+
import { BaseServerFailureError } from "@nadohq/shared";
|
|
1
2
|
//#region src/types/IndexerServerFailureError.ts
|
|
2
3
|
/**
|
|
3
4
|
* Error thrown when the indexer service API returns a failure envelope (see
|
|
4
5
|
* {@link IndexerServerFailureResponse}), either as a non-2xx HTTP response or a 2xx response
|
|
5
|
-
* with `status: 'failure'`. The numeric error code is exposed directly on
|
|
6
|
-
* comparison against {@link INDEXER_ERROR_CODES}.
|
|
6
|
+
* with `status: 'failure'`. The numeric error code is exposed directly on
|
|
7
|
+
* {@link BaseServerFailureError.errorCode} for comparison against {@link INDEXER_ERROR_CODES}.
|
|
7
8
|
*
|
|
8
9
|
* The v2 REST endpoints do not return a failure envelope — they use plain HTTP error responses
|
|
9
10
|
* without an `error_code` field, so this error is only thrown for the v1 query routes.
|
|
10
11
|
*/
|
|
11
|
-
var IndexerServerFailureError = class extends
|
|
12
|
+
var IndexerServerFailureError = class extends BaseServerFailureError {
|
|
12
13
|
constructor(responseData, httpStatus) {
|
|
13
|
-
super(
|
|
14
|
-
this.responseData = responseData;
|
|
15
|
-
this.name = "IndexerServerFailureError";
|
|
14
|
+
super(responseData, "IndexerServerFailureError");
|
|
16
15
|
this.httpStatus = httpStatus;
|
|
17
|
-
this.errorCode = responseData.error_code;
|
|
18
|
-
this.requestType = responseData.request_type;
|
|
19
16
|
}
|
|
20
17
|
};
|
|
21
18
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IndexerServerFailureError.js","names":[],"sources":["../../src/types/IndexerServerFailureError.ts"],"sourcesContent":["import {\n IndexerServerFailureResponse,\n IndexerServerRequestType,\n} from './serverTypes';\n\n/**\n * Error thrown when the indexer service API returns a failure envelope (see\n * {@link IndexerServerFailureResponse}), either as a non-2xx HTTP response or a 2xx response\n * with `status: 'failure'`. The numeric error code is exposed directly on {@link errorCode} for
|
|
1
|
+
{"version":3,"file":"IndexerServerFailureError.js","names":[],"sources":["../../src/types/IndexerServerFailureError.ts"],"sourcesContent":["import { BaseServerFailureError } from '@nadohq/shared';\nimport {\n IndexerServerFailureResponse,\n IndexerServerRequestType,\n} from './serverTypes';\n\n/**\n * Error thrown when the indexer service API returns a failure envelope (see\n * {@link IndexerServerFailureResponse}), either as a non-2xx HTTP response or a 2xx response\n * with `status: 'failure'`. The numeric error code is exposed directly on\n * {@link BaseServerFailureError.errorCode} for comparison against {@link INDEXER_ERROR_CODES}.\n *\n * The v2 REST endpoints do not return a failure envelope — they use plain HTTP error responses\n * without an `error_code` field, so this error is only thrown for the v1 query routes.\n */\nexport class IndexerServerFailureError extends BaseServerFailureError {\n declare readonly responseData: IndexerServerFailureResponse;\n declare readonly requestType: IndexerServerRequestType;\n\n /**\n * HTTP status code of the response, e.g. `400` for a malformed request.\n */\n readonly httpStatus: number;\n\n constructor(responseData: IndexerServerFailureResponse, httpStatus: number) {\n super(responseData, 'IndexerServerFailureError');\n this.httpStatus = httpStatus;\n }\n}\n"],"mappings":";;;;;;;;;;;AAeA,IAAa,4BAAb,cAA+C,uBAAuB;CASpE,YAAY,cAA4C,YAAoB;EAC1E,MAAM,cAAc,2BAA2B;EAC/C,KAAK,aAAa;CACpB;AACF"}
|
package/dist/types/index.d.cts
CHANGED
|
@@ -7,6 +7,6 @@ import { $ as IndexerServerMatchEventsResponse, A as IndexerServerFundingRatesRe
|
|
|
7
7
|
import { $ as GetIndexerOrdersResponse, $t as IndexerSocialAccountInfo, A as GetIndexerLeaderboardRegistrationsResponse, At as IndexerEventWithTx, B as GetIndexerMultiProductFundingRatesParams, Bt as IndexerMarketSnapshot, C as GetIndexerInterestFundingPaymentsResponse, Ct as IndexerCashIncentivesEventPlatform, D as GetIndexerLeaderboardParticipantParams, Dt as IndexerEventBalanceStateSnapshot, E as GetIndexerLeaderboardParams, Et as IndexerEvent, F as GetIndexerMakerStatisticsResponse, Ft as IndexerLeaderboardParticipant, G as GetIndexerMultiProductSnapshotsResponse, Gt as IndexerOrder, H as GetIndexerMultiProductPerpPricesParams, Ht as IndexerMatchEventBalances, I as GetIndexerMarketSnapshotsParams, It as IndexerLeaderboardRegistration, J as GetIndexerNlpSnapshotsParams, Jt as IndexerPointsEpoch, K as GetIndexerMultiSubaccountSnapshotsParams, Kt as IndexerPerpBalance, L as GetIndexerMarketSnapshotsResponse, Lt as IndexerLeaderboardTrackPosition, M as GetIndexerLinkedSignerParams, Mt as IndexerFundingRateHistoryEntry, N as GetIndexerLinkedSignerResponse, Nt as IndexerLeaderboardContest, O as GetIndexerLeaderboardParticipantResponse, Ot as IndexerEventPerpStateSnapshot, P as GetIndexerMakerStatisticsParams, Pt as IndexerLeaderboardContestTrack, Q as GetIndexerOrdersParams, Qt as IndexerSnapshotsIntervalParams, R as GetIndexerMatchEventsParams, Rt as IndexerMaker, S as GetIndexerInterestFundingPaymentsParams, St as IndexerCashIncentivesEventMetadata, T as GetIndexerLeaderboardContestsResponse, Tt as IndexerCashIncentivesWalletSummary, U as GetIndexerMultiProductPerpPricesResponse, Ut as IndexerNlpSnapshot, V as GetIndexerMultiProductFundingRatesResponse, Vt as IndexerMatchEvent, W as GetIndexerMultiProductSnapshotsParams, Wt as IndexerOraclePrice, X as GetIndexerOraclePricesParams, Xt as IndexerProductSnapshot, Y as GetIndexerNlpSnapshotsResponse, Yt as IndexerProductPayment, Z as GetIndexerOraclePricesResponse, Zt as IndexerSnapshotBalance, _ as GetIndexerFastWithdrawalSignatureResponse, _n as TickerMarketType, _t as GetIndexerXPointsParams, a as GetIndexerCandlesticksParams, an as IndexerV2TradingStatus, at as GetIndexerPrivateAlphaChoiceResponse, b as GetIndexerFundingRateParams, bt as IndexerBalanceTrackedVars, c as GetIndexerCashIncentivesResponse, cn as IndexerXPointsQuest, ct as GetIndexerQuotePriceResponse, d as GetIndexerEdgeMarketSnapshotResponse, dn as ListIndexerSubaccountsParams, dt as GetIndexerSubaccountDDAParams, en as IndexerSpotBalance, et as GetIndexerPerpPricesParams, f as GetIndexerEdgeMarketSnapshotsParams, fn as ListIndexerSubaccountsResponse, ft as GetIndexerSubaccountDDAResponse, g as GetIndexerFastWithdrawalSignatureParams, gn as RevokeSocialAccountResponse, gt as GetIndexerV2TickersResponse, h as GetIndexerEventsResponse, hn as RevokeSocialAccountParams, ht as GetIndexerV2TickersParams, i as GetIndexerBacklogResponse, in as IndexerV2TickerResponse, it as GetIndexerPrivateAlphaChoiceParams, j as GetIndexerLeaderboardResponse, jt as IndexerFundingRate, k as GetIndexerLeaderboardRegistrationsParams, kt as IndexerEventSpotStateSnapshot, l as GetIndexerEdgeCandlesticksParams, ln as ListIndexerSocialAccountsParams, lt as GetIndexerReferralCodeParams, m as GetIndexerEventsParams, mn as RegisterLeaderboardResponse, mt as GetIndexerV2SymbolsResponse, n as ConnectSocialAccountParams, nn as IndexerV2MarketHours, nt as GetIndexerPointsParams, o as GetIndexerCandlesticksResponse, on as IndexerXPointsAllTime, ot as GetIndexerProductSnapshotsParams, p as GetIndexerEventsLimitType, pn as RegisterLeaderboardParams, pt as GetIndexerV2SymbolsParams, q as GetIndexerMultiSubaccountSnapshotsResponse, qt as IndexerPerpPrices, r as ConnectSocialAccountResponse, rn as IndexerV2Symbol, rt as GetIndexerPointsResponse, s as GetIndexerCashIncentivesParams, sn as IndexerXPointsEpoch, st as GetIndexerProductSnapshotsResponse, t as Candlestick, tn as IndexerSubaccountSnapshot, tt as GetIndexerPerpPricesResponse, u as GetIndexerEdgeCandlesticksResponse, un as ListIndexerSocialAccountsResponse, ut as GetIndexerReferralCodeResponse, v as GetIndexerFundingRateHistoryParams, vt as GetIndexerXPointsResponse, w as GetIndexerLeaderboardContestsParams, wt as IndexerCashIncentivesEventWallet, x as GetIndexerFundingRateResponse, xt as IndexerCashIncentivesEvent, y as GetIndexerFundingRateHistoryResponse, yt as IndexerAllTimePoints, z as GetIndexerMatchEventsResponse, zt as IndexerMakerSnapshot } from "../clientTypes-C6gfQzsU.cjs";
|
|
8
8
|
import { t as CollateralEventType } from "../collateralEventType-CNrryEno.cjs";
|
|
9
9
|
import { n as IndexerErrorCode, t as INDEXER_ERROR_CODES } from "../indexerErrorCodes-BK__sFOc.cjs";
|
|
10
|
-
import { t as IndexerServerFailureError } from "../IndexerServerFailureError-
|
|
10
|
+
import { t as IndexerServerFailureError } from "../IndexerServerFailureError-hEhRAwJS.cjs";
|
|
11
11
|
import { C as IndexerSettlementEvent, S as IndexerPaginationParams, T as WithPaginationMeta, _ as GetIndexerSubaccountSettlementEventsResponse, a as GetIndexerPaginatedOrdersParams, b as IndexerNlpEvent, c as GetIndexerSubaccountCollateralEventsResponse, d as GetIndexerSubaccountLiquidationEventsResponse, f as GetIndexerSubaccountMatchEventParams, g as GetIndexerSubaccountSettlementEventsParams, h as GetIndexerSubaccountNlpEventsResponse, i as GetIndexerPaginatedLeaderboardResponse, l as GetIndexerSubaccountInterestFundingPaymentsParams, m as GetIndexerSubaccountNlpEventsParams, n as GetIndexerPaginatedInterestFundingPaymentsResponse, o as GetIndexerPaginatedOrdersResponse, p as GetIndexerSubaccountMatchEventsResponse, r as GetIndexerPaginatedLeaderboardParams, s as GetIndexerSubaccountCollateralEventsParams, t as BaseIndexerPaginatedEvent, u as GetIndexerSubaccountLiquidationEventsParams, v as IndexerCollateralEvent, w as PaginatedIndexerEventsResponse, x as IndexerPaginationMeta, y as IndexerLiquidationEvent } from "../paginatedEventsTypes-BeMZ3Cac.cjs";
|
|
12
12
|
export { BaseIndexerPaginatedEvent, Candlestick, CandlestickPeriod, CollateralEventType, ConnectSocialAccountParams, ConnectSocialAccountResponse, GetIndexerBacklogResponse, GetIndexerCandlesticksParams, GetIndexerCandlesticksResponse, GetIndexerCashIncentivesParams, GetIndexerCashIncentivesResponse, GetIndexerEdgeCandlesticksParams, GetIndexerEdgeCandlesticksResponse, GetIndexerEdgeMarketSnapshotResponse, GetIndexerEdgeMarketSnapshotsParams, GetIndexerEventsLimitType, GetIndexerEventsParams, GetIndexerEventsResponse, GetIndexerFastWithdrawalSignatureParams, GetIndexerFastWithdrawalSignatureResponse, GetIndexerFundingRateHistoryParams, GetIndexerFundingRateHistoryResponse, GetIndexerFundingRateParams, GetIndexerFundingRateResponse, GetIndexerInterestFundingPaymentsParams, GetIndexerInterestFundingPaymentsResponse, GetIndexerLeaderboardContestsParams, GetIndexerLeaderboardContestsResponse, GetIndexerLeaderboardParams, GetIndexerLeaderboardParticipantParams, GetIndexerLeaderboardParticipantResponse, GetIndexerLeaderboardRegistrationsParams, GetIndexerLeaderboardRegistrationsResponse, GetIndexerLeaderboardResponse, GetIndexerLinkedSignerParams, GetIndexerLinkedSignerResponse, GetIndexerMakerStatisticsParams, GetIndexerMakerStatisticsResponse, GetIndexerMarketSnapshotsParams, GetIndexerMarketSnapshotsResponse, GetIndexerMatchEventsParams, GetIndexerMatchEventsResponse, GetIndexerMultiProductFundingRatesParams, GetIndexerMultiProductFundingRatesResponse, GetIndexerMultiProductPerpPricesParams, GetIndexerMultiProductPerpPricesResponse, GetIndexerMultiProductSnapshotsParams, GetIndexerMultiProductSnapshotsResponse, GetIndexerMultiSubaccountSnapshotsParams, GetIndexerMultiSubaccountSnapshotsResponse, GetIndexerNlpSnapshotsParams, GetIndexerNlpSnapshotsResponse, GetIndexerOraclePricesParams, GetIndexerOraclePricesResponse, GetIndexerOrdersParams, GetIndexerOrdersResponse, GetIndexerPaginatedInterestFundingPaymentsResponse, GetIndexerPaginatedLeaderboardParams, GetIndexerPaginatedLeaderboardResponse, GetIndexerPaginatedOrdersParams, GetIndexerPaginatedOrdersResponse, GetIndexerPerpPricesParams, GetIndexerPerpPricesResponse, GetIndexerPointsParams, GetIndexerPointsResponse, GetIndexerPrivateAlphaChoiceParams, GetIndexerPrivateAlphaChoiceResponse, GetIndexerProductSnapshotsParams, GetIndexerProductSnapshotsResponse, GetIndexerQuotePriceResponse, GetIndexerReferralCodeParams, GetIndexerReferralCodeResponse, GetIndexerSubaccountCollateralEventsParams, GetIndexerSubaccountCollateralEventsResponse, GetIndexerSubaccountDDAParams, GetIndexerSubaccountDDAResponse, GetIndexerSubaccountInterestFundingPaymentsParams, GetIndexerSubaccountLiquidationEventsParams, GetIndexerSubaccountLiquidationEventsResponse, GetIndexerSubaccountMatchEventParams, GetIndexerSubaccountMatchEventsResponse, GetIndexerSubaccountNlpEventsParams, GetIndexerSubaccountNlpEventsResponse, GetIndexerSubaccountSettlementEventsParams, GetIndexerSubaccountSettlementEventsResponse, GetIndexerV2SymbolsParams, GetIndexerV2SymbolsResponse, GetIndexerV2TickersParams, GetIndexerV2TickersResponse, GetIndexerXPointsParams, GetIndexerXPointsResponse, INDEXER_ERROR_CODES, IndexerAllTimePoints, IndexerBalanceTrackedVars, IndexerCashIncentivesEvent, IndexerCashIncentivesEventMetadata, IndexerCashIncentivesEventPlatform, IndexerCashIncentivesEventWallet, IndexerCashIncentivesWalletSummary, IndexerCollateralEvent, IndexerEdgeServerCandlesticksParams, IndexerEdgeServerCandlesticksResponse, IndexerEdgeServerMarketSnapshotsParams, IndexerEdgeServerMarketSnapshotsResponse, IndexerErrorCode, IndexerEvent, IndexerEventBalanceStateSnapshot, IndexerEventPerpStateSnapshot, IndexerEventSpotStateSnapshot, IndexerEventType, IndexerEventWithTx, IndexerFundingRate, IndexerFundingRateHistoryEntry, IndexerLeaderboardContest, IndexerLeaderboardContestTrack, IndexerLeaderboardParticipant, IndexerLeaderboardRankType, IndexerLeaderboardRegistration, IndexerLeaderboardTrackPosition, IndexerLiquidationEvent, IndexerMaker, IndexerMakerSnapshot, IndexerMarketSnapshot, IndexerMatchEvent, IndexerMatchEventBalances, IndexerNlpEvent, IndexerNlpSnapshot, IndexerOraclePrice, IndexerOrder, IndexerPaginationMeta, IndexerPaginationParams, IndexerPerpBalance, IndexerPerpPrices, IndexerPointsEpoch, IndexerProductPayment, IndexerProductSnapshot, IndexerServerAllTimePoints, IndexerServerBacklogResponse, IndexerServerBalance, IndexerServerCandlestick, IndexerServerCandlesticksParams, IndexerServerCandlesticksResponse, IndexerServerCashIncentivesEvent, IndexerServerCashIncentivesEventMetadata, IndexerServerCashIncentivesEventPlatform, IndexerServerCashIncentivesEventWallet, IndexerServerCashIncentivesParams, IndexerServerCashIncentivesResponse, IndexerServerCashIncentivesWalletSummary, IndexerServerDDAQueryParams, IndexerServerDDAResponse, IndexerServerEvent, IndexerServerEventsParams, IndexerServerEventsResponse, IndexerServerFailureError, IndexerServerFailureResponse, IndexerServerFastWithdrawalSignatureParams, IndexerServerFastWithdrawalSignatureResponse, IndexerServerFundingRate, IndexerServerFundingRateHistoryEntry, IndexerServerFundingRateHistoryParams, IndexerServerFundingRateHistoryResponse, IndexerServerFundingRateParams, IndexerServerFundingRateResponse, IndexerServerFundingRatesParams, IndexerServerFundingRatesResponse, IndexerServerInterestFundingParams, IndexerServerInterestFundingResponse, IndexerServerLeaderboardContest, IndexerServerLeaderboardContestTrack, IndexerServerLeaderboardContestsParams, IndexerServerLeaderboardContestsResponse, IndexerServerLeaderboardParams, IndexerServerLeaderboardPosition, IndexerServerLeaderboardRankParams, IndexerServerLeaderboardRankResponse, IndexerServerLeaderboardRegisterParams, IndexerServerLeaderboardRegisterResponse, IndexerServerLeaderboardRegistration, IndexerServerLeaderboardRegistrationsParams, IndexerServerLeaderboardRegistrationsResponse, IndexerServerLeaderboardResponse, IndexerServerLeaderboardTrackPosition, IndexerServerLinkedSignerParams, IndexerServerLinkedSignerResponse, IndexerServerListSocialAccountsParams, IndexerServerListSubaccountsParams, IndexerServerListSubaccountsResponse, IndexerServerMaker, IndexerServerMakerData, IndexerServerMakerStatisticsParams, IndexerServerMakerStatisticsResponse, IndexerServerMarketSnapshot, IndexerServerMarketSnapshotInterval, IndexerServerMarketSnapshotsParams, IndexerServerMarketSnapshotsResponse, IndexerServerMatchEvent, IndexerServerMatchEventBalances, IndexerServerMatchEventsParams, IndexerServerMatchEventsResponse, IndexerServerMultiProductsParams, IndexerServerMultiProductsResponse, IndexerServerMultiSubaccountSnapshotsParams, IndexerServerMultiSubaccountSnapshotsResponse, IndexerServerNlpSnapshot, IndexerServerNlpSnapshotsParams, IndexerServerNlpSnapshotsResponse, IndexerServerOraclePrice, IndexerServerOraclePricesParams, IndexerServerOraclePricesResponse, IndexerServerOrder, IndexerServerOrdersParams, IndexerServerOrdersResponse, IndexerServerPerpPrices, IndexerServerPerpPricesParams, IndexerServerPerpPricesResponse, IndexerServerPointsEpoch, IndexerServerPointsParams, IndexerServerPointsResponse, IndexerServerPriceParams, IndexerServerPriceResponse, IndexerServerPrivateAlphaChoiceParams, IndexerServerPrivateAlphaChoiceResponse, IndexerServerProduct, IndexerServerProductPayment, IndexerServerProductSnapshot, IndexerServerProductsParams, IndexerServerProductsResponse, IndexerServerQueryRequestByType, IndexerServerQueryRequestType, IndexerServerQueryResponseByType, IndexerServerQuotePriceResponse, IndexerServerReferralCodeParams, IndexerServerReferralCodeResponse, IndexerServerRequestType, IndexerServerRevokeSocialAccountParams, IndexerServerSnapshotsInterval, IndexerServerSocialAccount, IndexerServerSocialAccountsResponse, IndexerServerSocialConnectParams, IndexerServerSocialConnectResponse, IndexerServerTriggerTypeFilter, IndexerServerTx, IndexerServerV2MarketHours, IndexerServerV2Symbol, IndexerServerV2SymbolsResponse, IndexerServerV2TickerResponse, IndexerServerV2TickersResponse, IndexerServerXPointsAllTime, IndexerServerXPointsEpoch, IndexerServerXPointsParams, IndexerServerXPointsQuest, IndexerServerXPointsResponse, IndexerSettlementEvent, IndexerSnapshotBalance, IndexerSnapshotsIntervalParams, IndexerSocialAccountInfo, IndexerSpotBalance, IndexerSubaccountSnapshot, IndexerV2MarketHours, IndexerV2Symbol, IndexerV2TickerResponse, IndexerV2TradingStatus, IndexerXPointsAllTime, IndexerXPointsEpoch, IndexerXPointsQuest, ListIndexerSocialAccountsParams, ListIndexerSocialAccountsResponse, ListIndexerSubaccountsParams, ListIndexerSubaccountsResponse, NadoDepositCollateralTx, NadoLiquidateSubaccountTx, NadoMatchOrdersRfqTx, NadoMatchOrdersTx, NadoTransferQuoteTx, NadoTx, NadoWithdrawCollateralTx, NadoWithdrawCollateralV2Tx, PaginatedIndexerEventsResponse, RegisterLeaderboardParams, RegisterLeaderboardResponse, RevokeSocialAccountParams, RevokeSocialAccountResponse, TickerMarketType, WithPaginationMeta, isIndexerServerFailureResponse };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -7,6 +7,6 @@ import { $ as IndexerServerMatchEventsResponse, A as IndexerServerFundingRatesRe
|
|
|
7
7
|
import { $ as GetIndexerOrdersResponse, $t as IndexerSocialAccountInfo, A as GetIndexerLeaderboardRegistrationsResponse, At as IndexerEventWithTx, B as GetIndexerMultiProductFundingRatesParams, Bt as IndexerMarketSnapshot, C as GetIndexerInterestFundingPaymentsResponse, Ct as IndexerCashIncentivesEventPlatform, D as GetIndexerLeaderboardParticipantParams, Dt as IndexerEventBalanceStateSnapshot, E as GetIndexerLeaderboardParams, Et as IndexerEvent, F as GetIndexerMakerStatisticsResponse, Ft as IndexerLeaderboardParticipant, G as GetIndexerMultiProductSnapshotsResponse, Gt as IndexerOrder, H as GetIndexerMultiProductPerpPricesParams, Ht as IndexerMatchEventBalances, I as GetIndexerMarketSnapshotsParams, It as IndexerLeaderboardRegistration, J as GetIndexerNlpSnapshotsParams, Jt as IndexerPointsEpoch, K as GetIndexerMultiSubaccountSnapshotsParams, Kt as IndexerPerpBalance, L as GetIndexerMarketSnapshotsResponse, Lt as IndexerLeaderboardTrackPosition, M as GetIndexerLinkedSignerParams, Mt as IndexerFundingRateHistoryEntry, N as GetIndexerLinkedSignerResponse, Nt as IndexerLeaderboardContest, O as GetIndexerLeaderboardParticipantResponse, Ot as IndexerEventPerpStateSnapshot, P as GetIndexerMakerStatisticsParams, Pt as IndexerLeaderboardContestTrack, Q as GetIndexerOrdersParams, Qt as IndexerSnapshotsIntervalParams, R as GetIndexerMatchEventsParams, Rt as IndexerMaker, S as GetIndexerInterestFundingPaymentsParams, St as IndexerCashIncentivesEventMetadata, T as GetIndexerLeaderboardContestsResponse, Tt as IndexerCashIncentivesWalletSummary, U as GetIndexerMultiProductPerpPricesResponse, Ut as IndexerNlpSnapshot, V as GetIndexerMultiProductFundingRatesResponse, Vt as IndexerMatchEvent, W as GetIndexerMultiProductSnapshotsParams, Wt as IndexerOraclePrice, X as GetIndexerOraclePricesParams, Xt as IndexerProductSnapshot, Y as GetIndexerNlpSnapshotsResponse, Yt as IndexerProductPayment, Z as GetIndexerOraclePricesResponse, Zt as IndexerSnapshotBalance, _ as GetIndexerFastWithdrawalSignatureResponse, _n as TickerMarketType, _t as GetIndexerXPointsParams, a as GetIndexerCandlesticksParams, an as IndexerV2TradingStatus, at as GetIndexerPrivateAlphaChoiceResponse, b as GetIndexerFundingRateParams, bt as IndexerBalanceTrackedVars, c as GetIndexerCashIncentivesResponse, cn as IndexerXPointsQuest, ct as GetIndexerQuotePriceResponse, d as GetIndexerEdgeMarketSnapshotResponse, dn as ListIndexerSubaccountsParams, dt as GetIndexerSubaccountDDAParams, en as IndexerSpotBalance, et as GetIndexerPerpPricesParams, f as GetIndexerEdgeMarketSnapshotsParams, fn as ListIndexerSubaccountsResponse, ft as GetIndexerSubaccountDDAResponse, g as GetIndexerFastWithdrawalSignatureParams, gn as RevokeSocialAccountResponse, gt as GetIndexerV2TickersResponse, h as GetIndexerEventsResponse, hn as RevokeSocialAccountParams, ht as GetIndexerV2TickersParams, i as GetIndexerBacklogResponse, in as IndexerV2TickerResponse, it as GetIndexerPrivateAlphaChoiceParams, j as GetIndexerLeaderboardResponse, jt as IndexerFundingRate, k as GetIndexerLeaderboardRegistrationsParams, kt as IndexerEventSpotStateSnapshot, l as GetIndexerEdgeCandlesticksParams, ln as ListIndexerSocialAccountsParams, lt as GetIndexerReferralCodeParams, m as GetIndexerEventsParams, mn as RegisterLeaderboardResponse, mt as GetIndexerV2SymbolsResponse, n as ConnectSocialAccountParams, nn as IndexerV2MarketHours, nt as GetIndexerPointsParams, o as GetIndexerCandlesticksResponse, on as IndexerXPointsAllTime, ot as GetIndexerProductSnapshotsParams, p as GetIndexerEventsLimitType, pn as RegisterLeaderboardParams, pt as GetIndexerV2SymbolsParams, q as GetIndexerMultiSubaccountSnapshotsResponse, qt as IndexerPerpPrices, r as ConnectSocialAccountResponse, rn as IndexerV2Symbol, rt as GetIndexerPointsResponse, s as GetIndexerCashIncentivesParams, sn as IndexerXPointsEpoch, st as GetIndexerProductSnapshotsResponse, t as Candlestick, tn as IndexerSubaccountSnapshot, tt as GetIndexerPerpPricesResponse, u as GetIndexerEdgeCandlesticksResponse, un as ListIndexerSocialAccountsResponse, ut as GetIndexerReferralCodeResponse, v as GetIndexerFundingRateHistoryParams, vt as GetIndexerXPointsResponse, w as GetIndexerLeaderboardContestsParams, wt as IndexerCashIncentivesEventWallet, x as GetIndexerFundingRateResponse, xt as IndexerCashIncentivesEvent, y as GetIndexerFundingRateHistoryResponse, yt as IndexerAllTimePoints, z as GetIndexerMatchEventsResponse, zt as IndexerMakerSnapshot } from "../clientTypes-Cke-KLUR.js";
|
|
8
8
|
import { t as CollateralEventType } from "../collateralEventType-s-WbBniE.js";
|
|
9
9
|
import { n as IndexerErrorCode, t as INDEXER_ERROR_CODES } from "../indexerErrorCodes-DNHtJXxm.js";
|
|
10
|
-
import { t as IndexerServerFailureError } from "../IndexerServerFailureError-
|
|
10
|
+
import { t as IndexerServerFailureError } from "../IndexerServerFailureError-CV5XXgNJ.js";
|
|
11
11
|
import { C as IndexerSettlementEvent, S as IndexerPaginationParams, T as WithPaginationMeta, _ as GetIndexerSubaccountSettlementEventsResponse, a as GetIndexerPaginatedOrdersParams, b as IndexerNlpEvent, c as GetIndexerSubaccountCollateralEventsResponse, d as GetIndexerSubaccountLiquidationEventsResponse, f as GetIndexerSubaccountMatchEventParams, g as GetIndexerSubaccountSettlementEventsParams, h as GetIndexerSubaccountNlpEventsResponse, i as GetIndexerPaginatedLeaderboardResponse, l as GetIndexerSubaccountInterestFundingPaymentsParams, m as GetIndexerSubaccountNlpEventsParams, n as GetIndexerPaginatedInterestFundingPaymentsResponse, o as GetIndexerPaginatedOrdersResponse, p as GetIndexerSubaccountMatchEventsResponse, r as GetIndexerPaginatedLeaderboardParams, s as GetIndexerSubaccountCollateralEventsParams, t as BaseIndexerPaginatedEvent, u as GetIndexerSubaccountLiquidationEventsParams, v as IndexerCollateralEvent, w as PaginatedIndexerEventsResponse, x as IndexerPaginationMeta, y as IndexerLiquidationEvent } from "../paginatedEventsTypes-BOUjVtm0.js";
|
|
12
12
|
export { BaseIndexerPaginatedEvent, Candlestick, CandlestickPeriod, CollateralEventType, ConnectSocialAccountParams, ConnectSocialAccountResponse, GetIndexerBacklogResponse, GetIndexerCandlesticksParams, GetIndexerCandlesticksResponse, GetIndexerCashIncentivesParams, GetIndexerCashIncentivesResponse, GetIndexerEdgeCandlesticksParams, GetIndexerEdgeCandlesticksResponse, GetIndexerEdgeMarketSnapshotResponse, GetIndexerEdgeMarketSnapshotsParams, GetIndexerEventsLimitType, GetIndexerEventsParams, GetIndexerEventsResponse, GetIndexerFastWithdrawalSignatureParams, GetIndexerFastWithdrawalSignatureResponse, GetIndexerFundingRateHistoryParams, GetIndexerFundingRateHistoryResponse, GetIndexerFundingRateParams, GetIndexerFundingRateResponse, GetIndexerInterestFundingPaymentsParams, GetIndexerInterestFundingPaymentsResponse, GetIndexerLeaderboardContestsParams, GetIndexerLeaderboardContestsResponse, GetIndexerLeaderboardParams, GetIndexerLeaderboardParticipantParams, GetIndexerLeaderboardParticipantResponse, GetIndexerLeaderboardRegistrationsParams, GetIndexerLeaderboardRegistrationsResponse, GetIndexerLeaderboardResponse, GetIndexerLinkedSignerParams, GetIndexerLinkedSignerResponse, GetIndexerMakerStatisticsParams, GetIndexerMakerStatisticsResponse, GetIndexerMarketSnapshotsParams, GetIndexerMarketSnapshotsResponse, GetIndexerMatchEventsParams, GetIndexerMatchEventsResponse, GetIndexerMultiProductFundingRatesParams, GetIndexerMultiProductFundingRatesResponse, GetIndexerMultiProductPerpPricesParams, GetIndexerMultiProductPerpPricesResponse, GetIndexerMultiProductSnapshotsParams, GetIndexerMultiProductSnapshotsResponse, GetIndexerMultiSubaccountSnapshotsParams, GetIndexerMultiSubaccountSnapshotsResponse, GetIndexerNlpSnapshotsParams, GetIndexerNlpSnapshotsResponse, GetIndexerOraclePricesParams, GetIndexerOraclePricesResponse, GetIndexerOrdersParams, GetIndexerOrdersResponse, GetIndexerPaginatedInterestFundingPaymentsResponse, GetIndexerPaginatedLeaderboardParams, GetIndexerPaginatedLeaderboardResponse, GetIndexerPaginatedOrdersParams, GetIndexerPaginatedOrdersResponse, GetIndexerPerpPricesParams, GetIndexerPerpPricesResponse, GetIndexerPointsParams, GetIndexerPointsResponse, GetIndexerPrivateAlphaChoiceParams, GetIndexerPrivateAlphaChoiceResponse, GetIndexerProductSnapshotsParams, GetIndexerProductSnapshotsResponse, GetIndexerQuotePriceResponse, GetIndexerReferralCodeParams, GetIndexerReferralCodeResponse, GetIndexerSubaccountCollateralEventsParams, GetIndexerSubaccountCollateralEventsResponse, GetIndexerSubaccountDDAParams, GetIndexerSubaccountDDAResponse, GetIndexerSubaccountInterestFundingPaymentsParams, GetIndexerSubaccountLiquidationEventsParams, GetIndexerSubaccountLiquidationEventsResponse, GetIndexerSubaccountMatchEventParams, GetIndexerSubaccountMatchEventsResponse, GetIndexerSubaccountNlpEventsParams, GetIndexerSubaccountNlpEventsResponse, GetIndexerSubaccountSettlementEventsParams, GetIndexerSubaccountSettlementEventsResponse, GetIndexerV2SymbolsParams, GetIndexerV2SymbolsResponse, GetIndexerV2TickersParams, GetIndexerV2TickersResponse, GetIndexerXPointsParams, GetIndexerXPointsResponse, INDEXER_ERROR_CODES, IndexerAllTimePoints, IndexerBalanceTrackedVars, IndexerCashIncentivesEvent, IndexerCashIncentivesEventMetadata, IndexerCashIncentivesEventPlatform, IndexerCashIncentivesEventWallet, IndexerCashIncentivesWalletSummary, IndexerCollateralEvent, IndexerEdgeServerCandlesticksParams, IndexerEdgeServerCandlesticksResponse, IndexerEdgeServerMarketSnapshotsParams, IndexerEdgeServerMarketSnapshotsResponse, IndexerErrorCode, IndexerEvent, IndexerEventBalanceStateSnapshot, IndexerEventPerpStateSnapshot, IndexerEventSpotStateSnapshot, IndexerEventType, IndexerEventWithTx, IndexerFundingRate, IndexerFundingRateHistoryEntry, IndexerLeaderboardContest, IndexerLeaderboardContestTrack, IndexerLeaderboardParticipant, IndexerLeaderboardRankType, IndexerLeaderboardRegistration, IndexerLeaderboardTrackPosition, IndexerLiquidationEvent, IndexerMaker, IndexerMakerSnapshot, IndexerMarketSnapshot, IndexerMatchEvent, IndexerMatchEventBalances, IndexerNlpEvent, IndexerNlpSnapshot, IndexerOraclePrice, IndexerOrder, IndexerPaginationMeta, IndexerPaginationParams, IndexerPerpBalance, IndexerPerpPrices, IndexerPointsEpoch, IndexerProductPayment, IndexerProductSnapshot, IndexerServerAllTimePoints, IndexerServerBacklogResponse, IndexerServerBalance, IndexerServerCandlestick, IndexerServerCandlesticksParams, IndexerServerCandlesticksResponse, IndexerServerCashIncentivesEvent, IndexerServerCashIncentivesEventMetadata, IndexerServerCashIncentivesEventPlatform, IndexerServerCashIncentivesEventWallet, IndexerServerCashIncentivesParams, IndexerServerCashIncentivesResponse, IndexerServerCashIncentivesWalletSummary, IndexerServerDDAQueryParams, IndexerServerDDAResponse, IndexerServerEvent, IndexerServerEventsParams, IndexerServerEventsResponse, IndexerServerFailureError, IndexerServerFailureResponse, IndexerServerFastWithdrawalSignatureParams, IndexerServerFastWithdrawalSignatureResponse, IndexerServerFundingRate, IndexerServerFundingRateHistoryEntry, IndexerServerFundingRateHistoryParams, IndexerServerFundingRateHistoryResponse, IndexerServerFundingRateParams, IndexerServerFundingRateResponse, IndexerServerFundingRatesParams, IndexerServerFundingRatesResponse, IndexerServerInterestFundingParams, IndexerServerInterestFundingResponse, IndexerServerLeaderboardContest, IndexerServerLeaderboardContestTrack, IndexerServerLeaderboardContestsParams, IndexerServerLeaderboardContestsResponse, IndexerServerLeaderboardParams, IndexerServerLeaderboardPosition, IndexerServerLeaderboardRankParams, IndexerServerLeaderboardRankResponse, IndexerServerLeaderboardRegisterParams, IndexerServerLeaderboardRegisterResponse, IndexerServerLeaderboardRegistration, IndexerServerLeaderboardRegistrationsParams, IndexerServerLeaderboardRegistrationsResponse, IndexerServerLeaderboardResponse, IndexerServerLeaderboardTrackPosition, IndexerServerLinkedSignerParams, IndexerServerLinkedSignerResponse, IndexerServerListSocialAccountsParams, IndexerServerListSubaccountsParams, IndexerServerListSubaccountsResponse, IndexerServerMaker, IndexerServerMakerData, IndexerServerMakerStatisticsParams, IndexerServerMakerStatisticsResponse, IndexerServerMarketSnapshot, IndexerServerMarketSnapshotInterval, IndexerServerMarketSnapshotsParams, IndexerServerMarketSnapshotsResponse, IndexerServerMatchEvent, IndexerServerMatchEventBalances, IndexerServerMatchEventsParams, IndexerServerMatchEventsResponse, IndexerServerMultiProductsParams, IndexerServerMultiProductsResponse, IndexerServerMultiSubaccountSnapshotsParams, IndexerServerMultiSubaccountSnapshotsResponse, IndexerServerNlpSnapshot, IndexerServerNlpSnapshotsParams, IndexerServerNlpSnapshotsResponse, IndexerServerOraclePrice, IndexerServerOraclePricesParams, IndexerServerOraclePricesResponse, IndexerServerOrder, IndexerServerOrdersParams, IndexerServerOrdersResponse, IndexerServerPerpPrices, IndexerServerPerpPricesParams, IndexerServerPerpPricesResponse, IndexerServerPointsEpoch, IndexerServerPointsParams, IndexerServerPointsResponse, IndexerServerPriceParams, IndexerServerPriceResponse, IndexerServerPrivateAlphaChoiceParams, IndexerServerPrivateAlphaChoiceResponse, IndexerServerProduct, IndexerServerProductPayment, IndexerServerProductSnapshot, IndexerServerProductsParams, IndexerServerProductsResponse, IndexerServerQueryRequestByType, IndexerServerQueryRequestType, IndexerServerQueryResponseByType, IndexerServerQuotePriceResponse, IndexerServerReferralCodeParams, IndexerServerReferralCodeResponse, IndexerServerRequestType, IndexerServerRevokeSocialAccountParams, IndexerServerSnapshotsInterval, IndexerServerSocialAccount, IndexerServerSocialAccountsResponse, IndexerServerSocialConnectParams, IndexerServerSocialConnectResponse, IndexerServerTriggerTypeFilter, IndexerServerTx, IndexerServerV2MarketHours, IndexerServerV2Symbol, IndexerServerV2SymbolsResponse, IndexerServerV2TickerResponse, IndexerServerV2TickersResponse, IndexerServerXPointsAllTime, IndexerServerXPointsEpoch, IndexerServerXPointsParams, IndexerServerXPointsQuest, IndexerServerXPointsResponse, IndexerSettlementEvent, IndexerSnapshotBalance, IndexerSnapshotsIntervalParams, IndexerSocialAccountInfo, IndexerSpotBalance, IndexerSubaccountSnapshot, IndexerV2MarketHours, IndexerV2Symbol, IndexerV2TickerResponse, IndexerV2TradingStatus, IndexerXPointsAllTime, IndexerXPointsEpoch, IndexerXPointsQuest, ListIndexerSocialAccountsParams, ListIndexerSocialAccountsResponse, ListIndexerSubaccountsParams, ListIndexerSubaccountsResponse, NadoDepositCollateralTx, NadoLiquidateSubaccountTx, NadoMatchOrdersRfqTx, NadoMatchOrdersTx, NadoTransferQuoteTx, NadoTx, NadoWithdrawCollateralTx, NadoWithdrawCollateralV2Tx, PaginatedIndexerEventsResponse, RegisterLeaderboardParams, RegisterLeaderboardResponse, RevokeSocialAccountParams, RevokeSocialAccountResponse, TickerMarketType, WithPaginationMeta, isIndexerServerFailureResponse };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nadohq/indexer-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"description": "HTTP client for the Nado indexer — historical data, events, and analytics queries",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"module": "./dist/index.js",
|
|
42
42
|
"types": "./dist/index.d.ts",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@nadohq/engine-client": "^0.
|
|
45
|
-
"@nadohq/shared": "^0.
|
|
44
|
+
"@nadohq/engine-client": "^0.29.0",
|
|
45
|
+
"@nadohq/shared": "^0.29.0",
|
|
46
46
|
"axios": "1.16.1",
|
|
47
47
|
"ts-mixer": "6.0.4"
|
|
48
48
|
},
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"bignumber.js": "11.1.1",
|
|
55
55
|
"viem": "2.52.0"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "cb15bfd6a018f18a335cb8e7e755d1533767dcd4"
|
|
58
58
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BaseServerFailureError } from '@nadohq/shared';
|
|
1
2
|
import {
|
|
2
3
|
IndexerServerFailureResponse,
|
|
3
4
|
IndexerServerRequestType,
|
|
@@ -6,34 +7,23 @@ import {
|
|
|
6
7
|
/**
|
|
7
8
|
* Error thrown when the indexer service API returns a failure envelope (see
|
|
8
9
|
* {@link IndexerServerFailureResponse}), either as a non-2xx HTTP response or a 2xx response
|
|
9
|
-
* with `status: 'failure'`. The numeric error code is exposed directly on
|
|
10
|
-
* comparison against {@link INDEXER_ERROR_CODES}.
|
|
10
|
+
* with `status: 'failure'`. The numeric error code is exposed directly on
|
|
11
|
+
* {@link BaseServerFailureError.errorCode} for comparison against {@link INDEXER_ERROR_CODES}.
|
|
11
12
|
*
|
|
12
13
|
* The v2 REST endpoints do not return a failure envelope — they use plain HTTP error responses
|
|
13
14
|
* without an `error_code` field, so this error is only thrown for the v1 query routes.
|
|
14
15
|
*/
|
|
15
|
-
export class IndexerServerFailureError extends
|
|
16
|
+
export class IndexerServerFailureError extends BaseServerFailureError {
|
|
17
|
+
declare readonly responseData: IndexerServerFailureResponse;
|
|
18
|
+
declare readonly requestType: IndexerServerRequestType;
|
|
19
|
+
|
|
16
20
|
/**
|
|
17
21
|
* HTTP status code of the response, e.g. `400` for a malformed request.
|
|
18
22
|
*/
|
|
19
23
|
readonly httpStatus: number;
|
|
20
|
-
/**
|
|
21
|
-
* Numeric indexer service API error code, see {@link INDEXER_ERROR_CODES}.
|
|
22
|
-
*/
|
|
23
|
-
readonly errorCode: number;
|
|
24
|
-
/**
|
|
25
|
-
* The request type that failed, e.g. `query_leaderboard_register`.
|
|
26
|
-
*/
|
|
27
|
-
readonly requestType: IndexerServerRequestType;
|
|
28
24
|
|
|
29
|
-
constructor(
|
|
30
|
-
|
|
31
|
-
httpStatus: number,
|
|
32
|
-
) {
|
|
33
|
-
super(`${responseData.error_code}: ${responseData.error}`);
|
|
34
|
-
this.name = 'IndexerServerFailureError';
|
|
25
|
+
constructor(responseData: IndexerServerFailureResponse, httpStatus: number) {
|
|
26
|
+
super(responseData, 'IndexerServerFailureError');
|
|
35
27
|
this.httpStatus = httpStatus;
|
|
36
|
-
this.errorCode = responseData.error_code;
|
|
37
|
-
this.requestType = responseData.request_type;
|
|
38
28
|
}
|
|
39
29
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IndexerServerFailureError-Cp-nQ6BQ.d.ts","names":[],"sources":["../src/types/src/types/IndexerServerFailureError.ts"],"mappings":";;;;;AAcA;;;;;;;cAAa,yBAAA,SAAkC,KAAA;EAAA,SAelC,YAAA,EAAc,4BAAA;EAfoB;;;EAAA,SAIpC,UAAA;EAIA;;;EAAA,SAAA,SAAA;EAOgB;;;EAAA,SAHhB,WAAA,EAAa,wBAAA;cAGX,YAAA,EAAc,4BAAA,EACvB,UAAA;AAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IndexerServerFailureError-qVBOC6Ru.d.cts","names":[],"sources":["../src/types/src/types/IndexerServerFailureError.ts"],"mappings":";;;;;AAcA;;;;;;;cAAa,yBAAA,SAAkC,KAAA;EAAA,SAelC,YAAA,EAAc,4BAAA;EAfoB;;;EAAA,SAIpC,UAAA;EAIA;;;EAAA,SAAA,SAAA;EAOgB;;;EAAA,SAHhB,WAAA,EAAa,wBAAA;cAGX,YAAA,EAAc,4BAAA,EACvB,UAAA;AAAA"}
|