@rabby-wallet/rabby-api 0.9.20-beta.0 → 0.9.20
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 -2
- package/dist/index.js +0 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AxiosAdapter, AxiosRequestConfig } from 'axios';
|
|
2
2
|
import { RateLimitedAxiosInstance } from 'axios-rate-limit';
|
|
3
3
|
import { InitOptions, RabbyApiPlugin } from './plugins/intf';
|
|
4
|
-
import { AddrDescResponse, BridgeAggregator, ApprovalStatus, AssetItem, BasicDappInfo, CEXQuote, Cex, ChainListItem, ChainWithPendingCount, Collection, CollectionList, CollectionWithFloorPrice, ComplexProtocol, ContractCredit, DbkBridgeHistoryItem, ExplainTxResponse, ExplainTypedDataResponse, GasLevel, GetTxResponse, HistoryCurve, LatestExplainTxResponse, MempoolCheckDetail, NFTApprovalResponse, NFTItem, NodeStatus, NodeStatusDetail, ParseTextResponse, ParseTxResponse, ParseTypedDataResponse, PendingTxItem, Protocol, SecurityCheckResponse, ServerChain, SlippageStatus, Summary, SupportedChain, SwapTradeList, TokenApproval, TokenItem, TotalBalanceResponse, Tx, TxAllHistoryResult, TxHistoryResult, TxPushType, TxRequest, UsedChain, BridgeTokenPair, BridgeQuote, BridgeHistory, ContractInfo, GasAccountCheckResult, ParseCommonResponse, WithdrawListAddressItem, BuyCountryItem, BuyQuoteItem, BuyHistoryList, BuyPaymentMethod, GasAccountInfo, TokenEntityDetail, TokenItemWithEntity
|
|
4
|
+
import { AddrDescResponse, BridgeAggregator, ApprovalStatus, AssetItem, BasicDappInfo, CEXQuote, Cex, ChainListItem, ChainWithPendingCount, Collection, CollectionList, CollectionWithFloorPrice, ComplexProtocol, ContractCredit, DbkBridgeHistoryItem, ExplainTxResponse, ExplainTypedDataResponse, GasLevel, GetTxResponse, HistoryCurve, LatestExplainTxResponse, MempoolCheckDetail, NFTApprovalResponse, NFTItem, NodeStatus, NodeStatusDetail, ParseTextResponse, ParseTxResponse, ParseTypedDataResponse, PendingTxItem, Protocol, SecurityCheckResponse, ServerChain, SlippageStatus, Summary, SupportedChain, SwapTradeList, TokenApproval, TokenItem, TotalBalanceResponse, Tx, TxAllHistoryResult, TxHistoryResult, TxPushType, TxRequest, UsedChain, BridgeTokenPair, BridgeQuote, BridgeHistory, ContractInfo, GasAccountCheckResult, ParseCommonResponse, WithdrawListAddressItem, BuyCountryItem, BuyQuoteItem, BuyHistoryList, BuyPaymentMethod, GasAccountInfo, TokenEntityDetail, TokenItemWithEntity } from './types';
|
|
5
5
|
interface OpenApiStore {
|
|
6
6
|
host: string;
|
|
7
7
|
testnetHost?: string;
|
|
@@ -537,6 +537,7 @@ export declare class OpenApiService {
|
|
|
537
537
|
chain_id?: string;
|
|
538
538
|
start?: number;
|
|
539
539
|
limit?: number;
|
|
540
|
+
match_id?: boolean;
|
|
540
541
|
}) => Promise<{
|
|
541
542
|
page: {
|
|
542
543
|
limit: number;
|
|
@@ -1135,6 +1136,5 @@ export declare class OpenApiService {
|
|
|
1135
1136
|
gas_used?: number;
|
|
1136
1137
|
safe_gas_used?: number;
|
|
1137
1138
|
}>;
|
|
1138
|
-
getCexSupportList: () => Promise<ProjectItem[]>;
|
|
1139
1139
|
}
|
|
1140
1140
|
export {};
|
package/dist/index.js
CHANGED
|
@@ -1511,10 +1511,6 @@ export class OpenApiService {
|
|
|
1511
1511
|
});
|
|
1512
1512
|
return data;
|
|
1513
1513
|
});
|
|
1514
|
-
this.getCexSupportList = () => __awaiter(this, void 0, void 0, function* () {
|
|
1515
|
-
const { data } = yield this.request.get('/v1/cex/supported_list');
|
|
1516
|
-
return data;
|
|
1517
|
-
});
|
|
1518
1514
|
if (store instanceof Promise) {
|
|
1519
1515
|
store.then((resolvedStore) => {
|
|
1520
1516
|
this.store = resolvedStore;
|