@imtbl/checkout-widgets 2.4.1 → 2.4.2-alpha.0

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.
Files changed (25) hide show
  1. package/dist/browser/{AddTokensWidget-C7WvIzVB.js → AddTokensWidget-DyaSNxb9.js} +13 -13
  2. package/dist/browser/{BridgeWidget-B1Wu23zB.js → BridgeWidget-CC3HoG-f.js} +18 -18
  3. package/dist/browser/{CommerceWidget-DumWCWme.js → CommerceWidget-CTQ4KlsY.js} +171 -171
  4. package/dist/browser/{FeesBreakdown-BYJrY7h0.js → FeesBreakdown-CXCCZO8Y.js} +1 -1
  5. package/dist/browser/{OnRampWidget-DJ6lRZIv.js → OnRampWidget-D3mMWz-D.js} +5 -5
  6. package/dist/browser/{SaleWidget-CroZTFC-.js → SaleWidget-C3_vgKdS.js} +42 -42
  7. package/dist/browser/{SpendingCapHero-CwKV5CXn.js → SpendingCapHero-9hMtorO0.js} +1 -1
  8. package/dist/browser/{SwapWidget-C6I2fCpc.js → SwapWidget-B583872v.js} +15 -15
  9. package/dist/browser/{TokenImage-Bw5JLoGQ.js → TokenImage-DIQAWWQ8.js} +1 -1
  10. package/dist/browser/{TopUpView-DESM41IF.js → TopUpView-ZH8ArNep.js} +4 -4
  11. package/dist/browser/{WalletApproveHero-DZlFc1Nj.js → WalletApproveHero-OJwL-DBm.js} +3 -3
  12. package/dist/browser/{WalletWidget-hRjuhzEr.js → WalletWidget-BBu55NDF.js} +8 -8
  13. package/dist/browser/{auto-track-D__zrCK7.js → auto-track-CLMvF6S6.js} +1 -1
  14. package/dist/browser/{index-YeyP_iah.js → index-C0jRMAZA.js} +1 -1
  15. package/dist/browser/{index-CEfrmZzQ.js → index-C4XLneTe.js} +1 -1
  16. package/dist/browser/{index-DoMmAj9u.js → index-CN86wAag.js} +1 -1
  17. package/dist/browser/{index-BXlX70_L.js → index-D-N55IPR.js} +1 -1
  18. package/dist/browser/{index-CuJhn9sR.js → index-DFqiWhIF.js} +194 -194
  19. package/dist/browser/{index-BFyrNz4O.js → index-DLzYYXML.js} +2 -2
  20. package/dist/browser/{index-9wAv7OEf.js → index-VQiYAYMX.js} +1 -1
  21. package/dist/browser/{index-DQXCcnS_.js → index-lsDJnzuG.js} +1 -1
  22. package/dist/browser/index.js +1 -1
  23. package/dist/browser/{index.umd-D1wm4N7h.js → index.umd-v4vSwYO3.js} +1 -1
  24. package/dist/browser/{useInterval-BxDw5ss0.js → useInterval-Dp0AIWS5.js} +1 -1
  25. package/package.json +7 -7
