@proton/wrap-constants 0.2.129 → 0.2.130
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 +2 -3
- package/package.json +2 -2
- package/src/parsers/dex.ts +1 -5
package/dist/index.d.ts
CHANGED
|
@@ -10480,8 +10480,7 @@ declare const getHistoryTransactionResponseParser: z.ZodObject<{
|
|
|
10480
10480
|
};
|
|
10481
10481
|
} | null;
|
|
10482
10482
|
}>;
|
|
10483
|
-
declare type
|
|
10484
|
-
declare type GetHistoryTransactionParsed = z.output<typeof getHistoryTransactionResponseParser>;
|
|
10483
|
+
declare type GetHistoryTransactionResponse = z.input<typeof getHistoryTransactionResponseParser>;
|
|
10485
10484
|
/**
|
|
10486
10485
|
* History Actions
|
|
10487
10486
|
*/
|
|
@@ -12172,4 +12171,4 @@ declare const isInputInvalid: (data: string, value: string | number, pool: {
|
|
|
12172
12171
|
}) => boolean;
|
|
12173
12172
|
declare const applyDiscountToFee: (fee: number, staked: number) => number;
|
|
12174
12173
|
|
|
12175
|
-
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, GetDailyResponseParser, GetDepth, GetDepthParsed, GetDepthResponse, GetHistoryActions, GetHistoryActionsParsed, GetHistoryActionsResponse,
|
|
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, GetDailyResponseParser, GetDepth, GetDepthParsed, GetDepthResponse, GetHistoryActions, GetHistoryActionsParsed, GetHistoryActionsResponse, GetHistoryTransactionResponse, GetLeaderboard, GetLeaderboardParsed, GetLeaderboardResponseParser, GetMarketsResponse, GetOHLCV, GetOHLCVParsed, GetOHLCVResponse, GetOpenOrders, GetOpenOrdersParsed, GetOpenOrdersResponse, GetOrderHistory, GetOrderHistoryParsed, GetOrderHistoryResponse, GetOrderLifecycle, GetOrderLifecycleParsed, GetOrderLifecycleResponse, GetReferralTotals, GetReferralTotalsParsed, GetReferralTotalsResponseParser, GetReferrals, GetReferralsParsed, GetReferralsResponseParser, GetSyncResponse, GetTradeHistory, GetTradeHistoryParsed, GetTradeHistoryResponse, GetTrades, GetTradesParsed, GetTradesResponseParser, 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, Providers, Rate, RawPool, Referral, ReferralTotal, SerializeOrderParser, SerializeOrderResponse, Status, SubmitOrderParser, SubmitOrderResponse, 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, protonExplorerTxUrl, rateParser, receiptParser, refferalParser, refferalTotalParser, serializeOrderParser, serializeOrderResponseParser, similarChains, singleActionTransactionParser, submitOrderParser, submitOrderResponseParser, syncParser, traceParser, tradeLogParser, tradeParser, webauthActionParser, withdrawBodyParser, withdrawHistoryMetalResponseParser, withdrawHistoryMetalSwapParser, withdrawMetalResponseParser, withdrawalFeeQuoteParser, wrapParser, wrapSetConfParser, wrapStartParser };
|
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.130",
|
|
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": "73df3733d09b07e681faa19b23a8c61d4fad7af4"
|
|
44
44
|
}
|
package/src/parsers/dex.ts
CHANGED
|
@@ -615,13 +615,9 @@ export type HistoryTransaction = z.infer<typeof historyTransactionParser>;
|
|
|
615
615
|
export const getHistoryTransactionResponseParser = z.object({
|
|
616
616
|
data: historyTransactionParser.nullable(),
|
|
617
617
|
});
|
|
618
|
-
export type
|
|
618
|
+
export type GetHistoryTransactionResponse = z.input<
|
|
619
619
|
typeof getHistoryTransactionResponseParser
|
|
620
620
|
>;
|
|
621
|
-
export type GetHistoryTransactionParsed = z.output<
|
|
622
|
-
typeof getHistoryTransactionResponseParser
|
|
623
|
-
>;
|
|
624
|
-
|
|
625
621
|
|
|
626
622
|
/**
|
|
627
623
|
* History Actions
|