@proton/wrap-constants 0.2.130 → 0.2.132
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/index.d.ts +14 -14
- package/dist/index.js +12 -12
- package/dist/index.mjs +8 -8
- package/package.json +2 -2
- package/src/parsers/dex.ts +14 -14
package/dist/index.d.ts
CHANGED
|
@@ -7053,7 +7053,7 @@ declare type GetOrderLifecycleResponse = z.infer<typeof getOrderLifecycleRespons
|
|
|
7053
7053
|
/**
|
|
7054
7054
|
* Submit Order
|
|
7055
7055
|
*/
|
|
7056
|
-
declare const
|
|
7056
|
+
declare const postSubmitOrderParser: z.ZodObject<{
|
|
7057
7057
|
serialized_tx_hex: z.ZodString;
|
|
7058
7058
|
signatures: z.ZodArray<z.ZodString, "many">;
|
|
7059
7059
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7063,8 +7063,8 @@ declare const submitOrderParser: z.ZodObject<{
|
|
|
7063
7063
|
signatures: string[];
|
|
7064
7064
|
serialized_tx_hex: string;
|
|
7065
7065
|
}>;
|
|
7066
|
-
declare type
|
|
7067
|
-
declare const
|
|
7066
|
+
declare type PostSubmitOrder = z.infer<typeof postSubmitOrderParser>;
|
|
7067
|
+
declare const postSubmitOrderResponseParser: z.ZodObject<{
|
|
7068
7068
|
sync: z.ZodNumber;
|
|
7069
7069
|
data: z.ZodObject<{
|
|
7070
7070
|
trx_id: z.ZodString;
|
|
@@ -7122,11 +7122,11 @@ declare const submitOrderResponseParser: z.ZodObject<{
|
|
|
7122
7122
|
};
|
|
7123
7123
|
sync: number;
|
|
7124
7124
|
}>;
|
|
7125
|
-
declare type
|
|
7125
|
+
declare type PostSubmitOrderResponse = z.infer<typeof postSubmitOrderResponseParser>;
|
|
7126
7126
|
/**
|
|
7127
7127
|
* Serialize Order
|
|
7128
7128
|
*/
|
|
7129
|
-
declare const
|
|
7129
|
+
declare const postSerializeOrderParser: z.ZodObject<{
|
|
7130
7130
|
transaction: z.ZodObject<{
|
|
7131
7131
|
actions: z.ZodArray<z.ZodObject<{
|
|
7132
7132
|
account: z.ZodString;
|
|
@@ -7205,8 +7205,8 @@ declare const serializeOrderParser: z.ZodObject<{
|
|
|
7205
7205
|
}[];
|
|
7206
7206
|
};
|
|
7207
7207
|
}>;
|
|
7208
|
-
declare type
|
|
7209
|
-
declare const
|
|
7208
|
+
declare type PostSerializeOrder = z.infer<typeof postSerializeOrderParser>;
|
|
7209
|
+
declare const postSerializeOrderResponseParser: z.ZodObject<{
|
|
7210
7210
|
data: z.ZodObject<{
|
|
7211
7211
|
serialized_tx_hex: z.ZodString;
|
|
7212
7212
|
digest_hex: z.ZodString;
|
|
@@ -7228,7 +7228,7 @@ declare const serializeOrderResponseParser: z.ZodObject<{
|
|
|
7228
7228
|
digest_hex: string;
|
|
7229
7229
|
};
|
|
7230
7230
|
}>;
|
|
7231
|
-
declare type
|
|
7231
|
+
declare type PostSerializeOrderResponse = z.infer<typeof postSerializeOrderResponseParser>;
|
|
7232
7232
|
/**
|
|
7233
7233
|
* Depth
|
|
7234
7234
|
*/
|
|
@@ -7455,7 +7455,7 @@ declare const getDailyResponseParser: z.ZodObject<{
|
|
|
7455
7455
|
}[];
|
|
7456
7456
|
sync: number;
|
|
7457
7457
|
}>;
|
|
7458
|
-
declare type
|
|
7458
|
+
declare type GetDailyResponse = z.infer<typeof getDailyResponseParser>;
|
|
7459
7459
|
/**
|
|
7460
7460
|
* Markets
|
|
7461
7461
|
*/
|
|
@@ -8003,7 +8003,7 @@ declare const getTradesResponseParser: z.ZodObject<{
|
|
|
8003
8003
|
}[];
|
|
8004
8004
|
sync: number;
|
|
8005
8005
|
}>;
|
|
8006
|
-
declare type
|
|
8006
|
+
declare type GetTradesResponse = z.infer<typeof getTradesResponseParser>;
|
|
8007
8007
|
declare const getTradeHistoryParser: z.ZodObject<{
|
|
8008
8008
|
account: z.ZodString;
|
|
8009
8009
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -8279,7 +8279,7 @@ declare const getReferralTotalsResponseParser: z.ZodObject<{
|
|
|
8279
8279
|
}[];
|
|
8280
8280
|
sync: number;
|
|
8281
8281
|
}>;
|
|
8282
|
-
declare type
|
|
8282
|
+
declare type GetReferralTotalsResponse = z.infer<typeof getReferralTotalsResponseParser>;
|
|
8283
8283
|
/**
|
|
8284
8284
|
* Referrals
|
|
8285
8285
|
*/
|
|
@@ -8320,7 +8320,7 @@ declare const getReferralsResponseParser: z.ZodObject<{
|
|
|
8320
8320
|
}[];
|
|
8321
8321
|
sync: number;
|
|
8322
8322
|
}>;
|
|
8323
|
-
declare type
|
|
8323
|
+
declare type GetReferralsResponse = z.infer<typeof getReferralsResponseParser>;
|
|
8324
8324
|
/**
|
|
8325
8325
|
* Leaderboard
|
|
8326
8326
|
*/
|
|
@@ -8375,7 +8375,7 @@ declare const getLeaderboardResponseParser: z.ZodObject<{
|
|
|
8375
8375
|
}[];
|
|
8376
8376
|
sync: number;
|
|
8377
8377
|
}>;
|
|
8378
|
-
declare type
|
|
8378
|
+
declare type GetLeaderboardResponse = z.infer<typeof getLeaderboardResponseParser>;
|
|
8379
8379
|
/**
|
|
8380
8380
|
* History Transaction
|
|
8381
8381
|
*/
|
|
@@ -12171,4 +12171,4 @@ declare const isInputInvalid: (data: string, value: string | number, pool: {
|
|
|
12171
12171
|
}) => boolean;
|
|
12172
12172
|
declare const applyDiscountToFee: (fee: number, staked: number) => number;
|
|
12173
12173
|
|
|
12174
|
-
export { Address, Authorization, Authorizations, BloksRate, BloksRates, Chains, Coin, CoinWallet, CurrencyStat, CurrencyStats, Daily, DbHistoryTransaction, DbMarket, DepositBody, Depth, ExchangeRate, ExchangeRates, ExtendedAsset, ExtendedAssetParser, ExtendedToken, ExtendedTokenWithRate, FEE_FACTOR, GenerateAddressBody, GenerateAddressResponse, GenerateAuth, GenerateAuthBaseAction,
|
|
12174
|
+
export { Address, Authorization, Authorizations, BloksRate, BloksRates, Chains, Coin, CoinWallet, CurrencyStat, CurrencyStats, Daily, DbHistoryTransaction, DbMarket, DepositBody, Depth, ExchangeRate, ExchangeRates, ExtendedAsset, ExtendedAssetParser, ExtendedToken, ExtendedTokenWithRate, FEE_FACTOR, GenerateAddressBody, GenerateAddressResponse, GenerateAuth, GenerateAuthBaseAction, GetDailyResponse, GetDepth, GetDepthParsed, GetDepthResponse, GetHistoryActions, GetHistoryActionsParsed, GetHistoryActionsResponse, GetHistoryTransactionResponse, GetLeaderboard, GetLeaderboardParsed, GetLeaderboardResponse, GetMarketsResponse, GetOHLCV, GetOHLCVParsed, GetOHLCVResponse, GetOpenOrders, GetOpenOrdersParsed, GetOpenOrdersResponse, GetOrderHistory, GetOrderHistoryParsed, GetOrderHistoryResponse, GetOrderLifecycle, GetOrderLifecycleParsed, GetOrderLifecycleResponse, GetReferralTotals, GetReferralTotalsParsed, GetReferralTotalsResponse, GetReferrals, GetReferralsParsed, GetReferralsResponse, GetSyncResponse, GetTradeHistory, GetTradeHistoryParsed, GetTradeHistoryResponse, GetTrades, GetTradesParsed, GetTradesResponse, Graph, HistoryAccountRamDelta, HistoryAct, HistoryAction, HistoryActionTrace, HistoryPartial, HistoryReceipt, HistoryTrace, HistoryTransaction, ILink, INode, ITopics, Leaderboard, LoginAccountParamsV3, Market, MetalTransaction, Networks, OHLCV, OpenOrder, OrderHistory, OrderLog, OtcOrderResponse, OtcQuoteBody, OtcQuoteResponse, Pool, PoolTable, PostSerializeOrder, PostSerializeOrderResponse, PostSubmitOrder, PostSubmitOrderResponse, Providers, Rate, RawPool, Referral, ReferralTotal, Status, Sync, TOPICS, Trade, TradeLog, Type, WRAP_AUTH_ACTION, WRAP_CONTRACT, Wallet, WithdrawBody, WithdrawBodyBaseAction, WithdrawHistoryMetalResponse, WithdrawHistoryMetalSwap, WithdrawMetalResponse, WithdrawalFeeQuote, Wrap, WrapSetConf, WrapStart, accountParser, accountRamDeltaParser, actParser, actionTraceParser, addressParser, applyDiscountToFee, authorizationParser, authorizationsParser, baseActionParser, baseActionSerializedParser, bloksRatesParser, compute_liquidity, compute_transfer, compute_transfer_curve, createAbstractAuthParser, dailyParser, dbHistoryTransactionParser, dbMarketParser, depositBodyParser, depthParser, exchangeRateParser, exchangeRatesParser, explorerLinkByChain, fillType, generateAddressBodyParser, generateAddressResponse, generateAuthParser, getDailyResponseParser, getDepthParser, getDepthResponseParser, getHistoryActionsParser, getHistoryActionsResponseParser, getHistoryTransactionResponseParser, getLeaderboardParser, getLeaderboardResponseParser, getMarketsResponseParser, getOhlcvParser, getOhlcvResponseParser, getOpenOrdersParser, getOpenOrdersResponseParser, getOrderHistoryParser, getOrderHistoryResponseParser, getOrderLifecycleParser, getOrderLifecycleResponseParser, getReferralTotalsParser, getReferralTotalsResponseParser, getReferralsParser, getReferralsResponseParser, getSyncResponseParser, getTradeHistoryParser, getTradeHistoryResponseParser, getTradesParser, getTradesResponseParser, historyActionParser, historyPartialParser, historyTransactionParser, initializeCoins, initializeConstants, isInputInvalid, isSameToken, leaderboardParser, logStatus, loginAccountParamsV3Parser, marketParser, median, metalTransactionParser, ohlcvParser, openOrderParser, orderHistoryParser, orderLogParser, orderSide, orderType, otcOrderResponseParser, otcQuoteBodyParser, otcQuoteResponseParser, postSerializeOrderParser, postSerializeOrderResponseParser, postSubmitOrderParser, postSubmitOrderResponseParser, protonExplorerTxUrl, rateParser, receiptParser, refferalParser, refferalTotalParser, similarChains, singleActionTransactionParser, syncParser, traceParser, tradeLogParser, tradeParser, webauthActionParser, withdrawBodyParser, withdrawHistoryMetalResponseParser, withdrawHistoryMetalSwapParser, withdrawMetalResponseParser, withdrawalFeeQuoteParser, wrapParser, wrapSetConfParser, wrapStartParser };
|
package/dist/index.js
CHANGED
|
@@ -119,17 +119,17 @@ __export(src_exports, {
|
|
|
119
119
|
otcOrderResponseParser: () => otcOrderResponseParser,
|
|
120
120
|
otcQuoteBodyParser: () => otcQuoteBodyParser,
|
|
121
121
|
otcQuoteResponseParser: () => otcQuoteResponseParser,
|
|
122
|
+
postSerializeOrderParser: () => postSerializeOrderParser,
|
|
123
|
+
postSerializeOrderResponseParser: () => postSerializeOrderResponseParser,
|
|
124
|
+
postSubmitOrderParser: () => postSubmitOrderParser,
|
|
125
|
+
postSubmitOrderResponseParser: () => postSubmitOrderResponseParser,
|
|
122
126
|
protonExplorerTxUrl: () => protonExplorerTxUrl,
|
|
123
127
|
rateParser: () => rateParser,
|
|
124
128
|
receiptParser: () => receiptParser,
|
|
125
129
|
refferalParser: () => refferalParser,
|
|
126
130
|
refferalTotalParser: () => refferalTotalParser,
|
|
127
|
-
serializeOrderParser: () => serializeOrderParser,
|
|
128
|
-
serializeOrderResponseParser: () => serializeOrderResponseParser,
|
|
129
131
|
similarChains: () => similarChains,
|
|
130
132
|
singleActionTransactionParser: () => singleActionTransactionParser,
|
|
131
|
-
submitOrderParser: () => submitOrderParser,
|
|
132
|
-
submitOrderResponseParser: () => submitOrderResponseParser,
|
|
133
133
|
syncParser: () => syncParser,
|
|
134
134
|
traceParser: () => traceParser,
|
|
135
135
|
tradeLogParser: () => tradeLogParser,
|
|
@@ -2028,11 +2028,11 @@ var getOrderLifecycleResponseParser = z11.object({
|
|
|
2028
2028
|
sync: z11.number(),
|
|
2029
2029
|
data: z11.array(orderHistoryParser)
|
|
2030
2030
|
});
|
|
2031
|
-
var
|
|
2031
|
+
var postSubmitOrderParser = z11.object({
|
|
2032
2032
|
serialized_tx_hex: z11.string(),
|
|
2033
2033
|
signatures: z11.array(z11.string())
|
|
2034
2034
|
});
|
|
2035
|
-
var
|
|
2035
|
+
var postSubmitOrderResponseParser = z11.object({
|
|
2036
2036
|
sync: z11.number(),
|
|
2037
2037
|
data: z11.object({
|
|
2038
2038
|
trx_id: z11.string(),
|
|
@@ -2046,7 +2046,7 @@ var submitOrderResponseParser = z11.object({
|
|
|
2046
2046
|
)
|
|
2047
2047
|
})
|
|
2048
2048
|
});
|
|
2049
|
-
var
|
|
2049
|
+
var postSerializeOrderParser = z11.object({
|
|
2050
2050
|
transaction: z11.object({
|
|
2051
2051
|
actions: z11.array(
|
|
2052
2052
|
z11.object({
|
|
@@ -2058,7 +2058,7 @@ var serializeOrderParser = z11.object({
|
|
|
2058
2058
|
)
|
|
2059
2059
|
})
|
|
2060
2060
|
});
|
|
2061
|
-
var
|
|
2061
|
+
var postSerializeOrderResponseParser = z11.object({
|
|
2062
2062
|
data: z11.object({
|
|
2063
2063
|
serialized_tx_hex: z11.string(),
|
|
2064
2064
|
digest_hex: z11.string()
|
|
@@ -4149,17 +4149,17 @@ var applyDiscountToFee = (fee, staked) => {
|
|
|
4149
4149
|
otcOrderResponseParser,
|
|
4150
4150
|
otcQuoteBodyParser,
|
|
4151
4151
|
otcQuoteResponseParser,
|
|
4152
|
+
postSerializeOrderParser,
|
|
4153
|
+
postSerializeOrderResponseParser,
|
|
4154
|
+
postSubmitOrderParser,
|
|
4155
|
+
postSubmitOrderResponseParser,
|
|
4152
4156
|
protonExplorerTxUrl,
|
|
4153
4157
|
rateParser,
|
|
4154
4158
|
receiptParser,
|
|
4155
4159
|
refferalParser,
|
|
4156
4160
|
refferalTotalParser,
|
|
4157
|
-
serializeOrderParser,
|
|
4158
|
-
serializeOrderResponseParser,
|
|
4159
4161
|
similarChains,
|
|
4160
4162
|
singleActionTransactionParser,
|
|
4161
|
-
submitOrderParser,
|
|
4162
|
-
submitOrderResponseParser,
|
|
4163
4163
|
syncParser,
|
|
4164
4164
|
traceParser,
|
|
4165
4165
|
tradeLogParser,
|
package/dist/index.mjs
CHANGED
|
@@ -1880,11 +1880,11 @@ var getOrderLifecycleResponseParser = z11.object({
|
|
|
1880
1880
|
sync: z11.number(),
|
|
1881
1881
|
data: z11.array(orderHistoryParser)
|
|
1882
1882
|
});
|
|
1883
|
-
var
|
|
1883
|
+
var postSubmitOrderParser = z11.object({
|
|
1884
1884
|
serialized_tx_hex: z11.string(),
|
|
1885
1885
|
signatures: z11.array(z11.string())
|
|
1886
1886
|
});
|
|
1887
|
-
var
|
|
1887
|
+
var postSubmitOrderResponseParser = z11.object({
|
|
1888
1888
|
sync: z11.number(),
|
|
1889
1889
|
data: z11.object({
|
|
1890
1890
|
trx_id: z11.string(),
|
|
@@ -1898,7 +1898,7 @@ var submitOrderResponseParser = z11.object({
|
|
|
1898
1898
|
)
|
|
1899
1899
|
})
|
|
1900
1900
|
});
|
|
1901
|
-
var
|
|
1901
|
+
var postSerializeOrderParser = z11.object({
|
|
1902
1902
|
transaction: z11.object({
|
|
1903
1903
|
actions: z11.array(
|
|
1904
1904
|
z11.object({
|
|
@@ -1910,7 +1910,7 @@ var serializeOrderParser = z11.object({
|
|
|
1910
1910
|
)
|
|
1911
1911
|
})
|
|
1912
1912
|
});
|
|
1913
|
-
var
|
|
1913
|
+
var postSerializeOrderResponseParser = z11.object({
|
|
1914
1914
|
data: z11.object({
|
|
1915
1915
|
serialized_tx_hex: z11.string(),
|
|
1916
1916
|
digest_hex: z11.string()
|
|
@@ -4000,17 +4000,17 @@ export {
|
|
|
4000
4000
|
otcOrderResponseParser,
|
|
4001
4001
|
otcQuoteBodyParser,
|
|
4002
4002
|
otcQuoteResponseParser,
|
|
4003
|
+
postSerializeOrderParser,
|
|
4004
|
+
postSerializeOrderResponseParser,
|
|
4005
|
+
postSubmitOrderParser,
|
|
4006
|
+
postSubmitOrderResponseParser,
|
|
4003
4007
|
protonExplorerTxUrl,
|
|
4004
4008
|
rateParser,
|
|
4005
4009
|
receiptParser,
|
|
4006
4010
|
refferalParser,
|
|
4007
4011
|
refferalTotalParser,
|
|
4008
|
-
serializeOrderParser,
|
|
4009
|
-
serializeOrderResponseParser,
|
|
4010
4012
|
similarChains,
|
|
4011
4013
|
singleActionTransactionParser,
|
|
4012
|
-
submitOrderParser,
|
|
4013
|
-
submitOrderResponseParser,
|
|
4014
4014
|
syncParser,
|
|
4015
4015
|
traceParser,
|
|
4016
4016
|
tradeLogParser,
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
|
-
"version": "0.2.
|
|
8
|
+
"version": "0.2.132",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"main": "dist/index.js",
|
|
11
11
|
"typings": "dist/index.d.ts",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"resolutions": {
|
|
41
41
|
"typescript": "4.5"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "d06eb0bdf47755fad088a8a7c80a298d933e510d"
|
|
44
44
|
}
|
package/src/parsers/dex.ts
CHANGED
|
@@ -188,13 +188,13 @@ export type GetOrderLifecycleResponse = z.infer<
|
|
|
188
188
|
/**
|
|
189
189
|
* Submit Order
|
|
190
190
|
*/
|
|
191
|
-
export const
|
|
191
|
+
export const postSubmitOrderParser = z.object({
|
|
192
192
|
serialized_tx_hex: z.string(),
|
|
193
193
|
signatures: z.array(z.string()),
|
|
194
194
|
});
|
|
195
|
-
export type
|
|
195
|
+
export type PostSubmitOrder = z.infer<typeof postSubmitOrderParser>;
|
|
196
196
|
|
|
197
|
-
export const
|
|
197
|
+
export const postSubmitOrderResponseParser = z.object({
|
|
198
198
|
sync: z.number(),
|
|
199
199
|
data: z.object({
|
|
200
200
|
trx_id: z.string(),
|
|
@@ -208,12 +208,12 @@ export const submitOrderResponseParser = z.object({
|
|
|
208
208
|
),
|
|
209
209
|
}),
|
|
210
210
|
});
|
|
211
|
-
export type
|
|
211
|
+
export type PostSubmitOrderResponse = z.infer<typeof postSubmitOrderResponseParser>;
|
|
212
212
|
|
|
213
213
|
/**
|
|
214
214
|
* Serialize Order
|
|
215
215
|
*/
|
|
216
|
-
export const
|
|
216
|
+
export const postSerializeOrderParser = z.object({
|
|
217
217
|
transaction: z.object({
|
|
218
218
|
actions: z.array(
|
|
219
219
|
z.object({
|
|
@@ -226,16 +226,16 @@ export const serializeOrderParser = z.object({
|
|
|
226
226
|
}),
|
|
227
227
|
});
|
|
228
228
|
|
|
229
|
-
export type
|
|
229
|
+
export type PostSerializeOrder = z.infer<typeof postSerializeOrderParser>;
|
|
230
230
|
|
|
231
|
-
export const
|
|
231
|
+
export const postSerializeOrderResponseParser = z.object({
|
|
232
232
|
data: z.object({
|
|
233
233
|
serialized_tx_hex: z.string(),
|
|
234
234
|
digest_hex: z.string(),
|
|
235
235
|
}),
|
|
236
236
|
});
|
|
237
|
-
export type
|
|
238
|
-
typeof
|
|
237
|
+
export type PostSerializeOrderResponse = z.infer<
|
|
238
|
+
typeof postSerializeOrderResponseParser
|
|
239
239
|
>;
|
|
240
240
|
|
|
241
241
|
/**
|
|
@@ -286,7 +286,7 @@ export const getDailyResponseParser = z.object({
|
|
|
286
286
|
sync: z.number(),
|
|
287
287
|
data: z.array(dailyParser),
|
|
288
288
|
});
|
|
289
|
-
export type
|
|
289
|
+
export type GetDailyResponse = z.infer<typeof getDailyResponseParser>;
|
|
290
290
|
|
|
291
291
|
/**
|
|
292
292
|
* Markets
|
|
@@ -404,7 +404,7 @@ export const getTradesResponseParser = z.object({
|
|
|
404
404
|
sync: z.number(),
|
|
405
405
|
data: z.array(tradeParser),
|
|
406
406
|
});
|
|
407
|
-
export type
|
|
407
|
+
export type GetTradesResponse = z.infer<typeof getTradesResponseParser>;
|
|
408
408
|
|
|
409
409
|
export const getTradeHistoryParser = z.object({
|
|
410
410
|
account: z.string(),
|
|
@@ -469,7 +469,7 @@ export const getReferralTotalsResponseParser = z.object({
|
|
|
469
469
|
sync: z.number(),
|
|
470
470
|
data: z.array(refferalTotalParser),
|
|
471
471
|
});
|
|
472
|
-
export type
|
|
472
|
+
export type GetReferralTotalsResponse = z.infer<
|
|
473
473
|
typeof getReferralTotalsResponseParser
|
|
474
474
|
>;
|
|
475
475
|
|
|
@@ -491,7 +491,7 @@ export const getReferralsResponseParser = z.object({
|
|
|
491
491
|
sync: z.number(),
|
|
492
492
|
data: z.array(refferalParser),
|
|
493
493
|
});
|
|
494
|
-
export type
|
|
494
|
+
export type GetReferralsResponse = z.infer<
|
|
495
495
|
typeof getReferralsResponseParser
|
|
496
496
|
>;
|
|
497
497
|
|
|
@@ -516,7 +516,7 @@ export const getLeaderboardResponseParser = z.object({
|
|
|
516
516
|
sync: z.number(),
|
|
517
517
|
data: z.array(leaderboardParser),
|
|
518
518
|
});
|
|
519
|
-
export type
|
|
519
|
+
export type GetLeaderboardResponse = z.infer<
|
|
520
520
|
typeof getLeaderboardResponseParser
|
|
521
521
|
>;
|
|
522
522
|
|