@@ -1,6 +1,6 @@
1
- import { b as reactExports, ac as hFlex, ad as _defineProperty, ae as _objectWithoutProperties, af as useForwardLocalDomRef, ag as _slicedToArray, ah as useResizeObserver, Q as useTheme, ai as usePrevious, aj as useGetMotionProfile, ak as useBrowserEffect, al as merge, am as getHeadingTextStyles, an as getMotionProfileSx, ao as useConvertSxToEmotionStyles, ap as DUMMY_WIDTH_PUSHER_TEXT, x as jsxs, w as jsx, B as Box, aq as useGetSubcomponentChild, ar as flattenChildren, as as vFlex, at as centerFlexChildren, au as SmartClone, av as FormControlLabel, aw as FormControlValidation, ax as FormControlCaption, r as ro, R as Ro, ay as getDefaultExportFromCjs, az as commonjsGlobal, k as useTranslation, aA as Drawer, aB as Divider, H as Heading, y as Button, aC as useProvidersContext, F as useAnalytics, aD as WalletDrawer, aE as UnableToConnectDrawer, aF as Fragment, aG as qt, U as UserJourney, aH as removeSpace, aI as getProviderSlugFromRdns, aJ as D, aK as isPassportProvider, aL as connectEIP6963Provider, aM as identifyUser, aN as ConnectEIP6963ProviderError, aO as ProvidersContextActions, aP as MenuItem, aQ as Y, aR as SQUID_NATIVE_TOKEN, aS as commonjsRequire, X as getRemoteImage, aT as OnboardingPagination, aU as ViewContext, aV as useHandover, G as EventTargetContext, aW as HandoverTarget, V as ViewActions, t as getRemoteRive, aX as APPROVE_TXN_ANIMATION, aY as RiveStateMachineInput, aZ as HandoverContent, a_ as keyframes, e as ae, a$ as isNativeToken, b0 as getTokenImageByAddress, b1 as FramedImage, b2 as FramedIcon, b3 as ButtCon, b4 as TextInput, b5 as VerticalMenu, K as getDefaultTokenImage, b6 as TOKEN_PRIORITY_ORDER, D as Body, b7 as EllipsizedText, b8 as Tooltip, b9 as Sticker, ba as getDurationFormatted, bb as getTotalRouteFees, bc as getRouteAndTokenBalances, S as Stack, bd as Icon, be as Badge, bf as getFormattedAmounts, bg as getRemoteVideo, bh as FramedVideo, bi as listVariants, bj as motion, bk as listItemVariants, bl as Banner, bm as Ot, bn as xt, bo as useRoutes, bp as useInjectedProviders, bq as hn, br as RouteError, z as SimpleLayout, bs as dist, a5 as SharedViews, O as orchestrationEvents, bt as SquidFooter, bu as TOOLKIT_SQUID_URL, bv as merge$1, bw as SvgIcon, bx as WalletWarningHero, by as getFormattedNumber, bz as FIXED_HANDOVER_DURATION, bA as EXECUTE_TXN_ANIMATION, L as Link, bB as Trans, bC as useExecute, bD as getRouteChains, bE as t, bF as convertToNetworkChangeableProvider, bG as verifyAndSwitchChain, bH as PriceDisplay, a0 as LoadingView, bI as viewReducer, bJ as initialViewState, bK as useSquid, bL as useTokens, bM as v4, bN as K, bO as isValidAddress, P as amountInputValidation, bP as fetchChains, bQ as fetchBalances, W as CloudImage, a6 as ErrorView, bR as ServiceUnavailableErrorView } from './index-CuJhn9sR.js';
2
- import { T as TokenImage } from './TokenImage-Bw5JLoGQ.js';
3
- import { F as FeesBreakdown } from './FeesBreakdown-BYJrY7h0.js';
1
+ import { r as reactExports, ac as hFlex, ad as _defineProperty, ae as _objectWithoutProperties, af as useForwardLocalDomRef, ag as _slicedToArray, ah as useResizeObserver, Q as useTheme, ai as usePrevious, aj as useGetMotionProfile, ak as useBrowserEffect, al as merge, am as getHeadingTextStyles, an as getMotionProfileSx, ao as useConvertSxToEmotionStyles, ap as DUMMY_WIDTH_PUSHER_TEXT, x as jsxs, v as jsx, B as Box, aq as useGetSubcomponentChild, ar as flattenChildren, as as vFlex, at as centerFlexChildren, au as SmartClone, av as FormControlLabel, aw as FormControlValidation, ax as FormControlCaption, o as oo, C as Co, ay as getDefaultExportFromCjs, az as commonjsGlobal, k as useTranslation, aA as Drawer, aB as Divider, H as Heading, y as Button, aC as useProvidersContext, D as useAnalytics, aD as WalletDrawer, aE as UnableToConnectDrawer, aF as Fragment, aG as qt, U as UserJourney, aH as removeSpace, aI as getProviderSlugFromRdns, aJ as D, aK as isPassportProvider, aL as connectEIP6963Provider, aM as identifyUser, aN as ConnectEIP6963ProviderError, aO as ProvidersContextActions, aP as MenuItem, aQ as Y, aR as SQUID_NATIVE_TOKEN, aS as commonjsRequire, X as getRemoteImage, aT as OnboardingPagination, aU as ViewContext, aV as useHandover, F as EventTargetContext, aW as HandoverTarget, V as ViewActions, q as getRemoteRive, aX as APPROVE_TXN_ANIMATION, aY as RiveStateMachineInput, aZ as HandoverContent, a_ as keyframes, e as ae, a$ as isNativeToken, b0 as getTokenImageByAddress, b1 as FramedImage, b2 as FramedIcon, b3 as ButtCon, b4 as TextInput, b5 as VerticalMenu, J as getDefaultTokenImage, b6 as TOKEN_PRIORITY_ORDER, A as Body, b7 as EllipsizedText, b8 as Tooltip, b9 as Sticker, ba as getDurationFormatted, bb as getTotalRouteFees, bc as getRouteAndTokenBalances, S as Stack, bd as Icon, be as Badge, bf as getFormattedAmounts, bg as getRemoteVideo, bh as FramedVideo, bi as listVariants, bj as motion, bk as listItemVariants, bl as Banner, bm as Ot, bn as xt, bo as useRoutes, bp as useInjectedProviders, bq as hn, br as RouteError, z as SimpleLayout, bs as dist, a5 as SharedViews, N as orchestrationEvents, bt as SquidFooter, bu as TOOLKIT_SQUID_URL, bv as merge$1, bw as SvgIcon, bx as WalletWarningHero, by as getFormattedNumber, bz as FIXED_HANDOVER_DURATION, bA as EXECUTE_TXN_ANIMATION, L as Link, bB as Trans, bC as useExecute, bD as getRouteChains, bE as t, bF as convertToNetworkChangeableProvider, bG as verifyAndSwitchChain, bH as PriceDisplay, a0 as LoadingView, bI as viewReducer, bJ as initialViewState, bK as useSquid, bL as useTokens, bM as v4, bN as K, bO as isValidAddress, O as amountInputValidation, bP as fetchChains, bQ as fetchBalances, W as CloudImage, a6 as ErrorView, bR as ServiceUnavailableErrorView } from './index-DFqiWhIF.js';
2
+ import { T as TokenImage } from './TokenImage-DIQAWWQ8.js';
3
+ import { F as FeesBreakdown } from './FeesBreakdown-CXCCZO8Y.js';
4
4
 
