@skip-go/widget 3.1.13 → 3.1.14-alpha.1
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
CHANGED
|
@@ -211,6 +211,11 @@ export declare type WidgetProps = {
|
|
|
211
211
|
routeConfig?: WidgetRouteConfig;
|
|
212
212
|
filter?: ChainFilter;
|
|
213
213
|
walletConnect?: WalletConnect;
|
|
214
|
+
/**
|
|
215
|
+
* enables sentry session replays on the widget to help with troubleshooting errors
|
|
216
|
+
* https://docs.sentry.io/product/explore/session-replay/web/
|
|
217
|
+
*/
|
|
218
|
+
enableSentrySessionReplays?: boolean;
|
|
214
219
|
/**
|
|
215
220
|
* Map of connected wallet addresses, allowing your app to pass pre-connected addresses to the widget.
|
|
216
221
|
* This feature enables the widget to display a specific address as connected for a given chain.
|
|
@@ -222,12 +227,12 @@ export declare type WidgetProps = {
|
|
|
222
227
|
* <Widget connectedAddresses={{ "cosmoshub-4": "cosmos1...", "1": "0x..." }} />
|
|
223
228
|
* ```
|
|
224
229
|
*/
|
|
225
|
-
|
|
230
|
+
connectedAddresses?: Record<string, string | undefined>;
|
|
226
231
|
/**
|
|
227
|
-
*
|
|
228
|
-
*
|
|
232
|
+
* Allow widget to simulate transactions before executing the route to validating gas and balances.
|
|
233
|
+
* @default true
|
|
229
234
|
*/
|
|
230
|
-
|
|
235
|
+
simulate?: boolean;
|
|
231
236
|
} & Pick<NewSkipClientOptions, "apiUrl" | "chainIdsToAffiliates" | "endpointOptions" | "getCosmosSigner" | "getEVMSigner" | "getSVMSigner"> & Callbacks;
|
|
232
237
|
|
|
233
238
|
declare type WidgetRouteConfig = Omit<RouteConfig, "swapVenues" | "swapVenue"> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getAugmentedNamespace, c as commonjsGlobal, a as getDefaultExportFromCjs, p as process$1 } from "./index-
|
|
1
|
+
import { g as getAugmentedNamespace, c as commonjsGlobal, a as getDefaultExportFromCjs, p as process$1 } from "./index-_cvf1DWk.js";
|
|
2
2
|
import qg, { PROPOSAL_EXPIRY_MESSAGE } from "@walletconnect/sign-client";
|
|
3
3
|
const global = globalThis || void 0 || self;
|
|
4
4
|
var buffer$1 = {}, base64Js = {};
|
package/build/index.js
CHANGED