@nadohq/indexer-client 0.14.0 → 0.17.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.
Files changed (155) hide show
  1. package/dist/CandlestickPeriod-1DtcEiOb.d.ts +15 -0
  2. package/dist/CandlestickPeriod-1DtcEiOb.d.ts.map +1 -0
  3. package/dist/CandlestickPeriod-D3_IoSev.d.cts +15 -0
  4. package/dist/CandlestickPeriod-D3_IoSev.d.cts.map +1 -0
  5. package/dist/IndexerBaseClient-3KfzA2ph.cjs +639 -0
  6. package/dist/IndexerBaseClient-3KfzA2ph.cjs.map +1 -0
  7. package/dist/IndexerBaseClient.cjs +3 -788
  8. package/dist/IndexerBaseClient.d.cts +223 -229
  9. package/dist/IndexerBaseClient.d.cts.map +1 -0
  10. package/dist/IndexerBaseClient.d.ts +223 -229
  11. package/dist/IndexerBaseClient.d.ts.map +1 -0
  12. package/dist/IndexerBaseClient.js +601 -783
  13. package/dist/IndexerBaseClient.js.map +1 -1
  14. package/dist/IndexerClient.cjs +275 -381
  15. package/dist/IndexerClient.cjs.map +1 -1
  16. package/dist/IndexerClient.d.cts +32 -43
  17. package/dist/IndexerClient.d.cts.map +1 -0
  18. package/dist/IndexerClient.d.ts +32 -43
  19. package/dist/IndexerClient.d.ts.map +1 -0
  20. package/dist/IndexerClient.js +273 -362
  21. package/dist/IndexerClient.js.map +1 -1
  22. package/dist/IndexerEventType-B-uXsf-a.d.cts +5 -0
  23. package/dist/IndexerEventType-B-uXsf-a.d.cts.map +1 -0
  24. package/dist/IndexerEventType-DCLkSlgR.d.ts +5 -0
  25. package/dist/IndexerEventType-DCLkSlgR.d.ts.map +1 -0
  26. package/dist/IndexerLeaderboardType-Ck12QVWR.d.cts +13 -0
  27. package/dist/IndexerLeaderboardType-Ck12QVWR.d.cts.map +1 -0
  28. package/dist/IndexerLeaderboardType-DAKw2tfI.d.ts +13 -0
  29. package/dist/IndexerLeaderboardType-DAKw2tfI.d.ts.map +1 -0
  30. package/dist/NadoTx-CWCklgY4.d.ts +50 -0
  31. package/dist/NadoTx-CWCklgY4.d.ts.map +1 -0
  32. package/dist/NadoTx-MYNIlXyq.d.cts +50 -0
  33. package/dist/NadoTx-MYNIlXyq.d.cts.map +1 -0
  34. package/dist/clientTypes-BpxOUu1q.d.ts +709 -0
  35. package/dist/clientTypes-BpxOUu1q.d.ts.map +1 -0
  36. package/dist/clientTypes-BsJ2yIC4.d.cts +709 -0
  37. package/dist/clientTypes-BsJ2yIC4.d.cts.map +1 -0
  38. package/dist/collateralEventType-CzH_2iTV.d.ts +5 -0
  39. package/dist/collateralEventType-CzH_2iTV.d.ts.map +1 -0
  40. package/dist/collateralEventType-DIm6Te7F.d.cts +5 -0
  41. package/dist/collateralEventType-DIm6Te7F.d.cts.map +1 -0
  42. package/dist/dataMappers.cjs +269 -346
  43. package/dist/dataMappers.cjs.map +1 -1
  44. package/dist/dataMappers.d.cts +7 -12
  45. package/dist/dataMappers.d.cts.map +1 -0
  46. package/dist/dataMappers.d.ts +7 -12
  47. package/dist/dataMappers.d.ts.map +1 -0
  48. package/dist/dataMappers.js +248 -314
  49. package/dist/dataMappers.js.map +1 -1
  50. package/dist/endpoints.cjs +8 -32
  51. package/dist/endpoints.cjs.map +1 -1
  52. package/dist/endpoints.d.cts +4 -2
  53. package/dist/endpoints.d.cts.map +1 -0
  54. package/dist/endpoints.d.ts +4 -2
  55. package/dist/endpoints.d.ts.map +1 -0
  56. package/dist/endpoints.js +8 -8
  57. package/dist/endpoints.js.map +1 -1
  58. package/dist/index-D6CnpA_r.d.cts +1 -0
  59. package/dist/index-DhI2LvVQ.d.ts +1 -0
  60. package/dist/index.cjs +15 -33
  61. package/dist/index.d.cts +14 -18
  62. package/dist/index.d.ts +14 -18
  63. package/dist/index.js +8 -7
  64. package/dist/indexerBalanceValue-4AuNuTAc.d.cts +32 -0
  65. package/dist/indexerBalanceValue-4AuNuTAc.d.cts.map +1 -0
  66. package/dist/indexerBalanceValue-B0OggI67.d.ts +32 -0
  67. package/dist/indexerBalanceValue-B0OggI67.d.ts.map +1 -0
  68. package/dist/paginatedEventsTypes-DtGDU-kI.d.cts +110 -0
  69. package/dist/paginatedEventsTypes-DtGDU-kI.d.cts.map +1 -0
  70. package/dist/paginatedEventsTypes-RwXoQrEa.d.ts +110 -0
  71. package/dist/paginatedEventsTypes-RwXoQrEa.d.ts.map +1 -0
  72. package/dist/serverModelTypes-CM2g040o.d.cts +262 -0
  73. package/dist/serverModelTypes-CM2g040o.d.cts.map +1 -0
  74. package/dist/serverModelTypes-DPHMUSZe.d.ts +262 -0
  75. package/dist/serverModelTypes-DPHMUSZe.d.ts.map +1 -0
  76. package/dist/serverTypes-BMSNh2GK.d.cts +452 -0
  77. package/dist/serverTypes-BMSNh2GK.d.cts.map +1 -0
  78. package/dist/serverTypes-c8IABU73.d.ts +452 -0
  79. package/dist/serverTypes-c8IABU73.d.ts.map +1 -0
  80. package/dist/types/CandlestickPeriod.cjs +16 -40
  81. package/dist/types/CandlestickPeriod.cjs.map +1 -1
  82. package/dist/types/CandlestickPeriod.d.cts +2 -13
  83. package/dist/types/CandlestickPeriod.d.ts +2 -13
  84. package/dist/types/CandlestickPeriod.js +16 -16
  85. package/dist/types/CandlestickPeriod.js.map +1 -1
  86. package/dist/types/IndexerEventType.cjs +0 -19
  87. package/dist/types/IndexerEventType.d.cts +2 -3
  88. package/dist/types/IndexerEventType.d.ts +2 -3
  89. package/dist/types/IndexerEventType.js +1 -1
  90. package/dist/types/IndexerLeaderboardType.cjs +0 -19
  91. package/dist/types/IndexerLeaderboardType.d.cts +2 -11
  92. package/dist/types/IndexerLeaderboardType.d.ts +2 -11
  93. package/dist/types/IndexerLeaderboardType.js +1 -1
  94. package/dist/types/NadoTx.cjs +0 -19
  95. package/dist/types/NadoTx.d.cts +2 -48
  96. package/dist/types/NadoTx.d.ts +2 -48
  97. package/dist/types/NadoTx.js +1 -1
  98. package/dist/types/clientTypes.cjs +0 -19
  99. package/dist/types/clientTypes.d.cts +2 -709
  100. package/dist/types/clientTypes.d.ts +2 -709
  101. package/dist/types/clientTypes.js +1 -1
  102. package/dist/types/collateralEventType.cjs +0 -19
  103. package/dist/types/collateralEventType.d.cts +2 -3
  104. package/dist/types/collateralEventType.d.ts +2 -3
  105. package/dist/types/collateralEventType.js +1 -1
  106. package/dist/types/index.cjs +3 -41
  107. package/dist/types/index.d.cts +10 -13
  108. package/dist/types/index.d.ts +10 -13
  109. package/dist/types/index.js +2 -11
  110. package/dist/types/paginatedEventsTypes.cjs +0 -19
  111. package/dist/types/paginatedEventsTypes.d.cts +2 -115
  112. package/dist/types/paginatedEventsTypes.d.ts +2 -115
  113. package/dist/types/paginatedEventsTypes.js +1 -1
  114. package/dist/types/serverModelTypes.cjs +0 -19
  115. package/dist/types/serverModelTypes.d.cts +2 -260
  116. package/dist/types/serverModelTypes.d.ts +2 -260
  117. package/dist/types/serverModelTypes.js +1 -1
  118. package/dist/types/serverTypes.cjs +0 -19
  119. package/dist/types/serverTypes.d.cts +2 -451
  120. package/dist/types/serverTypes.d.ts +2 -451
  121. package/dist/types/serverTypes.js +1 -1
  122. package/dist/utils/index.cjs +5 -25
  123. package/dist/utils/index.d.cts +2 -12
  124. package/dist/utils/index.d.ts +2 -12
  125. package/dist/utils/index.js +2 -3
  126. package/dist/utils/indexerBalanceValue.cjs +32 -36
  127. package/dist/utils/indexerBalanceValue.cjs.map +1 -1
  128. package/dist/utils/indexerBalanceValue.d.cts +2 -39
  129. package/dist/utils/indexerBalanceValue.d.ts +2 -39
  130. package/dist/utils/indexerBalanceValue.js +29 -9
  131. package/dist/utils/indexerBalanceValue.js.map +1 -1
  132. package/package.json +10 -10
  133. package/dist/IndexerBaseClient.cjs.map +0 -1
  134. package/dist/index.cjs.map +0 -1
  135. package/dist/index.js.map +0 -1
  136. package/dist/types/IndexerEventType.cjs.map +0 -1
  137. package/dist/types/IndexerEventType.js.map +0 -1
  138. package/dist/types/IndexerLeaderboardType.cjs.map +0 -1
  139. package/dist/types/IndexerLeaderboardType.js.map +0 -1
  140. package/dist/types/NadoTx.cjs.map +0 -1
  141. package/dist/types/NadoTx.js.map +0 -1
  142. package/dist/types/clientTypes.cjs.map +0 -1
  143. package/dist/types/clientTypes.js.map +0 -1
  144. package/dist/types/collateralEventType.cjs.map +0 -1
  145. package/dist/types/collateralEventType.js.map +0 -1
  146. package/dist/types/index.cjs.map +0 -1
  147. package/dist/types/index.js.map +0 -1
  148. package/dist/types/paginatedEventsTypes.cjs.map +0 -1
  149. package/dist/types/paginatedEventsTypes.js.map +0 -1
  150. package/dist/types/serverModelTypes.cjs.map +0 -1
  151. package/dist/types/serverModelTypes.js.map +0 -1
  152. package/dist/types/serverTypes.cjs.map +0 -1
  153. package/dist/types/serverTypes.js.map +0 -1
  154. package/dist/utils/index.cjs.map +0 -1
  155. package/dist/utils/index.js.map +0 -1
