@dodoex/widgets 2.4.2-3 → 2.4.2-4
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.
|
@@ -12,8 +12,5 @@ export declare type APIServices = {
|
|
|
12
12
|
export declare const AppUrl = "https://app.dodoex.io";
|
|
13
13
|
export declare const getCGTokenListAPI: (chainId: ChainId) => any;
|
|
14
14
|
export declare const RoutePriceAPI = "https://api.dodoex.io/route-service/v2/widget/getdodoroute";
|
|
15
|
-
export declare const FiatPriceAPI = "https://api.dodoex.io/frontend-price-api";
|
|
16
|
-
export declare const BridgeRoutePriceAPI: string;
|
|
17
|
-
export declare const BridgeEncodeAPI: string;
|
|
18
|
-
export declare const BridgeCreateRouteAPI: string;
|
|
15
|
+
export declare const FiatPriceAPI = "https://api.dodoex.io/frontend-price-api/current/batch";
|
|
19
16
|
export declare function getAPIService(key: APIServiceKey, serviceProps?: Partial<APIServices>): string;
|
|
@@ -17,8 +17,9 @@ export interface BridgeOrderCreateParams {
|
|
|
17
17
|
productParams: BridgeRouteI['productParams'];
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
export declare function createBridgeOrder({ apikey, tx, route, }: {
|
|
20
|
+
export declare function createBridgeOrder({ apikey, tx, route, bridgeCreateRouteAPI, }: {
|
|
21
21
|
apikey?: string;
|
|
22
22
|
tx: string;
|
|
23
23
|
route: BridgeRouteI;
|
|
24
|
+
bridgeCreateRouteAPI: string;
|
|
24
25
|
}): Promise<any>;
|