@skip-go/widget 3.0.5 → 3.0.7
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/build/index.d.ts +7 -4
- package/build/index.js +5559 -5854
- package/package.json +2 -2
package/build/index.d.ts
CHANGED
|
@@ -157,11 +157,14 @@ export declare type WidgetProps = {
|
|
|
157
157
|
*/
|
|
158
158
|
customGasAmount?: number;
|
|
159
159
|
};
|
|
160
|
-
routeConfig?:
|
|
161
|
-
swapVenues?: NewSwapVenueRequest[];
|
|
162
|
-
};
|
|
160
|
+
routeConfig?: WidgetRouteConfig;
|
|
163
161
|
filter?: ChainFilter;
|
|
164
|
-
} & NewSkipClientOptions
|
|
162
|
+
} & Pick<NewSkipClientOptions, "apiUrl" | "chainIdsToAffiliates" | "endpointOptions">;
|
|
163
|
+
|
|
164
|
+
declare type WidgetRouteConfig = Omit<RouteConfig, "swapVenues" | "swapVenue"> & {
|
|
165
|
+
swapVenues?: NewSwapVenueRequest[];
|
|
166
|
+
swapVenue?: NewSwapVenueRequest;
|
|
167
|
+
};
|
|
165
168
|
|
|
166
169
|
export { }
|
|
167
170
|
|