@@ -1,387 +1,310 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/dataMappers.ts
21
- var dataMappers_exports = {};
22
- __export(dataMappers_exports, {
23
- mapIndexerCandlesticks: () => mapIndexerCandlesticks,
24
- mapIndexerEvent: () => mapIndexerEvent,
25
- mapIndexerEventWithTx: () => mapIndexerEventWithTx,
26
- mapIndexerFundingRate: () => mapIndexerFundingRate,
27
- mapIndexerLeaderboardContest: () => mapIndexerLeaderboardContest,
28
- mapIndexerLeaderboardPosition: () => mapIndexerLeaderboardPosition,
29
- mapIndexerLeaderboardRegistration: () => mapIndexerLeaderboardRegistration,
30
- mapIndexerMakerStatistics: () => mapIndexerMakerStatistics,
31
- mapIndexerMarketSnapshot: () => mapIndexerMarketSnapshot,
32
- mapIndexerMatchEventBalances: () => mapIndexerMatchEventBalances,
33
- mapIndexerNlpSnapshot: () => mapIndexerNlpSnapshot,
34
- mapIndexerOrder: () => mapIndexerOrder,
35
- mapIndexerPerpPrices: () => mapIndexerPerpPrices,
36
- mapIndexerProductPayment: () => mapIndexerProductPayment,
37
- mapIndexerServerBalance: () => mapIndexerServerBalance,
38
- mapIndexerServerProduct: () => mapIndexerServerProduct,
39
- mapIndexerV2MarketHours: () => mapIndexerV2MarketHours,
40
- mapIndexerV2Symbols: () => mapIndexerV2Symbols,
41
- mapIndexerV2Ticker: () => mapIndexerV2Ticker,
42
- mapSnapshotsIntervalToServerParams: () => mapSnapshotsIntervalToServerParams
43
- });
44
- module.exports = __toCommonJS(dataMappers_exports);
45
- var import_engine_client = require("@nadohq/engine-client");
46
- var import_shared = require("@nadohq/shared");
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ require("./IndexerBaseClient-3KfzA2ph.cjs");
3
+ let _nadohq_shared = require("@nadohq/shared");
4
+ let _nadohq_engine_client = require("@nadohq/engine-client");
5
+ //#region src/dataMappers.ts
47
6
  function mapSnapshotsIntervalToServerParams(params) {
48
- return {
49
- count: params.limit,
50
- max_time: params.maxTimeInclusive ? (0, import_shared.toIntegerString)(params.maxTimeInclusive) : void 0,
51
- granularity: params.granularity
52
- };
7
+ return {
8
+ count: params.limit,
9
+ max_time: params.maxTimeInclusive ? (0, _nadohq_shared.toIntegerString)(params.maxTimeInclusive) : void 0,
10
+ granularity: params.granularity
11
+ };
53
12
  }