5
5
  /**
6
6
  * The function `useInterval` sets up an interval that repeatedly calls a given callback function with
@@ -292,9 +292,9 @@ HeroFormControl.inputs = SUPPORTED_INPUT_COMPONENTS_MAP;
292
292
 
293
293
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
294
294
  function sendAddTokensCloseEvent(eventTarget) {
295
- const closeWidgetEvent = new CustomEvent(ro.IMTBL_ADD_TOKENS_WIDGET_EVENT, {
295
+ const closeWidgetEvent = new CustomEvent(oo.IMTBL_ADD_TOKENS_WIDGET_EVENT, {
296
296
  detail: {
297
- type: Ro.CLOSE_WIDGET,
297
+ type: Co.CLOSE_WIDGET,
298
298
  data: {},
299
299
  },
300
300
  });
@@ -305,9 +305,9 @@ function sendAddTokensCloseEvent(eventTarget) {
305
305
  eventTarget.dispatchEvent(closeWidgetEvent);
306
306
  }
307
307
  function sendConnectProviderSuccessEvent(eventTarget, providerType, provider, providerInfo) {
308
- const successEvent = new CustomEvent(ro.IMTBL_ADD_TOKENS_WIDGET_EVENT, {
308
+ const successEvent = new CustomEvent(oo.IMTBL_ADD_TOKENS_WIDGET_EVENT, {
309
309
  detail: {
310
- type: Ro.CONNECT_SUCCESS,
310
+ type: Co.CONNECT_SUCCESS,
311
311
  data: {
312
312
  provider,
313
313
  providerType,
@@ -321,9 +321,9 @@ function sendConnectProviderSuccessEvent(eventTarget, providerType, provider, pr
321
321
  eventTarget.dispatchEvent(successEvent);
322
322
  }
323
323
  const sendAddTokensSuccessEvent = (eventTarget, transactionHash) => {
324
- const successEvent = new CustomEvent(ro.IMTBL_ADD_TOKENS_WIDGET_EVENT, {
324
+ const successEvent = new CustomEvent(oo.IMTBL_ADD_TOKENS_WIDGET_EVENT, {
325
325
  detail: {
326
- type: Ro.SUCCESS,
326
+ type: Co.SUCCESS,
327
327
  data: {
328
328
  transactionHash,
329
329
  },
@@ -335,9 +335,9 @@ const sendAddTokensSuccessEvent = (eventTarget, transactionHash) => {
335
335
  eventTarget.dispatchEvent(successEvent);
336
336
  };
337
337
  const sendAddTokensFailedEvent = (eventTarget, reason) => {
338
- const failedEvent = new CustomEvent(ro.IMTBL_ADD_TOKENS_WIDGET_EVENT, {
338
+ const failedEvent = new CustomEvent(oo.IMTBL_ADD_TOKENS_WIDGET_EVENT, {
339
339
  detail: {
340
- type: Ro.FAILURE,
340
+ type: Co.FAILURE,
341
341
  data: {
342
342
  reason,
343
343
  timestamp: new Date().getTime(),
@@ -4708,7 +4708,7 @@ function AddTokens({ checkout, toAmount, config, toTokenAddress, showOnrampOptio
4708
4708
  showBackButton: true,
4709
4709
  provider: toProvider,
4710
4710
  };
4711
- orchestrationEvents.sendRequestOnrampEvent(eventTarget, ro.IMTBL_ADD_TOKENS_WIDGET_EVENT, data);
4711
+ orchestrationEvents.sendRequestOnrampEvent(eventTarget, oo.IMTBL_ADD_TOKENS_WIDGET_EVENT, data);
4712
4712
  };
4713
4713
  const handleCardClick = () => {
4714
4714
  setPayWithCardClicked(true);
@@ -5557,7 +5557,7 @@ function AddTokensWidget({ showOnrampOption = true, showSwapOption = true, showB
5557
5557
  objectFit: 'cover',
5558
5558
  objectPosition: 'center',
5559
5559
  } }), viewState.view.type === AddTokensWidgetViews.ADD_TOKENS && (jsx(AddTokens, { config: config, checkout: checkout, toTokenAddress: toTokenAddress, toAmount: toAmount, showBackButton: showBackButton, showOnrampOption: showOnrampOption, showSwapOption: showSwapOption, showBridgeOption: showBridgeOption, onCloseButtonClick: () => sendAddTokensCloseEvent(eventTarget), onBackButtonClick: () => {
5560
- orchestrationEvents.sendRequestGoBackEvent(eventTarget, ro.IMTBL_ADD_TOKENS_WIDGET_EVENT, {});
5560
+ orchestrationEvents.sendRequestGoBackEvent(eventTarget, oo.IMTBL_ADD_TOKENS_WIDGET_EVENT, {});
5561
5561
  } })), viewState.view.type === AddTokensWidgetViews.REVIEW && (jsx(Review, { data: viewState.view.data, onCloseButtonClick: () => sendAddTokensCloseEvent(eventTarget), onBackButtonClick: () => {
5562
5562
  viewDispatch({
5563
5563
  payload: {
@@ -1,9 +1,9 @@
1
- import { co as axios, cp as toQuantity, cq as toBeHex, cr as getAddress, cs as keccak256, ct as AbiCoder, cu as concat, cv as ZeroAddress, d as Contract, _ as isAddress, bN as K$1, aQ as Y, cw as nt$1, cx as S, cy as q$1, b as reactExports, r as ro, l as lo, x as jsxs, w as jsx, cz as ShimmerBox, aP as MenuItem, S as Stack, k as useTranslation, D as Body, y as Button, B as Box, cA as PASSPORT_URL, L as Link, cB as getChainImage, b1 as FramedImage, b7 as EllipsizedText, bd as Icon, cC as getChainIdBySlug, F as useAnalytics, U as UserJourney, aB as Divider, aU as ViewContext, aF as Fragment, V as ViewActions, cD as useWalletConnect, cE as Logo, cF as RawImage, cG as isWalletConnectProvider, I as CryptoFiatContext, cH as AXELAR_SCAN_URL, a$ as isNativeToken, b0 as getTokenImageByAddress, cI as getNativeSymbolByChainSlug, ca as formatUnits, j as calculateCryptoToFiat, G as EventTargetContext, e as ae$1, aJ as D$1, bp as useInjectedProviders, cJ as retry, M as HeaderNavigation, c4 as FooterLogo, aD as WalletDrawer, z as SimpleLayout, aK as isPassportProvider, cK as JsonRpcProvider, a1 as CryptoFiatActions, cL as DEFAULT_TRANSACTIONS_RETRY_POLICY, cM as getChainSlugById, aG as qt, a0 as LoadingView, Q as useTheme, H as Heading, cN as getChainNameById, cO as getWalletProviderNameByProvider, cP as isMetaMaskProvider, cQ as fe$1, aA as Drawer, b3 as ButtCon, cR as ButtonNavigationStyles, O as orchestrationEvents, J as tokenValueFormat, h as formatZeroAmount, cS as NATIVE, bm as Ot, P as amountInputValidation, W as CloudImage, cT as ETH_TOKEN_SYMBOL, X as getRemoteImage, bH as PriceDisplay, c as parseUnits, cU as st, cV as DEFAULT_QUOTE_REFRESH_INTERVAL, cW as addChainChangedListener, cX as removeChainChangedListener, bn as xt, cY as IMX_TOKEN_SYMBOL, a5 as SharedViews, cZ as DEFAULT_TOKEN_DECIMALS, q as dist, c_ as CHECKOUT_CDN_BASE_URL, c$ as heroBackGroundStyles, d0 as heroImageStyles, be as Badge, d1 as SimpleTextBody, d2 as FooterButton, d3 as getEthTokenImage, d4 as WITHDRAWAL_CLAIM_GAS_LIMIT, d5 as Ct, bI as viewReducer, bJ as initialViewState, d6 as r, d7 as StatusView, c5 as StatusType, a6 as ErrorView, bR as ServiceUnavailableErrorView, Y as CryptoFiatProvider, K as getDefaultTokenImage } from './index-CuJhn9sR.js';
2
- import { T as TokenImage } from './TokenImage-Bw5JLoGQ.js';
3
- import { A as Accordion, S as SelectForm, T as TextInputForm, a as TransactionRejected, g as getAllowedBalances, b as gasAmountAccordionStyles, c as gasAmountHeadingStyles, N as NetworkSwitchDrawer, W as WalletApproveHero } from './WalletApproveHero-DZlFc1Nj.js';
4
- import { B as BridgeWidgetViews, T as TopUpView } from './TopUpView-DESM41IF.js';
5
- import { u as useInterval } from './useInterval-BxDw5ss0.js';
6
- import { F as FeesBreakdown } from './FeesBreakdown-BYJrY7h0.js';
1
+ import { co as axios, cp as toQuantity, cq as toBeHex, cr as getAddress, cs as keccak256, ct as AbiCoder, cu as concat, cv as ZeroAddress, d as Contract, _ as isAddress, bN as K$1, aQ as Y, cw as nt$1, cx as S, cy as q$1, r as reactExports, o as oo, p as po, x as jsxs, v as jsx, cz as ShimmerBox, aP as MenuItem, S as Stack, k as useTranslation, A as Body, y as Button, B as Box, cA as PASSPORT_URL, L as Link, cB as getChainImage, b1 as FramedImage, b7 as EllipsizedText, bd as Icon, cC as getChainIdBySlug, D as useAnalytics, U as UserJourney, aB as Divider, aU as ViewContext, aF as Fragment, V as ViewActions, cD as useWalletConnect, cE as Logo, cF as RawImage, cG as isWalletConnectProvider, G as CryptoFiatContext, cH as AXELAR_SCAN_URL, a$ as isNativeToken, b0 as getTokenImageByAddress, cI as getNativeSymbolByChainSlug, ca as formatUnits, j as calculateCryptoToFiat, F as EventTargetContext, e as ae$1, aJ as D$1, bp as useInjectedProviders, cJ as retry, K as HeaderNavigation, c4 as FooterLogo, aD as WalletDrawer, z as SimpleLayout, aK as isPassportProvider, cK as JsonRpcProvider, a1 as CryptoFiatActions, cL as DEFAULT_TRANSACTIONS_RETRY_POLICY, cM as getChainSlugById, aG as qt, a0 as LoadingView, Q as useTheme, H as Heading, cN as getChainNameById, cO as getWalletProviderNameByProvider, cP as isMetaMaskProvider, cQ as fe$1, aA as Drawer, b3 as ButtCon, cR as ButtonNavigationStyles, N as orchestrationEvents, I as tokenValueFormat, h as formatZeroAmount, cS as NATIVE, bm as Ot, O as amountInputValidation, W as CloudImage, cT as ETH_TOKEN_SYMBOL, X as getRemoteImage, bH as PriceDisplay, b as parseUnits, cU as st, cV as DEFAULT_QUOTE_REFRESH_INTERVAL, cW as addChainChangedListener, cX as removeChainChangedListener, bn as xt, cY as IMX_TOKEN_SYMBOL, a5 as SharedViews, cZ as DEFAULT_TOKEN_DECIMALS, l as dist, c_ as CHECKOUT_CDN_BASE_URL, c$ as heroBackGroundStyles, d0 as heroImageStyles, be as Badge, d1 as SimpleTextBody, d2 as FooterButton, d3 as getEthTokenImage, d4 as WITHDRAWAL_CLAIM_GAS_LIMIT, d5 as Ct, bI as viewReducer, bJ as initialViewState, d6 as r, d7 as StatusView, c5 as StatusType, a6 as ErrorView, bR as ServiceUnavailableErrorView, Y as CryptoFiatProvider, J as getDefaultTokenImage } from './index-DFqiWhIF.js';
2
+ import { T as TokenImage } from './TokenImage-DIQAWWQ8.js';
3
+ import { A as Accordion, S as SelectForm, T as TextInputForm, a as TransactionRejected, g as getAllowedBalances, b as gasAmountAccordionStyles, c as gasAmountHeadingStyles, N as NetworkSwitchDrawer, W as WalletApproveHero } from './WalletApproveHero-OJwL-DBm.js';
4
+ import { B as BridgeWidgetViews, T as TopUpView } from './TopUpView-ZH8ArNep.js';
5
+ import { u as useInterval } from './useInterval-Dp0AIWS5.js';
6
+ import { F as FeesBreakdown } from './FeesBreakdown-CXCCZO8Y.js';
7
7
 
8
8
  // This module is intended to unwrap Axios default export as named.
9
9
  // Keep top-level export same with static properties
@@ -230,9 +230,9 @@ const bridgeReducer = (state, action) => {
230
230
  };
231
231
 
232
232
  const sendBridgeTransactionSentEvent = (eventTarget, transactionHash) => {
233
- const successEvent = new CustomEvent(ro.IMTBL_BRIDGE_WIDGET_EVENT, {
233
+ const successEvent = new CustomEvent(oo.IMTBL_BRIDGE_WIDGET_EVENT, {
234
234
  detail: {
235
- type: lo.TRANSACTION_SENT,
235
+ type: po.TRANSACTION_SENT,
236
236
  data: {
237
237
  transactionHash,
238
238
  },
@@ -244,9 +244,9 @@ const sendBridgeTransactionSentEvent = (eventTarget, transactionHash) => {
244
244
  eventTarget.dispatchEvent(successEvent);
245
245
  };
246
246
  const sendBridgeFailedEvent = (eventTarget, reason) => {
247
- const failedEvent = new CustomEvent(ro.IMTBL_BRIDGE_WIDGET_EVENT, {
247
+ const failedEvent = new CustomEvent(oo.IMTBL_BRIDGE_WIDGET_EVENT, {
248
248
  detail: {
249
- type: lo.FAILURE,
249
+ type: po.FAILURE,
250
250
  data: {
251
251
  reason,
252
252
  timestamp: new Date().getTime(),
@@ -259,9 +259,9 @@ const sendBridgeFailedEvent = (eventTarget, reason) => {
259
259
  eventTarget.dispatchEvent(failedEvent);
260
260
  };
261
261
  function sendBridgeWidgetCloseEvent(eventTarget) {
262
- const closeWidgetEvent = new CustomEvent(ro.IMTBL_BRIDGE_WIDGET_EVENT, {
262
+ const closeWidgetEvent = new CustomEvent(oo.IMTBL_BRIDGE_WIDGET_EVENT, {
263
263
  detail: {
264
- type: lo.CLOSE_WIDGET,
264
+ type: po.CLOSE_WIDGET,
265
265
  data: {},
266
266
  },
267
267
  });
@@ -271,9 +271,9 @@ function sendBridgeWidgetCloseEvent(eventTarget) {
271
271
  eventTarget.dispatchEvent(closeWidgetEvent);
272
272
  }
273
273
  const sendBridgeClaimWithdrawalSuccessEvent = (eventTarget, transactionHash) => {
274
- const successEvent = new CustomEvent(ro.IMTBL_BRIDGE_WIDGET_EVENT, {
274
+ const successEvent = new CustomEvent(oo.IMTBL_BRIDGE_WIDGET_EVENT, {
275
275
  detail: {
276
- type: lo.CLAIM_WITHDRAWAL_SUCCESS,
276
+ type: po.CLAIM_WITHDRAWAL_SUCCESS,
277
277
  data: {
278
278
  transactionHash,
279
279
  },
@@ -285,9 +285,9 @@ const sendBridgeClaimWithdrawalSuccessEvent = (eventTarget, transactionHash) =>
285
285
  eventTarget.dispatchEvent(successEvent);
286
286
  };
287
287
  const sendBridgeClaimWithdrawalFailedEvent = (eventTarget, transactionHash, reason) => {
288
- const failedEvent = new CustomEvent(ro.IMTBL_BRIDGE_WIDGET_EVENT, {
288
+ const failedEvent = new CustomEvent(oo.IMTBL_BRIDGE_WIDGET_EVENT, {
289
289
  detail: {
290
- type: lo.CLAIM_WITHDRAWAL_FAILURE,
290
+ type: po.CLAIM_WITHDRAWAL_FAILURE,
291
291
  data: {
292
292
  transactionHash,
293
293
  reason,
@@ -1499,7 +1499,7 @@ function WalletNetworkSelectionView({ showBackButton, }) {
1499
1499
  },
1500
1500
  });
1501
1501
  }, testId: "move-transactions-button" })), showBack: showBackButton, onBackButtonClick: () => {
1502
- orchestrationEvents.sendRequestGoBackEvent(eventTarget, ro.IMTBL_BRIDGE_WIDGET_EVENT, {});
1502
+ orchestrationEvents.sendRequestGoBackEvent(eventTarget, oo.IMTBL_BRIDGE_WIDGET_EVENT, {});
1503
1503
  } })), footer: jsx(FooterLogo, {}), children: jsx(WalletAndNetworkSelector, {}) }));
1504
1504
  }
1505
1505
 
@@ -3089,7 +3089,7 @@ function BridgeWidget({ checkout, browserProvider, config, amount, tokenAddress,
3089
3089
  userJourney: UserJourney.BRIDGE,
3090
3090
  screen: 'Error',
3091
3091
  });
3092
- } })), viewState.view.type === SharedViews.TOP_UP_VIEW && (jsx(TopUpView, { analytics: { userJourney: UserJourney.BRIDGE }, widgetEvent: ro.IMTBL_BRIDGE_WIDGET_EVENT, checkout: checkout, provider: browserProvider, showOnrampOption: isOnRampEnabled, showSwapOption: isSwapEnabled, showBridgeOption: isBridgeEnabled, onCloseButtonClick: () => sendBridgeWidgetCloseEvent(eventTarget) })), viewState.view.type === BridgeWidgetViews.CLAIM_WITHDRAWAL_IN_PROGRESS && (jsx(ClaimWithdrawalInProgress, { transactionResponse: viewState.view.transactionResponse })), viewState.view.type === BridgeWidgetViews.CLAIM_WITHDRAWAL_SUCCESS && (jsx(StatusView, { statusText: t('views.CLAIM_WITHDRAWAL.IN_PROGRESS.success.text'), actionText: t('views.CLAIM_WITHDRAWAL.IN_PROGRESS.success.actionText'), onRenderEvent: () => {
3092
+ } })), viewState.view.type === SharedViews.TOP_UP_VIEW && (jsx(TopUpView, { analytics: { userJourney: UserJourney.BRIDGE }, widgetEvent: oo.IMTBL_BRIDGE_WIDGET_EVENT, checkout: checkout, provider: browserProvider, showOnrampOption: isOnRampEnabled, showSwapOption: isSwapEnabled, showBridgeOption: isBridgeEnabled, onCloseButtonClick: () => sendBridgeWidgetCloseEvent(eventTarget) })), viewState.view.type === BridgeWidgetViews.CLAIM_WITHDRAWAL_IN_PROGRESS && (jsx(ClaimWithdrawalInProgress, { transactionResponse: viewState.view.transactionResponse })), viewState.view.type === BridgeWidgetViews.CLAIM_WITHDRAWAL_SUCCESS && (jsx(StatusView, { statusText: t('views.CLAIM_WITHDRAWAL.IN_PROGRESS.success.text'), actionText: t('views.CLAIM_WITHDRAWAL.IN_PROGRESS.success.actionText'), onRenderEvent: () => {
3093
3093
  page({
3094
3094
  userJourney: UserJourney.BRIDGE,
3095
3095
  screen: 'ClaimWithdrawalSuccess',