54
13
  function mapIndexerServerProduct(product) {
55
- if ("spot" in product) {
56
- return (0, import_engine_client.mapEngineServerSpotProduct)(product.spot);
57
- }
58
- return (0, import_engine_client.mapEngineServerPerpProduct)(product.perp);
14
+ if ("spot" in product) return (0, _nadohq_engine_client.mapEngineServerSpotProduct)(product.spot);
15
+ return (0, _nadohq_engine_client.mapEngineServerPerpProduct)(product.perp);
59
16
  }
60
17
  function mapIndexerServerBalance(balance) {
61
- if ("spot" in balance) {
62
- return {
63
- amount: (0, import_shared.toBigNumber)(balance.spot.balance.amount),
64
- productId: balance.spot.product_id,
65
- type: import_shared.ProductEngineType.SPOT
66
- };
67
- }
68
- return {
69
- amount: (0, import_shared.toBigNumber)(balance.perp.balance.amount),
70
- productId: balance.perp.product_id,
71
- type: import_shared.ProductEngineType.PERP,
72
- vQuoteBalance: (0, import_shared.toBigNumber)(balance.perp.balance.v_quote_balance)
73
- };
18
+ if ("spot" in balance) return {
19
+ amount: (0, _nadohq_shared.toBigNumber)(balance.spot.balance.amount),
20
+ productId: balance.spot.product_id,
21
+ type: _nadohq_shared.ProductEngineType.SPOT
22
+ };
23
+ return {
24
+ amount: (0, _nadohq_shared.toBigNumber)(balance.perp.balance.amount),
25
+ productId: balance.perp.product_id,
26
+ type: _nadohq_shared.ProductEngineType.PERP,
27
+ vQuoteBalance: (0, _nadohq_shared.toBigNumber)(balance.perp.balance.v_quote_balance)
28
+ };
74
29
  }
75
30
  function mapIndexerOrder(order) {
76
- const appendix = (0, import_shared.unpackOrderAppendix)(order.appendix);
77
- return {
78
- amount: (0, import_shared.toBigNumber)(order.amount),
79
- digest: order.digest,
80
- expiration: Number(order.expiration),
81
- appendix,
82
- nonce: (0, import_shared.toBigNumber)(order.nonce),
83
- isolated: order.isolated,
84
- recvTimeSeconds: (0, import_shared.getRecvTimeFromOrderNonce)(order.nonce) / 1e3,
85
- price: (0, import_shared.removeDecimals)(order.price_x18),
86
- productId: order.product_id,
87
- subaccount: order.subaccount,
88
- submissionIndex: order.submission_idx,
89
- lastFillSubmissionIndex: order.last_fill_submission_idx,
90
- baseFilled: (0, import_shared.toBigNumber)(order.base_filled),
91
- quoteFilled: (0, import_shared.toBigNumber)(order.quote_filled),
92
- totalFee: (0, import_shared.toBigNumber)(order.fee),
93
- builderFee: (0, import_shared.toBigNumber)(order.builder_fee),
94
- realizedPnl: (0, import_shared.toBigNumber)(order.realized_pnl),
95
- closedAmount: (0, import_shared.toBigNumber)(order.closed_amount),
96
- closedNetEntry: (0, import_shared.toBigNumber)(order.closed_net_entry),
97
- preCloseMargin: order.closed_margin ? (0, import_shared.toBigNumber)(order.closed_margin) : null,
98
- firstFillTimestamp: (0, import_shared.toBigNumber)(order.first_fill_timestamp),
99
- lastFillTimestamp: (0, import_shared.toBigNumber)(order.last_fill_timestamp),
100
- preBalances: mapIndexerMatchEventBalances(order.pre_balance),
101
- postBalances: mapIndexerMatchEventBalances(order.post_balance)
102
- };
31
+ const appendix = (0, _nadohq_shared.unpackOrderAppendix)(order.appendix);
32
+ return {
33
+ amount: (0, _nadohq_shared.toBigNumber)(order.amount),
34
+ digest: order.digest,
35
+ expiration: Number(order.expiration),
36
+ appendix,
37
+ nonce: (0, _nadohq_shared.toBigNumber)(order.nonce),
38
+ isolated: order.isolated,
39
+ recvTimeSeconds: (0, _nadohq_shared.getRecvTimeFromOrderNonce)(order.nonce) / 1e3,
40
+ price: (0, _nadohq_shared.removeDecimals)(order.price_x18),
41
+ productId: order.product_id,
42
+ subaccount: order.subaccount,
43
+ submissionIndex: order.submission_idx,
44
+ lastFillSubmissionIndex: order.last_fill_submission_idx,
45
+ baseFilled: (0, _nadohq_shared.toBigNumber)(order.base_filled),
46
+ quoteFilled: (0, _nadohq_shared.toBigNumber)(order.quote_filled),
47
+ totalFee: (0, _nadohq_shared.toBigNumber)(order.fee),
48
+ builderFee: (0, _nadohq_shared.toBigNumber)(order.builder_fee),
49
+ realizedPnl: (0, _nadohq_shared.toBigNumber)(order.realized_pnl),
50
+ closedAmount: (0, _nadohq_shared.toBigNumber)(order.closed_amount),
51
+ closedNetEntry: (0, _nadohq_shared.toBigNumber)(order.closed_net_entry),
52
+ preCloseMargin: order.closed_margin ? (0, _nadohq_shared.toBigNumber)(order.closed_margin) : null,
53
+ firstFillTimestamp: (0, _nadohq_shared.toBigNumber)(order.first_fill_timestamp),
54
+ lastFillTimestamp: (0, _nadohq_shared.toBigNumber)(order.last_fill_timestamp),
55
+ preBalances: mapIndexerMatchEventBalances(order.pre_balance),
56
+ postBalances: mapIndexerMatchEventBalances(order.post_balance)
57
+ };
103
58
  }
104
59
  function mapIndexerEvent(event) {
105
- const eventState = (() => {
106
- if ("spot" in event.pre_balance) {
107
- return {
108
- type: import_shared.ProductEngineType.SPOT,
109
- market: mapIndexerServerProduct(event.product),
110
- preBalance: mapIndexerServerBalance(
111
- event.pre_balance
112
- ),
113
- postBalance: mapIndexerServerBalance(
114
- event.post_balance
115
- )
116
- };
117
- }
118
- return {
119
- type: import_shared.ProductEngineType.PERP,
120
- market: mapIndexerServerProduct(event.product),
121
- preBalance: mapIndexerServerBalance(
122
- event.pre_balance
123
- ),
124
- postBalance: mapIndexerServerBalance(
125
- event.post_balance
126
- )
127
- };
128
- })();
129
- return {
130
- eventType: event.event_type,
131
- productId: event.product_id,
132
- isolated: event.isolated,
133
- isolatedProductId: event.isolated_product_id,
134
- state: eventState,
135
- subaccount: event.subaccount,
136
- submissionIndex: event.submission_idx,
137
- trackedVars: {
138
- netEntryCumulative: (0, import_shared.toBigNumber)(event.net_entry_cumulative),
139
- netEntryUnrealized: (0, import_shared.toBigNumber)(event.net_entry_unrealized),
140
- netFundingCumulative: (0, import_shared.toBigNumber)(event.net_funding_cumulative),
141
- netFundingUnrealized: (0, import_shared.toBigNumber)(event.net_funding_unrealized),
142
- netInterestCumulative: (0, import_shared.toBigNumber)(event.net_interest_cumulative),
143
- netInterestUnrealized: (0, import_shared.toBigNumber)(event.net_interest_unrealized),
144
- quoteVolumeCumulative: (0, import_shared.toBigNumber)(event.quote_volume_cumulative)
145
- }
146
- };
60
+ const eventState = (() => {
61
+ if ("spot" in event.pre_balance) return {
62
+ type: _nadohq_shared.ProductEngineType.SPOT,
63
+ market: mapIndexerServerProduct(event.product),
64
+ preBalance: mapIndexerServerBalance(event.pre_balance),
65
+ postBalance: mapIndexerServerBalance(event.post_balance)
66
+ };
67
+ return {
68
+ type: _nadohq_shared.ProductEngineType.PERP,
69
+ market: mapIndexerServerProduct(event.product),
70
+ preBalance: mapIndexerServerBalance(event.pre_balance),
71
+ postBalance: mapIndexerServerBalance(event.post_balance)
72
+ };
73
+ })();
74
+ return {
75
+ eventType: event.event_type,
76
+ productId: event.product_id,
77
+ isolated: event.isolated,
78
+ isolatedProductId: event.isolated_product_id,
79
+ state: eventState,
80
+ subaccount: event.subaccount,
81
+ submissionIndex: event.submission_idx,
82
+ trackedVars: {
83
+ netEntryCumulative: (0, _nadohq_shared.toBigNumber)(event.net_entry_cumulative),
84
+ netEntryUnrealized: (0, _nadohq_shared.toBigNumber)(event.net_entry_unrealized),
85
+ netFundingCumulative: (0, _nadohq_shared.toBigNumber)(event.net_funding_cumulative),
86
+ netFundingUnrealized: (0, _nadohq_shared.toBigNumber)(event.net_funding_unrealized),
87
+ netInterestCumulative: (0, _nadohq_shared.toBigNumber)(event.net_interest_cumulative),
88
+ netInterestUnrealized: (0, _nadohq_shared.toBigNumber)(event.net_interest_unrealized),
89
+ quoteVolumeCumulative: (0, _nadohq_shared.toBigNumber)(event.quote_volume_cumulative)
90
+ }
91
+ };
147
92
  }
148
93
  function mapIndexerEventWithTx(event, tx) {
149
- return {
150
- timestamp: (0, import_shared.toBigNumber)(tx.timestamp),
151
- tx: tx.tx,
152
- ...mapIndexerEvent(event)
153
- };
94
+ return {
95
+ timestamp: (0, _nadohq_shared.toBigNumber)(tx.timestamp),
96
+ tx: tx.tx,
97
+ ...mapIndexerEvent(event)
98
+ };
154
99
  }
155
100
  function mapIndexerMatchEventBalances(eventBalances) {
156
- return {
157
- base: mapIndexerServerBalance(eventBalances.base),
158
- quote: eventBalances.quote ? mapIndexerServerBalance(eventBalances.quote) : void 0
159
- };
101
+ return {
102
+ base: mapIndexerServerBalance(eventBalances.base),
103
+ quote: eventBalances.quote ? mapIndexerServerBalance(eventBalances.quote) : void 0
104
+ };
160
105
  }
161
106
  function mapIndexerProductPayment(payment) {
162
- return {
163
- submissionIndex: payment.idx,
164
- timestamp: (0, import_shared.toBigNumber)(payment.timestamp),
165
- paymentAmount: (0, import_shared.toBigNumber)(payment.amount),
166
- balanceAmount: (0, import_shared.toBigNumber)(payment.balance_amount),
167
- annualPaymentRate: (0, import_shared.removeDecimals)(payment.rate_x18),
168
- oraclePrice: (0, import_shared.removeDecimals)(payment.oracle_price_x18),
169
- isolated: payment.isolated,
170
- productId: payment.product_id,
171
- isolatedProductId: payment.isolated_product_id
172
- };
107
+ return {
108
+ submissionIndex: payment.idx,
109
+ timestamp: (0, _nadohq_shared.toBigNumber)(payment.timestamp),
110
+ paymentAmount: (0, _nadohq_shared.toBigNumber)(payment.amount),
111
+ balanceAmount: (0, _nadohq_shared.toBigNumber)(payment.balance_amount),
112
+ annualPaymentRate: (0, _nadohq_shared.removeDecimals)(payment.rate_x18),
113
+ oraclePrice: (0, _nadohq_shared.removeDecimals)(payment.oracle_price_x18),
114
+ isolated: payment.isolated,
115
+ productId: payment.product_id,
116
+ isolatedProductId: payment.isolated_product_id
117
+ };
173
118
  }
174
119
  function mapIndexerPerpPrices(perpPrices) {
175
- return {
176
- indexPrice: (0, import_shared.removeDecimals)(perpPrices.index_price_x18),
177
- markPrice: (0, import_shared.removeDecimals)(perpPrices.mark_price_x18),
178
- updateTime: (0, import_shared.toBigNumber)(perpPrices.update_time),
179
- productId: perpPrices.product_id
180
- };
120
+ return {
121
+ indexPrice: (0, _nadohq_shared.removeDecimals)(perpPrices.index_price_x18),
122
+ markPrice: (0, _nadohq_shared.removeDecimals)(perpPrices.mark_price_x18),
123
+ updateTime: (0, _nadohq_shared.toBigNumber)(perpPrices.update_time),
124
+ productId: perpPrices.product_id
125
+ };
181
126
  }
182
127
  function mapIndexerFundingRate(fundingRate) {
183
- return {
184
- fundingRate: (0, import_shared.removeDecimals)(fundingRate.funding_rate_x18),
185
- updateTime: (0, import_shared.toBigNumber)(fundingRate.update_time),
186
- productId: fundingRate.product_id
187
- };
128
+ return {
129
+ fundingRate: (0, _nadohq_shared.removeDecimals)(fundingRate.funding_rate_x18),
130
+ updateTime: (0, _nadohq_shared.toBigNumber)(fundingRate.update_time),
131
+ productId: fundingRate.product_id
132
+ };
188
133
  }
189
134
  function mapIndexerMakerStatistics(maker) {
190
- return {
191
- address: maker.address,
192
- snapshots: maker.data.map((makerData) => {
193
- return {
194
- timestamp: (0, import_shared.toBigNumber)(makerData.timestamp),
195
- makerFee: (0, import_shared.toBigNumber)(makerData.maker_fee),
196
- uptime: (0, import_shared.toBigNumber)(makerData.uptime),
197
- sumQMin: (0, import_shared.toBigNumber)(makerData.sum_q_min),
198
- qScore: (0, import_shared.toBigNumber)(makerData.q_score),
199
- makerShare: (0, import_shared.toBigNumber)(makerData.maker_share),
200
- expectedMakerReward: (0, import_shared.toBigNumber)(makerData.expected_maker_reward)
201
- };
202
- })
203
- };
135
+ return {
136
+ address: maker.address,
137
+ snapshots: maker.data.map((makerData) => {
138
+ return {
139
+ timestamp: (0, _nadohq_shared.toBigNumber)(makerData.timestamp),
140
+ makerFee: (0, _nadohq_shared.toBigNumber)(makerData.maker_fee),
141
+ uptime: (0, _nadohq_shared.toBigNumber)(makerData.uptime),
142
+ sumQMin: (0, _nadohq_shared.toBigNumber)(makerData.sum_q_min),
143
+ qScore: (0, _nadohq_shared.toBigNumber)(makerData.q_score),
144
+ makerShare: (0, _nadohq_shared.toBigNumber)(makerData.maker_share),
145
+ expectedMakerReward: (0, _nadohq_shared.toBigNumber)(makerData.expected_maker_reward)
146
+ };
147
+ })
148
+ };
204
149
  }
205
150
  function mapIndexerLeaderboardPosition(position) {
206
- const tracks = (0, import_shared.mapValues)(position.tracks, (trackData) => ({
207
- value: (0, import_shared.toBigNumber)(trackData.value),
208
- rank: (0, import_shared.toBigNumber)(trackData.rank),
209
- qualificationStatus: trackData.qualification_status
210
- }));
211
- return {
212
- subaccount: (0, import_shared.subaccountFromHex)(position.subaccount),
213
- contestId: position.contest_id,
214
- accountValue: (0, import_shared.toBigNumber)(position.account_value),
215
- updateTime: (0, import_shared.toBigNumber)(position.update_time),
216
- tracks,
217
- socialAccounts: position.social_accounts.map((account) => ({
218
- provider: account.provider,
219
- username: account.username,
220
- displayName: account.display_name,
221
- profileImageUrl: account.profile_image_url
222
- }))
223
- };
151
+ const tracks = (0, _nadohq_shared.mapValues)(position.tracks, (trackData) => ({
152
+ value: (0, _nadohq_shared.toBigNumber)(trackData.value),
153
+ rank: (0, _nadohq_shared.toBigNumber)(trackData.rank),
154
+ qualificationStatus: trackData.qualification_status
155
+ }));
156
+ return {
157
+ subaccount: (0, _nadohq_shared.subaccountFromHex)(position.subaccount),
158
+ contestId: position.contest_id,
159
+ accountValue: (0, _nadohq_shared.toBigNumber)(position.account_value),
160
+ updateTime: (0, _nadohq_shared.toBigNumber)(position.update_time),
161
+ tracks,
162
+ socialAccounts: position.social_accounts.map((account) => ({
163
+ provider: account.provider,
164
+ username: account.username,
165
+ displayName: account.display_name,
166
+ profileImageUrl: account.profile_image_url
167
+ }))
168
+ };
224
169
  }
225
170
  function mapIndexerLeaderboardRegistration(registration) {
226
- return {
227
- subaccount: (0, import_shared.subaccountFromHex)(registration.subaccount),
228
- contestId: registration.contest_id,
229
- updateTime: (0, import_shared.toBigNumber)(registration.update_time)
230
- };
171
+ return {
172
+ subaccount: (0, _nadohq_shared.subaccountFromHex)(registration.subaccount),
173
+ contestId: registration.contest_id,
174
+ updateTime: (0, _nadohq_shared.toBigNumber)(registration.update_time)
175
+ };
231
176
  }
232
177
  function mapIndexerLeaderboardContest(contest) {
233
- const startTime = (0, import_shared.toBigNumber)(contest.start_time);
234
- const endTime = (0, import_shared.toBigNumber)(contest.end_time);
235
- return {
236
- contestId: contest.contest_id,
237
- startTime,
238
- endTime,
239
- totalParticipants: (0, import_shared.toBigNumber)(contest.count),
240
- requiredProductIds: contest.product_ids,
241
- active: contest.active,
242
- lastUpdated: (0, import_shared.toBigNumber)(contest.last_updated),
243
- title: contest.title,
244
- description: contest.description,
245
- tracks: contest.tracks.map((track) => ({
246
- trackId: track.track_id,
247
- rankType: track.rank_type,
248
- sortOrder: track.sort_order,
249
- minRequiredAccountValue: (0, import_shared.toBigNumber)(track.threshold)
250
- }))
251
- };
178
+ const startTime = (0, _nadohq_shared.toBigNumber)(contest.start_time);
179
+ const endTime = (0, _nadohq_shared.toBigNumber)(contest.end_time);
180
+ return {
181
+ contestId: contest.contest_id,
182
+ startTime,
183
+ endTime,
184
+ totalParticipants: (0, _nadohq_shared.toBigNumber)(contest.count),
185
+ requiredProductIds: contest.product_ids,
186
+ active: contest.active,
187
+ lastUpdated: (0, _nadohq_shared.toBigNumber)(contest.last_updated),
188
+ title: contest.title,
189
+ description: contest.description,
190
+ tracks: contest.tracks.map((track) => ({
191
+ trackId: track.track_id,
192
+ rankType: track.rank_type,
193
+ sortOrder: track.sort_order,
194
+ minRequiredAccountValue: (0, _nadohq_shared.toBigNumber)(track.threshold)
195
+ }))
196
+ };
252
197
  }
253
198
  function mapIndexerCandlesticks(candlestick) {
254
- return {
255
- close: (0, import_shared.removeDecimals)(candlestick.close_x18),
256
- high: (0, import_shared.removeDecimals)(candlestick.high_x18),
257
- low: (0, import_shared.removeDecimals)(candlestick.low_x18),
258
- open: (0, import_shared.removeDecimals)(candlestick.open_x18),
259
- time: (0, import_shared.toBigNumber)(candlestick.timestamp),
260
- volume: (0, import_shared.toBigNumber)(candlestick.volume)
261
- };
199
+ return {
200
+ close: (0, _nadohq_shared.removeDecimals)(candlestick.close_x18),
201
+ high: (0, _nadohq_shared.removeDecimals)(candlestick.high_x18),
202
+ low: (0, _nadohq_shared.removeDecimals)(candlestick.low_x18),
203
+ open: (0, _nadohq_shared.removeDecimals)(candlestick.open_x18),
204
+ time: (0, _nadohq_shared.toBigNumber)(candlestick.timestamp),
205
+ volume: (0, _nadohq_shared.toBigNumber)(candlestick.volume)
206
+ };
262
207
  }
263
208
  function mapIndexerMarketSnapshot(snapshot) {
264
- return {
265
- timestamp: (0, import_shared.toBigNumber)(snapshot.timestamp),
266
- cumulativeUsers: (0, import_shared.toBigNumber)(snapshot.cumulative_users),
267
- dailyActiveUsers: (0, import_shared.toBigNumber)(snapshot.daily_active_users),
268
- tvl: (0, import_shared.toBigNumber)(snapshot.tvl),
269
- borrowRates: (0, import_shared.mapValues)(
270
- snapshot.borrow_rates,
271
- (value) => (0, import_shared.removeDecimals)(value)
272
- ),
273
- cumulativeLiquidationAmounts: (0, import_shared.mapValues)(
274
- snapshot.cumulative_liquidation_amounts,
275
- import_shared.toBigNumber
276
- ),
277
- cumulativeMakerFees: (0, import_shared.mapValues)(snapshot.cumulative_maker_fees, import_shared.toBigNumber),
278
- cumulativeSequencerFees: (0, import_shared.mapValues)(
279
- snapshot.cumulative_sequencer_fees,
280
- import_shared.toBigNumber
281
- ),
282
- cumulativeTakerFees: (0, import_shared.mapValues)(snapshot.cumulative_taker_fees, import_shared.toBigNumber),
283
- cumulativeTrades: (0, import_shared.mapValues)(snapshot.cumulative_trades, import_shared.toBigNumber),
284
- cumulativeVolumes: (0, import_shared.mapValues)(snapshot.cumulative_volumes, import_shared.toBigNumber),
285
- depositRates: (0, import_shared.mapValues)(
286
- snapshot.deposit_rates,
287
- (value) => (0, import_shared.removeDecimals)(value)
288
- ),
289
- fundingRates: (0, import_shared.mapValues)(
290
- snapshot.funding_rates,
291
- (value) => (0, import_shared.removeDecimals)(value)
292
- ),
293
- openInterestsQuote: (0, import_shared.mapValues)(snapshot.open_interests, import_shared.toBigNumber),
294
- totalBorrows: (0, import_shared.mapValues)(snapshot.total_borrows, import_shared.toBigNumber),
295
- totalDeposits: (0, import_shared.mapValues)(snapshot.total_deposits, import_shared.toBigNumber),
296
- cumulativeTradeSizes: (0, import_shared.mapValues)(
297
- snapshot.cumulative_trade_sizes,
298
- import_shared.toBigNumber
299
- ),
300
- cumulativeInflows: (0, import_shared.mapValues)(snapshot.cumulative_inflows, import_shared.toBigNumber),
301
- cumulativeOutflows: (0, import_shared.mapValues)(snapshot.cumulative_outflows, import_shared.toBigNumber),
302
- oraclePrices: (0, import_shared.mapValues)(
303
- snapshot.oracle_prices,
304
- (value) => (0, import_shared.removeDecimals)(value)
305
- )
306
- };
209
+ return {
210
+ timestamp: (0, _nadohq_shared.toBigNumber)(snapshot.timestamp),
211
+ cumulativeUsers: (0, _nadohq_shared.toBigNumber)(snapshot.cumulative_users),
212
+ dailyActiveUsers: (0, _nadohq_shared.toBigNumber)(snapshot.daily_active_users),
213
+ tvl: (0, _nadohq_shared.toBigNumber)(snapshot.tvl),
214
+ borrowRates: (0, _nadohq_shared.mapValues)(snapshot.borrow_rates, (value) => (0, _nadohq_shared.removeDecimals)(value)),
215
+ cumulativeLiquidationAmounts: (0, _nadohq_shared.mapValues)(snapshot.cumulative_liquidation_amounts, _nadohq_shared.toBigNumber),
216
+ cumulativeMakerFees: (0, _nadohq_shared.mapValues)(snapshot.cumulative_maker_fees, _nadohq_shared.toBigNumber),
217
+ cumulativeSequencerFees: (0, _nadohq_shared.mapValues)(snapshot.cumulative_sequencer_fees, _nadohq_shared.toBigNumber),
218
+ cumulativeTakerFees: (0, _nadohq_shared.mapValues)(snapshot.cumulative_taker_fees, _nadohq_shared.toBigNumber),
219
+ cumulativeTrades: (0, _nadohq_shared.mapValues)(snapshot.cumulative_trades, _nadohq_shared.toBigNumber),
220
+ cumulativeVolumes: (0, _nadohq_shared.mapValues)(snapshot.cumulative_volumes, _nadohq_shared.toBigNumber),
221
+ depositRates: (0, _nadohq_shared.mapValues)(snapshot.deposit_rates, (value) => (0, _nadohq_shared.removeDecimals)(value)),
222
+ fundingRates: (0, _nadohq_shared.mapValues)(snapshot.funding_rates, (value) => (0, _nadohq_shared.removeDecimals)(value)),
223
+ openInterestsQuote: (0, _nadohq_shared.mapValues)(snapshot.open_interests, _nadohq_shared.toBigNumber),
224
+ totalBorrows: (0, _nadohq_shared.mapValues)(snapshot.total_borrows, _nadohq_shared.toBigNumber),
225
+ totalDeposits: (0, _nadohq_shared.mapValues)(snapshot.total_deposits, _nadohq_shared.toBigNumber),
226
+ cumulativeTradeSizes: (0, _nadohq_shared.mapValues)(snapshot.cumulative_trade_sizes, _nadohq_shared.toBigNumber),
227
+ cumulativeInflows: (0, _nadohq_shared.mapValues)(snapshot.cumulative_inflows, _nadohq_shared.toBigNumber),
228
+ cumulativeOutflows: (0, _nadohq_shared.mapValues)(snapshot.cumulative_outflows, _nadohq_shared.toBigNumber),
229
+ oraclePrices: (0, _nadohq_shared.mapValues)(snapshot.oracle_prices, (value) => (0, _nadohq_shared.removeDecimals)(value))
230
+ };
307
231
  }
308
232
  function mapIndexerNlpSnapshot(snapshot) {
309
- return {
310
- submissionIndex: snapshot.submission_idx,
311
- timestamp: (0, import_shared.toBigNumber)(snapshot.timestamp),
312
- cumulativeBurnAmountQuote: (0, import_shared.toBigNumber)(snapshot.cumulative_burn_quote),
313
- cumulativeMintAmountQuote: (0, import_shared.toBigNumber)(snapshot.cumulative_mint_quote),
314
- cumulativePnl: (0, import_shared.toBigNumber)(snapshot.cumulative_pnl),
315
- cumulativeTrades: (0, import_shared.toBigNumber)(snapshot.cumulative_trades),
316
- cumulativeVolume: (0, import_shared.toBigNumber)(snapshot.cumulative_volume),
317
- depositors: (0, import_shared.toBigNumber)(snapshot.depositors),
318
- oraclePrice: (0, import_shared.removeDecimals)(snapshot.oracle_price_x18),
319
- tvl: (0, import_shared.toBigNumber)(snapshot.tvl)
320
- };
233
+ return {
234
+ submissionIndex: snapshot.submission_idx,
235
+ timestamp: (0, _nadohq_shared.toBigNumber)(snapshot.timestamp),
236
+ cumulativeBurnAmountQuote: (0, _nadohq_shared.toBigNumber)(snapshot.cumulative_burn_quote),
237
+ cumulativeMintAmountQuote: (0, _nadohq_shared.toBigNumber)(snapshot.cumulative_mint_quote),
238
+ cumulativePnl: (0, _nadohq_shared.toBigNumber)(snapshot.cumulative_pnl),
239
+ cumulativeTrades: (0, _nadohq_shared.toBigNumber)(snapshot.cumulative_trades),
240
+ cumulativeVolume: (0, _nadohq_shared.toBigNumber)(snapshot.cumulative_volume),
241
+ depositors: (0, _nadohq_shared.toBigNumber)(snapshot.depositors),
242
+ oraclePrice: (0, _nadohq_shared.removeDecimals)(snapshot.oracle_price_x18),
243
+ tvl: (0, _nadohq_shared.toBigNumber)(snapshot.tvl)
244
+ };
321
245
  }
322
246
  function mapIndexerV2Ticker(ticker) {
323
- return {
324
- productId: ticker.product_id,
325
- tickerId: ticker.ticker_id,
326
- baseCurrency: ticker.base_currency,
327
- quoteCurrency: ticker.quote_currency,
328
- lastPrice: ticker.last_price,
329
- baseVolume: ticker.base_volume,
330
- quoteVolume: ticker.quote_volume,
331
- priceChangePercent24h: ticker.price_change_percent_24h
332
- };
247
+ return {
248
+ productId: ticker.product_id,
249
+ tickerId: ticker.ticker_id,
250
+ baseCurrency: ticker.base_currency,
251
+ quoteCurrency: ticker.quote_currency,
252
+ lastPrice: ticker.last_price,
253
+ baseVolume: ticker.base_volume,
254
+ quoteVolume: ticker.quote_volume,
255
+ priceChangePercent24h: ticker.price_change_percent_24h
256
+ };
333
257
  }
334
258
  function mapIndexerV2MarketHours(hours) {
335
- return {
336
- isOpen: hours.is_open,
337
- reason: hours.reason,
338
- nextClose: hours.next_close,
339
- nextOpen: hours.next_open
340
- };
259
+ return {
260
+ isOpen: hours.is_open,
261
+ reason: hours.reason,
262
+ nextClose: hours.next_close,
263
+ nextOpen: hours.next_open
264
+ };
341
265
  }
342
266
  function mapIndexerV2Symbols(symbol) {
343
- return {
344
- type: symbol.type,
345
- productId: symbol.product_id,
346
- symbol: symbol.symbol,
347
- priceIncrement: (0, import_shared.removeDecimals)(symbol.price_increment_x18),
348
- sizeIncrement: symbol.size_increment,
349
- minSize: symbol.min_size,
350
- makerFeeRate: (0, import_shared.removeDecimals)(symbol.maker_fee_rate_x18),
351
- takerFeeRate: (0, import_shared.removeDecimals)(symbol.taker_fee_rate_x18),
352
- longWeightInitial: (0, import_shared.removeDecimals)(symbol.long_weight_initial_x18),
353
- longWeightMaintenance: (0, import_shared.removeDecimals)(symbol.long_weight_maintenance_x18),
354
- maxOpenInterest: symbol.max_open_interest_x18 ? (0, import_shared.removeDecimals)(symbol.max_open_interest_x18) : null,
355
- exchangeRate: symbol.exchange_rate_x18 ? (0, import_shared.removeDecimals)(symbol.exchange_rate_x18) : null,
356
- tradingStatus: symbol.trading_status,
357
- isolatedOnly: symbol.isolated_only,
358
- marketHours: symbol.market_hours ? mapIndexerV2MarketHours(symbol.market_hours) : null,
359
- boostType: symbol.boost_type ?? null,
360
- takerMultiplier: symbol.taker_multiplier ?? null,
361
- makerMultiplier: symbol.maker_multiplier ?? null
362
- };
267
+ return {
268
+ type: symbol.type,
269
+ productId: symbol.product_id,
270
+ symbol: symbol.symbol,
271
+ priceIncrement: (0, _nadohq_shared.removeDecimals)(symbol.price_increment_x18),
272
+ sizeIncrement: symbol.size_increment,
273
+ minSize: symbol.min_size,
274
+ makerFeeRate: (0, _nadohq_shared.removeDecimals)(symbol.maker_fee_rate_x18),
275
+ takerFeeRate: (0, _nadohq_shared.removeDecimals)(symbol.taker_fee_rate_x18),
276
+ longWeightInitial: (0, _nadohq_shared.removeDecimals)(symbol.long_weight_initial_x18),
277
+ longWeightMaintenance: (0, _nadohq_shared.removeDecimals)(symbol.long_weight_maintenance_x18),
278
+ maxOpenInterest: symbol.max_open_interest_x18 ? (0, _nadohq_shared.removeDecimals)(symbol.max_open_interest_x18) : null,
279
+ exchangeRate: symbol.exchange_rate_x18 ? (0, _nadohq_shared.removeDecimals)(symbol.exchange_rate_x18) : null,
280
+ tradingStatus: symbol.trading_status,
281
+ isolatedOnly: symbol.isolated_only,
282
+ marketHours: symbol.market_hours ? mapIndexerV2MarketHours(symbol.market_hours) : null,
283
+ boostType: symbol.boost_type ?? null,
284
+ takerMultiplier: symbol.taker_multiplier ?? null,
285
+ makerMultiplier: symbol.maker_multiplier ?? null
286
+ };
363
287
  }
364
- // Annotate the CommonJS export names for ESM import in node:
365
- 0 && (module.exports = {
366
- mapIndexerCandlesticks,
367
- mapIndexerEvent,
368
- mapIndexerEventWithTx,
369
- mapIndexerFundingRate,
370
- mapIndexerLeaderboardContest,
371
- mapIndexerLeaderboardPosition,
372
- mapIndexerLeaderboardRegistration,
373
- mapIndexerMakerStatistics,
374
- mapIndexerMarketSnapshot,
375
- mapIndexerMatchEventBalances,
376
- mapIndexerNlpSnapshot,
377
- mapIndexerOrder,
378
- mapIndexerPerpPrices,
379
- mapIndexerProductPayment,
380
- mapIndexerServerBalance,
381
- mapIndexerServerProduct,
382
- mapIndexerV2MarketHours,
383
- mapIndexerV2Symbols,
384
- mapIndexerV2Ticker,
385
- mapSnapshotsIntervalToServerParams
386
- });
288
+ //#endregion
289
+ exports.mapIndexerCandlesticks = mapIndexerCandlesticks;
290
+ exports.mapIndexerEvent = mapIndexerEvent;
291
+ exports.mapIndexerEventWithTx = mapIndexerEventWithTx;
292
+ exports.mapIndexerFundingRate = mapIndexerFundingRate;
293
+ exports.mapIndexerLeaderboardContest = mapIndexerLeaderboardContest;
294
+ exports.mapIndexerLeaderboardPosition = mapIndexerLeaderboardPosition;
295
+ exports.mapIndexerLeaderboardRegistration = mapIndexerLeaderboardRegistration;
296
+ exports.mapIndexerMakerStatistics = mapIndexerMakerStatistics;
297
+ exports.mapIndexerMarketSnapshot = mapIndexerMarketSnapshot;
298
+ exports.mapIndexerMatchEventBalances = mapIndexerMatchEventBalances;
299
+ exports.mapIndexerNlpSnapshot = mapIndexerNlpSnapshot;
300
+ exports.mapIndexerOrder = mapIndexerOrder;
301
+ exports.mapIndexerPerpPrices = mapIndexerPerpPrices;
302
+ exports.mapIndexerProductPayment = mapIndexerProductPayment;
303
+ exports.mapIndexerServerBalance = mapIndexerServerBalance;
304
+ exports.mapIndexerServerProduct = mapIndexerServerProduct;
305
+ exports.mapIndexerV2MarketHours = mapIndexerV2MarketHours;
306
+ exports.mapIndexerV2Symbols = mapIndexerV2Symbols;
307
+ exports.mapIndexerV2Ticker = mapIndexerV2Ticker;
308
+ exports.mapSnapshotsIntervalToServerParams = mapSnapshotsIntervalToServerParams;
309
+
387
310
  //# sourceMappingURL=dataMappers.cjs.map