@imtbl/sdk 1.72.5 → 1.72.6-alpha.2

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 (60) hide show
  1. package/dist/{blockchain_data-25saGU0Z.js → blockchain_data-m7ToH9pL.js} +2 -2
  2. package/dist/blockchain_data.d.ts +307 -212
  3. package/dist/blockchain_data.js +3 -3
  4. package/dist/browser/checkout/{AddTokensWidget-BWG3NQ9B.js → AddTokensWidget-DZsT4eBm.js} +165 -19
  5. package/dist/browser/checkout/{BridgeWidget-Ci2WB7Nf.js → BridgeWidget-CtExJxeD.js} +9 -9
  6. package/dist/browser/checkout/{CommerceWidget-DU93DqRK.js → CommerceWidget-Dm4JyPO1.js} +17 -17
  7. package/dist/browser/checkout/{CryptoFiatProvider-hYwPM-aZ.js → CryptoFiatProvider-Bax9fUb1.js} +1 -1
  8. package/dist/browser/checkout/{EllipsizedText-CJv9sue6.js → EllipsizedText-D-MqQ8bL.js} +1 -1
  9. package/dist/browser/checkout/{FeesBreakdown-CFr2Ba8o.js → FeesBreakdown-CX7GknX6.js} +1 -1
  10. package/dist/browser/checkout/{HandoverContent-7XgMxmMH.js → HandoverContent-BeVXiSef.js} +1 -1
  11. package/dist/browser/checkout/{OnRampWidget-BdBudr53.js → OnRampWidget-BRZcWW-X.js} +3 -3
  12. package/dist/browser/checkout/{SaleWidget-ow1U6WSy.js → SaleWidget-gpXhYyOj.js} +14 -14
  13. package/dist/browser/checkout/{SpendingCapHero-BfHzFx2e.js → SpendingCapHero-Cuv1Gbv6.js} +1 -1
  14. package/dist/browser/checkout/{SwapWidget-D52nXXsd.js → SwapWidget-ROlEs9WT.js} +9 -9
  15. package/dist/browser/checkout/{TokenImage-Bv4QDjsG.js → TokenImage-WwwqoL2p.js} +1 -1
  16. package/dist/browser/checkout/{TopUpView-RU9tyx5M.js → TopUpView-FuAlCkJo.js} +3 -3
  17. package/dist/browser/checkout/{WalletApproveHero-6xRquyAA.js → WalletApproveHero-D7DHUMzc.js} +3 -3
  18. package/dist/browser/checkout/{WalletWidget-B9RKEYud.js → WalletWidget-nSZlYnVL.js} +4 -4
  19. package/dist/browser/checkout/{auto-track-DrUv_-5G.js → auto-track-B-9mMGN7.js} +1 -1
  20. package/dist/browser/checkout/{index-BpB8pCnR.js → index-Bru7fleS.js} +2 -2
  21. package/dist/browser/checkout/{index-DF3H3Vt3.js → index-D6wgv5N6.js} +1 -1
  22. package/dist/browser/checkout/{index-D8H34D4j.js → index-Df9yNLc2.js} +1 -1
  23. package/dist/browser/checkout/{index-BdbcBXtl.js → index-DtUPxsQL.js} +134 -38
  24. package/dist/browser/checkout/{index-LgFL8sFc.js → index-MWrowrhP.js} +1 -1
  25. package/dist/browser/checkout/{index-BDRM7Uih.js → index-fN8yhC77.js} +1 -1
  26. package/dist/browser/checkout/{index-BmEvMRSe.js → index-rcRI5coZ.js} +1 -1
  27. package/dist/browser/checkout/{index-Dhym2CWn.js → index-ybLybZ44.js} +1 -1
  28. package/dist/browser/checkout/{index-SCzeiVsL.js → index-z4Ddn5r9.js} +1 -1
  29. package/dist/browser/checkout/{index.umd-BXtpGQf3.js → index.umd-C_f3RPSa.js} +1 -1
  30. package/dist/browser/checkout/sdk.js +4 -4
  31. package/dist/browser/checkout/{useInterval-Ded2Ls8Y.js → useInterval-D3LyvTN2.js} +1 -1
  32. package/dist/browser/checkout/widgets-esm.js +1 -1
  33. package/dist/browser/checkout/widgets.js +275 -33
  34. package/dist/{checkout-CuyhPhPI.js → checkout-B8nzDuev.js} +5 -5
  35. package/dist/checkout.js +5 -5
  36. package/dist/{config--KnSGWmg.js → config-Qr6idRcq.js} +1 -1
  37. package/dist/config.js +1 -1
  38. package/dist/{index-BZ0-xFD5.js → index-BttL7TDQ.js} +4 -4
  39. package/dist/{index-BoB9ZvkB.js → index-C8RdSQUU.js} +1 -1
  40. package/dist/{index-ql1ytn8Z.js → index-CCZbHZue.js} +4 -4
  41. package/dist/{index-C5qsusaO.js → index-CnvMR69p.js} +3 -3
  42. package/dist/{index-BmEMIEoz.js → index-D1N8qdz9.js} +1 -1
  43. package/dist/{index-DnsQswUj.js → index-_Y80HpGF.js} +1 -1
  44. package/dist/index.browser.js +4 -4
  45. package/dist/index.browser.js.map +1 -1
  46. package/dist/index.cjs +10 -10
  47. package/dist/index.d.ts +306 -212
  48. package/dist/index.js +14 -14
  49. package/dist/{minting_backend-DiUlXoXB.js → minting_backend-D8cwCw8W.js} +3 -3
  50. package/dist/minting_backend.d.ts +304 -211
  51. package/dist/minting_backend.js +5 -5
  52. package/dist/{orderbook-CoO54P2O.js → orderbook-NL4PYgl7.js} +1 -1
  53. package/dist/orderbook.js +2 -2
  54. package/dist/{passport-DzlAx_ow.js → passport-C_c3_5wz.js} +3 -3
  55. package/dist/passport.js +4 -4
  56. package/dist/{webhook-sMzzQQMr.js → webhook-BVAlK3Qp.js} +1 -1
  57. package/dist/webhook.js +2 -2
  58. package/dist/{x-COIxZVrX.js → x-CVw7HdTW.js} +3 -3
  59. package/dist/x.js +4 -4
  60. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { r as reactExports, dK as useBrowserLayoutEffect } from './index-BdbcBXtl.js';
1
+ import { r as reactExports, dK as useBrowserLayoutEffect } from './index-DtUPxsQL.js';
2
2
 
3
3
  // Inspired by https://usehooks-ts.com/react-hook/use-interval
4
4
  function useInterval(callback, delay) {
@@ -1 +1 @@
1
- export { ee as WidgetsFactory } from './index-BdbcBXtl.js';
1
+ export { ee as WidgetsFactory } from './index-DtUPxsQL.js';
@@ -132866,12 +132866,36 @@
132866
132866
  subHeading: "Confirm the transaction request to complete this transaction"
132867
132867
  },
132868
132868
  executing: {
132869
- heading: "Processing"
132869
+ heading: "Processing",
132870
+ subHeadingDuration: "This should take {{duration}}",
132871
+ subHeading: "Go to <axelarscanLink>Axelarscan</axelarscanLink> for transaction details"
132870
132872
  },
132871
132873
  executed: {
132872
- heading: "Funds added successfully",
132873
- subHeadingGoTo: "Go to",
132874
- subHeadingTransactionDetails: "for transaction details"
132874
+ heading: "Tokens Added",
132875
+ subHeading: "Go to <axelarscanLink>Axelarscan</axelarscanLink> for transaction details",
132876
+ primaryButtonText: "Done"
132877
+ },
132878
+ executedZkEVM: {
132879
+ heading: "Tokens Added",
132880
+ subHeading: "Go to <explorerLink>Immutable zkEVM explorer</explorerLink> for transaction details",
132881
+ primaryButtonText: "Done"
132882
+ },
132883
+ needsGas: {
132884
+ heading: "Gas has surged",
132885
+ subHeading: "You’ll need to pay more gas to complete this transaction. You can do this via <axelarscanLink>Axelarscan</axelarscanLink>.",
132886
+ primaryButtonText: "Go to Axelarscan",
132887
+ secondaryButtonText: "Dismiss"
132888
+ },
132889
+ partialSuccess: {
132890
+ heading: "You’ve received axlUSDC",
132891
+ subHeading: "Your transaction was subject to slippage and you’ve received axlUSDC. To receive the token you intended to add, you may need to complete a swap via <squidLink>Squid</squidLink>. ",
132892
+ primaryButtonText: "Go to Squid",
132893
+ secondaryButtonText: "Dismiss"
132894
+ },
132895
+ statusFailed: {
132896
+ heading: "Unable to complete transaction",
132897
+ subHeading: "Something went wrong, and we were unable to complete this transaction. Visit <axelarscanLink>Axelarscan</axelarscanLink> for details.",
132898
+ secondaryButtonText: "Dismiss"
132875
132899
  }
132876
132900
  },
132877
132901
  onboarding: {
@@ -132903,7 +132927,7 @@
132903
132927
  balance: "Balance",
132904
132928
  fiatPricePrefix: "≈ USD",
132905
132929
  zeroFees: "Zero fees",
132906
- includedFees: "Included fees"
132930
+ includedFees: "Fees"
132907
132931
  }
132908
132932
  }
132909
132933
  };
@@ -133859,12 +133883,36 @@
133859
133883
  subHeading: "取引リクエストを確認してこの取引を完了してください"
133860
133884
  },
133861
133885
  executing: {
133862
- heading: "処理中"
133886
+ heading: "処理中",
133887
+ subHeadingDuration: "この処理には{{duration}}かかります",
133888
+ subHeading: "<axelarscanLink>Axelarscan</axelarscanLink>でトランザクションの詳細をご確認ください"
133863
133889
  },
133864
133890
  executed: {
133865
- heading: "資金が正常に追加されました",
133866
- subHeadingGoTo: "移動",
133867
- subHeadingTransactionDetails: "取引詳細はこちら"
133891
+ heading: "トークンが追加されました",
133892
+ subHeading: "<axelarscanLink>Axelarscan</axelarscanLink>でトランザクションの詳細をご確認ください",
133893
+ primaryButtonText: "完了"
133894
+ },
133895
+ executedZkEVM: {
133896
+ heading: "トークンが追加されました",
133897
+ subHeading: "<explorerLink>Immutable zkEVM explorer</explorerLink>でトランザクションの詳細をご確認ください",
133898
+ primaryButtonText: "完了"
133899
+ },
133900
+ needsGas: {
133901
+ heading: "ガス料金が急騰しました",
133902
+ subHeading: "このトランザクションを完了するためには、さらにガス料金を支払う必要があります。<axelarscanLink>Axelarscan</axelarscanLink>で手続きを行えます。",
133903
+ primaryButtonText: "Axelarscanに移動",
133904
+ secondaryButtonText: "閉じる"
133905
+ },
133906
+ partialSuccess: {
133907
+ heading: "axlUSDCを受け取りました",
133908
+ subHeading: "トランザクションはスリッページの影響を受け、axlUSDCを受け取りました。意図したトークンを受け取るには、<squidLink>Squid</squidLink>でスワップを完了する必要があります。",
133909
+ primaryButtonText: "Squidに移動",
133910
+ secondaryButtonText: "閉じる"
133911
+ },
133912
+ statusFailed: {
133913
+ heading: "トランザクションを完了できませんでした",
133914
+ subHeading: "問題が発生し、トランザクションを完了できませんでした。詳細は<axelarscanLink>Axelarscan</axelarscanLink>をご確認ください。",
133915
+ secondaryButtonText: "閉じる"
133868
133916
  }
133869
133917
  },
133870
133918
  onboarding: {
@@ -133896,7 +133944,7 @@
133896
133944
  balance: "残高",
133897
133945
  fiatPricePrefix: "≈ USD",
133898
133946
  zeroFees: "手数料無料",
133899
- includedFees: "手数料込み"
133947
+ includedFees: "手数料"
133900
133948
  }
133901
133949
  }
133902
133950
  };
@@ -134849,12 +134897,36 @@
134849
134897
  subHeading: "거래 요청을 확인하여 이 거래를 완료하세요"
134850
134898
  },
134851
134899
  executing: {
134852
- heading: "처리 중"
134900
+ heading: "처리 중",
134901
+ subHeadingDuration: "이 작업은 {{duration}} 소요됩니다",
134902
+ subHeading: "트랜잭션 세부 정보는 <axelarscanLink>Axelarscan</axelarscanLink>에서 확인하세요"
134853
134903
  },
134854
134904
  executed: {
134855
- heading: "자금이 성공적으로 추가되었습니다",
134856
- subHeadingGoTo: "이동",
134857
- subHeadingTransactionDetails: "거래 세부 정보 보기"
134905
+ heading: "토큰이 추가되었습니다",
134906
+ subHeading: "트랜잭션 세부 정보는 <axelarscanLink>Axelarscan</axelarscanLink>에서 확인하세요",
134907
+ primaryButtonText: "완료"
134908
+ },
134909
+ executedZkEVM: {
134910
+ heading: "토큰이 추가되었습니다",
134911
+ subHeading: "트랜잭션 세부 정보는 <explorerLink>Immutable zkEVM explorer</explorerLink>에서 확인하세요",
134912
+ primaryButtonText: "완료"
134913
+ },
134914
+ needsGas: {
134915
+ heading: "가스 요금 급등",
134916
+ subHeading: "이 트랜잭션을 완료하려면 더 높은 가스 요금을 지불해야 합니다. <axelarscanLink>Axelarscan</axelarscanLink>에서 진행할 수 있습니다.",
134917
+ primaryButtonText: "Axelarscan으로 이동",
134918
+ secondaryButtonText: "닫기"
134919
+ },
134920
+ partialSuccess: {
134921
+ heading: "axlUSDC를 받았습니다",
134922
+ subHeading: "트랜잭션이 슬리피지에 영향을 받아 axlUSDC를 받았습니다. 의도한 토큰을 받으려면 <squidLink>Squid</squidLink>에서 스왑을 완료해야 할 수 있습니다.",
134923
+ primaryButtonText: "Squid로 이동",
134924
+ secondaryButtonText: "닫기"
134925
+ },
134926
+ statusFailed: {
134927
+ heading: "트랜잭션을 완료할 수 없습니다",
134928
+ subHeading: "문제가 발생하여 트랜잭션을 완료할 수 없습니다. 자세한 내용은 <axelarscanLink>Axelarscan</axelarscanLink>에서 확인하세요.",
134929
+ secondaryButtonText: "닫기"
134858
134930
  }
134859
134931
  },
134860
134932
  onboarding: {
@@ -134886,7 +134958,7 @@
134886
134958
  balance: "잔액",
134887
134959
  fiatPricePrefix: "≈ USD",
134888
134960
  zeroFees: "수수료 없음",
134889
- includedFees: "수수료 포함"
134961
+ includedFees: "수수료"
134890
134962
  }
134891
134963
  }
134892
134964
  };
@@ -135839,12 +135911,36 @@
135839
135911
  subHeading: "确认交易请求以完成此交易"
135840
135912
  },
135841
135913
  executing: {
135842
- heading: "处理中"
135914
+ heading: "处理中",
135915
+ subHeadingDuration: "预计耗时{{duration}}",
135916
+ subHeading: "您可以前往<axelarscanLink>Axelarscan</axelarscanLink>查看交易详情"
135843
135917
  },
135844
135918
  executed: {
135845
- heading: "资金添加成功",
135846
- subHeadingGoTo: "前往",
135847
- subHeadingTransactionDetails: "查看交易详情"
135919
+ heading: "代币已添加",
135920
+ subHeading: "您可以前往<axelarscanLink>Axelarscan</axelarscanLink>查看交易详情",
135921
+ primaryButtonText: "完成"
135922
+ },
135923
+ executedZkEVM: {
135924
+ heading: "代币已添加",
135925
+ subHeading: "您可以前往<explorerLink>Immutable zkEVM explorer</explorerLink>查看交易详情",
135926
+ primaryButtonText: "完成"
135927
+ },
135928
+ needsGas: {
135929
+ heading: "Gas费用激增",
135930
+ subHeading: "完成此交易需要支付更高的Gas费用。您可以通过<axelarscanLink>Axelarscan</axelarscanLink>完成。",
135931
+ primaryButtonText: "前往Axelarscan",
135932
+ secondaryButtonText: "关闭"
135933
+ },
135934
+ partialSuccess: {
135935
+ heading: "您已收到axlUSDC",
135936
+ subHeading: "交易受到滑点影响,您已收到axlUSDC。如需获得目标代币,可能需要通过<squidLink>Squid</squidLink>完成兑换。",
135937
+ primaryButtonText: "前往Squid",
135938
+ secondaryButtonText: "关闭"
135939
+ },
135940
+ statusFailed: {
135941
+ heading: "交易未能完成",
135942
+ subHeading: "交易发生错误,未能完成。详情请前往<axelarscanLink>Axelarscan</axelarscanLink>查看。",
135943
+ secondaryButtonText: "关闭"
135848
135944
  }
135849
135945
  },
135850
135946
  onboarding: {
@@ -135876,7 +135972,7 @@
135876
135972
  balance: "余额",
135877
135973
  fiatPricePrefix: "≈ 美元",
135878
135974
  zeroFees: "零手续费",
135879
- includedFees: "包含的手续费"
135975
+ includedFees: "费用"
135880
135976
  }
135881
135977
  }
135882
135978
  };
@@ -411199,6 +411295,7 @@ function print() { __p += __j.call(arguments, '') }
411199
411295
  }
411200
411296
  };
411201
411297
 
411298
+ const TRANSACTION_NOT_COMPLETED = 'transaction not completed';
411202
411299
  const useExecute = (contextId, environment) => {
411203
411300
  const { showErrorHandover } = useError(environment);
411204
411301
  const { eventTargetState: { eventTarget }, } = reactExports.useContext(EventTargetContext);
@@ -411351,11 +411448,44 @@ function print() { __p += __j.call(arguments, '') }
411351
411448
  return undefined;
411352
411449
  }
411353
411450
  };
411451
+ const getStatus = async (squid, transactionHash) => {
411452
+ const completedTransactionStatus = [
411453
+ 'success',
411454
+ 'partial_success',
411455
+ 'needs_gas',
411456
+ 'not_found',
411457
+ ];
411458
+ try {
411459
+ return await retry(async () => {
411460
+ const result = await squid.getStatus({
411461
+ transactionId: transactionHash,
411462
+ });
411463
+ if (completedTransactionStatus.includes(result.squidTransactionStatus ?? '')) {
411464
+ return result;
411465
+ }
411466
+ return Promise.reject(TRANSACTION_NOT_COMPLETED);
411467
+ }, {
411468
+ retries: 240,
411469
+ retryIntervalMs: 5000,
411470
+ nonRetryable: (err) => {
411471
+ if (err.response) {
411472
+ return err.response.status === 400 || err.response.status === 500;
411473
+ }
411474
+ return err !== TRANSACTION_NOT_COMPLETED;
411475
+ },
411476
+ });
411477
+ }
411478
+ catch (error) {
411479
+ handleTransactionError(error);
411480
+ return undefined;
411481
+ }
411482
+ };
411354
411483
  return {
411355
411484
  checkProviderChain,
411356
411485
  getAllowance,
411357
411486
  approve,
411358
411487
  execute,
411488
+ getStatus,
411359
411489
  };
411360
411490
  };
411361
411491
 
@@ -411495,7 +411625,7 @@ function print() { __p += __j.call(arguments, '') }
411495
411625
  const { track, page } = useAnalytics();
411496
411626
  const { addTokensState: { id, squid, chains, tokens, }, } = reactExports.useContext(AddTokensContext);
411497
411627
  const { providersState: { checkout, fromProvider, fromAddress, toAddress, }, } = useProvidersContext();
411498
- const { eventTargetState: { eventTarget } } = reactExports.useContext(EventTargetContext);
411628
+ const { eventTargetState: { eventTarget }, } = reactExports.useContext(EventTargetContext);
411499
411629
  const [route, setRoute] = reactExports.useState();
411500
411630
  const [proceedDisabled, setProceedDisabled] = reactExports.useState(true);
411501
411631
  const [showFeeBreakdown, setShowFeeBreakdown] = reactExports.useState(false);
@@ -411505,7 +411635,7 @@ function print() { __p += __j.call(arguments, '') }
411505
411635
  id: HandoverTarget.GLOBAL,
411506
411636
  });
411507
411637
  const { showErrorHandover } = useError(checkout.config.environment);
411508
- const { checkProviderChain, getAllowance, approve, execute, } = useExecute(id, checkout?.config.environment || Environment$1.SANDBOX);
411638
+ const { checkProviderChain, getAllowance, approve, execute, getStatus, } = useExecute(id, checkout?.config.environment || Environment$1.SANDBOX);
411509
411639
  reactExports.useEffect(() => {
411510
411640
  page({
411511
411641
  userJourney: UserJourney.ADD_TOKENS,
@@ -411553,12 +411683,12 @@ function print() { __p += __j.call(arguments, '') }
411553
411683
  c: 'base.color.text.body.secondary',
411554
411684
  }, children: t$b('views.ADD_TOKENS.fees.zeroFees') }));
411555
411685
  }, [totalFeesUsd]);
411556
- const showHandover = reactExports.useCallback((animationPath, state, headingText, subheadingText, duration) => {
411686
+ const showHandover = reactExports.useCallback(({ animationPath, state, headingText, subheadingText, primaryButtonText, onPrimaryButtonClick, secondaryButtonText, onSecondaryButtonClick, duration, }) => {
411557
411687
  addHandover({
411558
411688
  animationUrl: getRemoteRive(checkout?.config.environment, animationPath),
411559
411689
  inputValue: state,
411560
411690
  duration,
411561
- children: (jsx$1(HandoverContent, { headingText: headingText, subheadingText: subheadingText })),
411691
+ children: (jsx$1(HandoverContent, { headingText: headingText, subheadingText: subheadingText, primaryButtonText: primaryButtonText, onPrimaryButtonClick: onPrimaryButtonClick, secondaryButtonText: secondaryButtonText, onSecondaryButtonClick: onSecondaryButtonClick })),
411562
411692
  });
411563
411693
  }, [addHandover, checkout]);
411564
411694
  const handleTransaction = reactExports.useCallback(async () => {
@@ -411586,7 +411716,10 @@ function print() { __p += __j.call(arguments, '') }
411586
411716
  currentFromAddress = await fromProvider.getSigner().getAddress();
411587
411717
  }
411588
411718
  catch (error) {
411589
- showErrorHandover(AddTokensErrorTypes.PROVIDER_ERROR, { contextId: id, error });
411719
+ showErrorHandover(AddTokensErrorTypes.PROVIDER_ERROR, {
411720
+ contextId: id,
411721
+ error,
411722
+ });
411590
411723
  return;
411591
411724
  }
411592
411725
  if (currentFromAddress !== fromAddress) {
@@ -411595,7 +411728,11 @@ function print() { __p += __j.call(arguments, '') }
411595
411728
  }
411596
411729
  clearInterval(getRouteIntervalIdRef.current);
411597
411730
  setProceedDisabled(true);
411598
- showHandover(APPROVE_TXN_ANIMATION, RiveStateMachineInput.START, t$b('views.ADD_TOKENS.handover.preparing.heading'));
411731
+ showHandover({
411732
+ animationPath: APPROVE_TXN_ANIMATION,
411733
+ state: RiveStateMachineInput.START,
411734
+ headingText: t$b('views.ADD_TOKENS.handover.preparing.heading'),
411735
+ });
411599
411736
  const changeableProvider = await convertToNetworkChangeableProvider(fromProvider);
411600
411737
  const isValidNetwork = await checkProviderChain(changeableProvider, route.route.params.fromChain);
411601
411738
  if (!isValidNetwork) {
@@ -411604,14 +411741,29 @@ function print() { __p += __j.call(arguments, '') }
411604
411741
  const allowance = await getAllowance(changeableProvider, route);
411605
411742
  const { fromAmount } = route.route.params;
411606
411743
  if (allowance?.lt(fromAmount)) {
411607
- showHandover(APPROVE_TXN_ANIMATION, RiveStateMachineInput.WAITING, t$b('views.ADD_TOKENS.handover.requestingApproval.heading'), t$b('views.ADD_TOKENS.handover.requestingApproval.subHeading'));
411744
+ showHandover({
411745
+ animationPath: APPROVE_TXN_ANIMATION,
411746
+ state: RiveStateMachineInput.WAITING,
411747
+ headingText: t$b('views.ADD_TOKENS.handover.requestingApproval.heading'),
411748
+ subheadingText: t$b('views.ADD_TOKENS.handover.requestingApproval.subHeading'),
411749
+ });
411608
411750
  const approveTxnReceipt = await approve(changeableProvider, route);
411609
411751
  if (!approveTxnReceipt) {
411610
411752
  return;
411611
411753
  }
411612
- showHandover(APPROVE_TXN_ANIMATION, RiveStateMachineInput.COMPLETED, t$b('views.ADD_TOKENS.handover.approved.heading'), '', FIXED_HANDOVER_DURATION);
411754
+ showHandover({
411755
+ animationPath: APPROVE_TXN_ANIMATION,
411756
+ state: RiveStateMachineInput.COMPLETED,
411757
+ headingText: t$b('views.ADD_TOKENS.handover.approved.heading'),
411758
+ duration: FIXED_HANDOVER_DURATION,
411759
+ });
411613
411760
  }
411614
- showHandover(EXECUTE_TXN_ANIMATION, RiveStateMachineInput.WAITING, t$b('views.ADD_TOKENS.handover.requestingExecution.heading'), t$b('views.ADD_TOKENS.handover.requestingExecution.subHeading'));
411761
+ showHandover({
411762
+ animationPath: EXECUTE_TXN_ANIMATION,
411763
+ state: RiveStateMachineInput.WAITING,
411764
+ headingText: t$b('views.ADD_TOKENS.handover.requestingExecution.heading'),
411765
+ subheadingText: t$b('views.ADD_TOKENS.handover.requestingExecution.subHeading'),
411766
+ });
411615
411767
  const executeTxnReceipt = await execute(squid, changeableProvider, route);
411616
411768
  if (executeTxnReceipt) {
411617
411769
  track({
@@ -411624,8 +411776,97 @@ function print() { __p += __j.call(arguments, '') }
411624
411776
  },
411625
411777
  });
411626
411778
  sendAddTokensSuccessEvent(eventTarget, executeTxnReceipt.transactionHash);
411627
- showHandover(EXECUTE_TXN_ANIMATION, RiveStateMachineInput.PROCESSING, t$b('views.ADD_TOKENS.handover.executing.heading'), '', FIXED_HANDOVER_DURATION);
411628
- showHandover(EXECUTE_TXN_ANIMATION, RiveStateMachineInput.COMPLETED, t$b('views.ADD_TOKENS.handover.executed.heading'), jsxs(Fragment$1, { children: [t$b('views.ADD_TOKENS.handover.executed.subHeadingGoTo'), ' ', jsx$1(Link, { size: "small", rc: (jsx$1("a", { target: "_blank", href: `https://axelarscan.io/gmp/${executeTxnReceipt?.transactionHash}`, rel: "noreferrer" })), children: "Axelarscan" }), ' ', t$b('views.ADD_TOKENS.handover.executed.subHeadingTransactionDetails')] }));
411779
+ if (toChain === fromChain) {
411780
+ showHandover({
411781
+ animationPath: EXECUTE_TXN_ANIMATION,
411782
+ state: RiveStateMachineInput.COMPLETED,
411783
+ headingText: t$b('views.ADD_TOKENS.handover.executedZkEVM.heading'),
411784
+ subheadingText: (jsx$1(Trans, { i18nKey: t$b('views.ADD_TOKENS.handover.executedZkEVM.subHeading'), components: {
411785
+ explorerLink: (jsx$1(Link, { size: "small", rc: (jsx$1("a", { target: "_blank", href: `https://explorer.immutable.com/tx/${executeTxnReceipt.transactionHash}`, rel: "noreferrer" })) })),
411786
+ } })),
411787
+ primaryButtonText: t$b('views.ADD_TOKENS.handover.executed.primaryButtonText'),
411788
+ onPrimaryButtonClick: () => {
411789
+ sendAddTokensCloseEvent(eventTarget);
411790
+ },
411791
+ });
411792
+ return;
411793
+ }
411794
+ showHandover({
411795
+ animationPath: EXECUTE_TXN_ANIMATION,
411796
+ state: RiveStateMachineInput.PROCESSING,
411797
+ headingText: t$b('views.ADD_TOKENS.handover.executing.heading'),
411798
+ subheadingText: (jsxs(Fragment$1, { children: [t$b('views.ADD_TOKENS.handover.executing.subHeadingDuration', {
411799
+ duration: getDurationFormatted(route.route.estimate.estimatedRouteDuration, t$b('views.ADD_TOKENS.routeSelection.minutesText'), t$b('views.ADD_TOKENS.routeSelection.minuteText'), t$b('views.ADD_TOKENS.routeSelection.secondsText')),
411800
+ }), jsx$1("br", {}), jsx$1(Trans, { i18nKey: t$b('views.ADD_TOKENS.handover.executing.subHeading'), components: {
411801
+ axelarscanLink: (jsx$1(Link, { size: "small", rc: (jsx$1("a", { target: "_blank", href: `https://axelarscan.io/gmp/${executeTxnReceipt?.transactionHash}`, rel: "noreferrer" })) })),
411802
+ } })] })),
411803
+ });
411804
+ const status = await getStatus(squid, executeTxnReceipt.transactionHash);
411805
+ const axelarscanUrl = `https://axelarscan.io/gmp/${executeTxnReceipt?.transactionHash}`;
411806
+ if (status?.squidTransactionStatus === 'success') {
411807
+ showHandover({
411808
+ animationPath: EXECUTE_TXN_ANIMATION,
411809
+ state: RiveStateMachineInput.COMPLETED,
411810
+ headingText: t$b('views.ADD_TOKENS.handover.executed.heading'),
411811
+ subheadingText: (jsx$1(Trans, { i18nKey: t$b('views.ADD_TOKENS.handover.executed.subHeading'), components: {
411812
+ axelarscanLink: (jsx$1(Link, { size: "small", rc: (jsx$1("a", { target: "_blank", href: axelarscanUrl, rel: "noreferrer" })) })),
411813
+ } })),
411814
+ primaryButtonText: t$b('views.ADD_TOKENS.handover.executed.primaryButtonText'),
411815
+ onPrimaryButtonClick: () => {
411816
+ sendAddTokensCloseEvent(eventTarget);
411817
+ },
411818
+ });
411819
+ }
411820
+ else if (status?.squidTransactionStatus === 'needs_gas') {
411821
+ showHandover({
411822
+ animationPath: APPROVE_TXN_ANIMATION,
411823
+ state: RiveStateMachineInput.COMPLETED,
411824
+ headingText: t$b('views.ADD_TOKENS.handover.needsGas.heading'),
411825
+ subheadingText: (jsx$1(Trans, { i18nKey: t$b('views.ADD_TOKENS.handover.needsGas.subHeading'), components: {
411826
+ axelarscanLink: (jsx$1(Link, { size: "small", rc: (jsx$1("a", { target: "_blank", href: axelarscanUrl, rel: "noreferrer" })) })),
411827
+ } })),
411828
+ primaryButtonText: t$b('views.ADD_TOKENS.handover.needsGas.primaryButtonText'),
411829
+ onPrimaryButtonClick: () => {
411830
+ window.open(axelarscanUrl, '_blank', 'noreferrer');
411831
+ },
411832
+ secondaryButtonText: t$b('views.ADD_TOKENS.handover.needsGas.secondaryButtonText'),
411833
+ onSecondaryButtonClick: () => {
411834
+ sendAddTokensCloseEvent(eventTarget);
411835
+ },
411836
+ });
411837
+ }
411838
+ else if (status?.squidTransactionStatus === 'partial_success') {
411839
+ showHandover({
411840
+ animationPath: APPROVE_TXN_ANIMATION,
411841
+ state: RiveStateMachineInput.COMPLETED,
411842
+ headingText: t$b('views.ADD_TOKENS.handover.partialSuccess.heading'),
411843
+ subheadingText: (jsx$1(Trans, { i18nKey: t$b('views.ADD_TOKENS.handover.partialSuccess.subHeading'), components: {
411844
+ squidLink: (jsx$1(Link, { size: "small", rc: (jsx$1("a", { target: "_blank", href: "https://toolkit.immutable.com/squid-bridge/", rel: "noreferrer" })) })),
411845
+ } })),
411846
+ primaryButtonText: t$b('views.ADD_TOKENS.handover.partialSuccess.primaryButtonText'),
411847
+ onPrimaryButtonClick: () => {
411848
+ window.open('https://toolkit.immutable.com/squid-bridge/', '_blank', 'noreferrer');
411849
+ },
411850
+ secondaryButtonText: t$b('views.ADD_TOKENS.handover.partialSuccess.secondaryButtonText'),
411851
+ onSecondaryButtonClick: () => {
411852
+ sendAddTokensCloseEvent(eventTarget);
411853
+ },
411854
+ });
411855
+ }
411856
+ else {
411857
+ showHandover({
411858
+ animationPath: APPROVE_TXN_ANIMATION,
411859
+ state: RiveStateMachineInput.COMPLETED,
411860
+ headingText: t$b('views.ADD_TOKENS.handover.statusFailed.heading'),
411861
+ subheadingText: (jsx$1(Trans, { i18nKey: t$b('views.ADD_TOKENS.handover.statusFailed.subHeading'), components: {
411862
+ axelarscanLink: (jsx$1(Link, { size: "small", rc: (jsx$1("a", { target: "_blank", href: axelarscanUrl, rel: "noreferrer" })) })),
411863
+ } })),
411864
+ secondaryButtonText: t$b('views.ADD_TOKENS.handover.statusFailed.secondaryButtonText'),
411865
+ onSecondaryButtonClick: () => {
411866
+ sendAddTokensCloseEvent(eventTarget);
411867
+ },
411868
+ });
411869
+ }
411629
411870
  }
411630
411871
  }, [
411631
411872
  route,
@@ -411667,7 +411908,7 @@ function print() { __p += __j.call(arguments, '') }
411667
411908
  top: '-14px',
411668
411909
  h: 'base.spacing.x10',
411669
411910
  },
411670
- } }), jsxs(Stack, { direction: "row", sx: { py: 'base.spacing.x5', px: 'base.spacing.x7' }, gap: "base.spacing.x6", alignItems: "center", children: [jsx$1(Stack, { direction: "row", sx: { w: 'base.spacing.x12' }, justifyContent: "center", children: jsx$1(FramedImage, { use: jsx$1(SquidIcon, {}), size: "medium", padded: true }) }), jsxs(Stack, { sx: { flex: 1 }, gap: "0px", children: [jsxs(Body, { weight: "bold", children: [t$b('views.ADD_TOKENS.review.swap'), ' ', route.route.estimate.fromToken.name, ' ', t$b('views.ADD_TOKENS.review.to'), ' ', route.route.estimate.toToken.name] }), jsxs(Body, { size: "small", sx: { c: 'base.color.text.body.secondary' }, children: [t$b('views.ADD_TOKENS.review.poweredBySquid'), jsx$1("br", {}), "1", ' ', route.route.estimate.fromToken.symbol, ' ', "=", ' ', getFormattedNumberWithDecimalPlaces(route.route.estimate.exchangeRate), ' ', route.route.estimate.toToken.name] })] })] }), jsx$1(Stack, { sx: {
411911
+ } }), jsxs(Stack, { direction: "row", sx: { py: 'base.spacing.x5', px: 'base.spacing.x7' }, gap: "base.spacing.x6", alignItems: "center", children: [jsx$1(Stack, { direction: "row", sx: { w: 'base.spacing.x12' }, justifyContent: "center", children: jsx$1(FramedImage, { use: jsx$1(SquidIcon, {}), size: "medium", padded: true }) }), jsxs(Stack, { sx: { flex: 1 }, gap: "0px", children: [jsxs(Body, { weight: "bold", children: [t$b('views.ADD_TOKENS.review.swap'), ' ', route.route.estimate.fromToken.name, ' ', t$b('views.ADD_TOKENS.review.to'), ' ', route.route.estimate.toToken.name] }), jsxs(Body, { size: "small", sx: { c: 'base.color.text.body.secondary' }, children: [t$b('views.ADD_TOKENS.review.poweredBySquid'), jsx$1("br", {}), "1", route.route.estimate.fromToken.symbol, ' ', "=", ' ', getFormattedNumberWithDecimalPlaces(route.route.estimate.exchangeRate), ' ', route.route.estimate.toToken.name] })] })] }), jsx$1(Stack, { sx: {
411671
411912
  pos: 'relative',
411672
411913
  w: 'base.spacing.x16',
411673
411914
  ml: 'base.spacing.x7',
@@ -411692,7 +411933,8 @@ function print() { __p += __j.call(arguments, '') }
411692
411933
  top: '-8px',
411693
411934
  h: 'base.spacing.x5',
411694
411935
  },
411695
- } }), jsxs(Stack, { direction: "row", gap: "base.spacing.x6", sx: { py: 'base.spacing.x5', px: 'base.spacing.x7' }, alignItems: "center", children: [jsx$1(Stack, { direction: "row", sx: { w: 'base.spacing.x12' }, justifyContent: "center", children: jsx$1(FramedIcon, { icon: "Countdown", variant: "bold", size: "medium", circularFrame: true }) }), jsx$1(Body, { size: "small", sx: { flex: 1, c: 'base.color.text.body.secondary' }, children: formattedDuration }), routeFees] })] }), jsx$1(Button, { size: "large", onClick: handleTransaction, disabled: proceedDisabled, sx: { mx: 'base.spacing.x3' }, children: proceedDisabled ? t$b('views.ADD_TOKENS.review.processingButtonText')
411936
+ } }), jsxs(Stack, { direction: "row", gap: "base.spacing.x6", sx: { py: 'base.spacing.x5', px: 'base.spacing.x7' }, alignItems: "center", children: [jsx$1(Stack, { direction: "row", sx: { w: 'base.spacing.x12' }, justifyContent: "center", children: jsx$1(FramedIcon, { icon: "Countdown", variant: "bold", size: "medium", circularFrame: true }) }), jsx$1(Body, { size: "small", sx: { flex: 1, c: 'base.color.text.body.secondary' }, children: formattedDuration }), routeFees] })] }), jsx$1(Button, { size: "large", onClick: handleTransaction, disabled: proceedDisabled, sx: { mx: 'base.spacing.x3' }, children: proceedDisabled
411937
+ ? t$b('views.ADD_TOKENS.review.processingButtonText')
411696
411938
  : t$b('views.ADD_TOKENS.review.proceedButtonText') }), jsx$1(SquidFooter, {})] })), !route && !showAddressMissmatchDrawer && (jsx$1(LoadingView, { loadingText: t$b('views.ADD_TOKENS.review.loadingText'), containerSx: { bg: 'transparent' } }))] }), jsx$1(RouteFees, { routeData: route, visible: showFeeBreakdown, onClose: () => setShowFeeBreakdown(false), totalAmount: totalFees, totalFiatAmount: totalFeesUsd }), jsx$1(AddressMissmatchDrawer, { visible: showAddressMissmatchDrawer, onClick: () => {
411697
411939
  setShowAddressMissmatchDrawer(false);
411698
411940
  viewDispatch({
@@ -1,4 +1,4 @@
1
- import { E as Environment$1, t as track, I as ImmutableConfiguration } from './index-DnsQswUj.js';
1
+ import { E as Environment$1, t as track, I as ImmutableConfiguration } from './index-_Y80HpGF.js';
2
2
  import globalAxios, { HttpStatusCode as HttpStatusCode$1 } from 'axios';
3
3
  import { ethers, BigNumber as BigNumber$1, ContractFactory, utils as utils$2, Contract as Contract$1 } from 'ethers';
4
4
  import { Web3Provider, JsonRpcProvider } from '@ethersproject/providers';
@@ -8,8 +8,8 @@ import assert from 'assert';
8
8
  import { FeeAmount, Route, SwapQuoter, Pool, Trade, toHex as toHex$1, encodeRouteToPath } from '@uniswap/v3-sdk';
9
9
  import { keccak256 as keccak256$1 } from '@ethersproject/solidity';
10
10
  import { SwapRouter, PaymentsExtended } from '@uniswap/router-sdk';
11
- import { c as constants, O as OrderStatusName, a as Orderbook, A as ActionType, T as TransactionPurpose, S as SignablePurpose } from './index-BmEMIEoz.js';
12
- import { B as BlockchainData } from './index-C5qsusaO.js';
11
+ import { c as constants, O as OrderStatusName, a as Orderbook, A as ActionType, T as TransactionPurpose, S as SignablePurpose } from './index-D1N8qdz9.js';
12
+ import { B as BlockchainData } from './index-CnvMR69p.js';
13
13
  import detectEthereumProvider from '@metamask/detect-provider';
14
14
  import semver from 'semver';
15
15
 
@@ -19207,7 +19207,7 @@ const flattenProperties = (properties) => {
19207
19207
  };
19208
19208
 
19209
19209
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
19210
- const SDK_VERSION = '1.72.5';
19210
+ const SDK_VERSION = '1.72.6-alpha.2';
19211
19211
  const getFrameParentDomain = () => {
19212
19212
  if (isNode()) {
19213
19213
  return '';
@@ -24316,7 +24316,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
24316
24316
  maxPriorityFeePerGas: BigNumber$1.from(10e9),
24317
24317
  };
24318
24318
 
24319
- const SDK_VERSION_MARKER = '1.72.5';
24319
+ const SDK_VERSION_MARKER = '1.72.6-alpha.2';
24320
24320
  // This SDK version is replaced by the `yarn build` command ran on the root level
24321
24321
  const globalPackageVersion = () => SDK_VERSION_MARKER;
24322
24322
 
package/dist/checkout.js CHANGED
@@ -1,5 +1,5 @@
1
- export { A as AddTokensEventType, B as BlockExplorerService, a as BridgeEventType, C as ChainId, b as ChainName, d as ChainSlug, e as Checkout, f as CheckoutConfiguration, g as CheckoutError, h as CheckoutErrorType, i as CheckoutStatus, j as CommerceEventType, k as CommerceFailureEventType, l as CommerceFlowType, m as CommerceSuccessEventType, n as CommerceUserActionEventType, o as ConnectEventType, p as ConnectTargetLayer, E as ExchangeType, F as FeeType, q as FundingStepType, G as GasEstimateType, r as GasTokenType, I as IMMUTABLE_API_BASE_URL, s as IMTBLWidgetEvents, t as ItemType, N as NetworkFilterTypes, O as OnRampEventType, u as OrchestrationEventType, P as ProviderEventType, R as RoutingOutcomeType, S as SaleEventType, v as SalePaymentTypes, w as SwapDirection, x as SwapEventType, T as TokenFilterTypes, y as TransactionOrGasType, W as WalletEventType, z as WalletFilterTypes, D as WalletProviderName, H as WalletProviderRdns, J as WidgetTheme, K as WidgetType, L as fetchRiskAssessment, M as getMetaMaskProviderDetail, Q as getPassportProviderDetail, U as isAddressSanctioned, V as validateProvider } from './checkout-CuyhPhPI.js';
2
- import './index-DnsQswUj.js';
1
+ export { A as AddTokensEventType, B as BlockExplorerService, a as BridgeEventType, C as ChainId, b as ChainName, d as ChainSlug, e as Checkout, f as CheckoutConfiguration, g as CheckoutError, h as CheckoutErrorType, i as CheckoutStatus, j as CommerceEventType, k as CommerceFailureEventType, l as CommerceFlowType, m as CommerceSuccessEventType, n as CommerceUserActionEventType, o as ConnectEventType, p as ConnectTargetLayer, E as ExchangeType, F as FeeType, q as FundingStepType, G as GasEstimateType, r as GasTokenType, I as IMMUTABLE_API_BASE_URL, s as IMTBLWidgetEvents, t as ItemType, N as NetworkFilterTypes, O as OnRampEventType, u as OrchestrationEventType, P as ProviderEventType, R as RoutingOutcomeType, S as SaleEventType, v as SalePaymentTypes, w as SwapDirection, x as SwapEventType, T as TokenFilterTypes, y as TransactionOrGasType, W as WalletEventType, z as WalletFilterTypes, D as WalletProviderName, H as WalletProviderRdns, J as WidgetTheme, K as WidgetType, L as fetchRiskAssessment, M as getMetaMaskProviderDetail, Q as getPassportProviderDetail, U as isAddressSanctioned, V as validateProvider } from './checkout-B8nzDuev.js';
2
+ import './index-_Y80HpGF.js';
3
3
  import 'axios';
4
4
  import 'lru-memorise';
5
5
  import 'global-const';
@@ -10,13 +10,13 @@ import 'assert';
10
10
  import '@uniswap/v3-sdk';
11
11
  import '@ethersproject/solidity';
12
12
  import '@uniswap/router-sdk';
13
- import './index-BmEMIEoz.js';
13
+ import './index-D1N8qdz9.js';
14
14
  import 'form-data';
15
15
  import '@opensea/seaport-js/lib/constants';
16
16
  import 'ethers-v6';
17
17
  import 'merkletreejs';
18
18
  import '@opensea/seaport-js';
19
- import './index-C5qsusaO.js';
20
- import './index-BZ0-xFD5.js';
19
+ import './index-CnvMR69p.js';
20
+ import './index-BttL7TDQ.js';
21
21
  import '@metamask/detect-provider';
22
22
  import 'semver';
@@ -1,4 +1,4 @@
1
- import { E as Environment, I as ImmutableConfiguration, K as KeyHeaders, a as addKeysToHeadersOverride } from './index-DnsQswUj.js';
1
+ import { E as Environment, I as ImmutableConfiguration, K as KeyHeaders, a as addKeysToHeadersOverride } from './index-_Y80HpGF.js';
2
2
 
3
3
  var config = /*#__PURE__*/Object.freeze({
4
4
  __proto__: null,
package/dist/config.js CHANGED
@@ -1,4 +1,4 @@
1
- export { E as Environment, I as ImmutableConfiguration, K as KeyHeaders, a as addKeysToHeadersOverride } from './index-DnsQswUj.js';
1
+ export { E as Environment, I as ImmutableConfiguration, K as KeyHeaders, a as addKeysToHeadersOverride } from './index-_Y80HpGF.js';
2
2
  import 'axios';
3
3
  import 'lru-memorise';
4
4
  import 'global-const';
@@ -7764,7 +7764,7 @@ const GuardianApiAxiosParamCreator = function (configuration) {
7764
7764
  const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
7765
7765
  const localVarHeaderParameter = {};
7766
7766
  const localVarQueryParameter = {};
7767
- // authentication BearerAuth required
7767
+ // authentication BearerAuthWithClient required
7768
7768
  // http bearer authentication required
7769
7769
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
7770
7770
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -7796,7 +7796,7 @@ const GuardianApiAxiosParamCreator = function (configuration) {
7796
7796
  const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
7797
7797
  const localVarHeaderParameter = {};
7798
7798
  const localVarQueryParameter = {};
7799
- // authentication BearerAuth required
7799
+ // authentication BearerAuthWithClient required
7800
7800
  // http bearer authentication required
7801
7801
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
7802
7802
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -7831,7 +7831,7 @@ const GuardianApiAxiosParamCreator = function (configuration) {
7831
7831
  const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
7832
7832
  const localVarHeaderParameter = {};
7833
7833
  const localVarQueryParameter = {};
7834
- // authentication BearerAuth required
7834
+ // authentication BearerAuthWithClient required
7835
7835
  // http bearer authentication required
7836
7836
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
7837
7837
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -14336,7 +14336,7 @@ class MultiRollupApiClients {
14336
14336
  }
14337
14337
 
14338
14338
  // eslint-disable-next-line @typescript-eslint/naming-convention
14339
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.72.5' };
14339
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.72.6-alpha.2' };
14340
14340
  const createConfig = ({ basePath, headers, }) => {
14341
14341
  if (!basePath.trim()) {
14342
14342
  throw Error('basePath can not be empty');
@@ -1,5 +1,5 @@
1
1
  import MessageValidator from 'sns-validator';
2
- import { E as Environment } from './index-DnsQswUj.js';
2
+ import { E as Environment } from './index-_Y80HpGF.js';
3
3
 
4
4
  const validator = new MessageValidator();
5
5
  const allowedTopicArnPrefix = {
@@ -1,5 +1,5 @@
1
- import { d as index$2, I as ImxApiClients } from './index-BZ0-xFD5.js';
2
- import { a as addKeysToHeadersOverride, E as Environment, I as ImmutableConfiguration } from './index-DnsQswUj.js';
1
+ import { d as index$2, I as ImxApiClients } from './index-BttL7TDQ.js';
2
+ import { a as addKeysToHeadersOverride, E as Environment, I as ImmutableConfiguration } from './index-_Y80HpGF.js';
3
3
  import globalAxios from 'axios';
4
4
  import { keccak256 } from '@ethersproject/keccak256';
5
5
  import { toUtf8Bytes } from '@ethersproject/strings';
@@ -16,7 +16,7 @@ import '@ethersproject/abstract-signer';
16
16
  /* eslint-disable @typescript-eslint/naming-convention */
17
17
  class ApiConfiguration extends index$2.Configuration {
18
18
  }
19
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.72.5' };
19
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.72.6-alpha.2' };
20
20
  /**
21
21
  * @dev use createImmutableXConfiguration instead
22
22
  */
@@ -57,7 +57,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
57
57
  coreContractAddress,
58
58
  registrationContractAddress,
59
59
  registrationV4ContractAddress,
60
- sdkVersion: 'ts-immutable-sdk-1.72.5',
60
+ sdkVersion: 'ts-immutable-sdk-1.72.6-alpha.2',
61
61
  baseConfig,
62
62
  });
63
63
  const production = ({ baseConfig }) => createImmutableXConfiguration({
@@ -1,5 +1,5 @@
1
- import { a as index$1 } from './index-BZ0-xFD5.js';
2
- import { E as Environment, a as addKeysToHeadersOverride } from './index-DnsQswUj.js';
1
+ import { a as index$1 } from './index-BttL7TDQ.js';
2
+ import { E as Environment, a as addKeysToHeadersOverride } from './index-_Y80HpGF.js';
3
3
  import globalAxios from 'axios';
4
4
 
5
5
  /**
@@ -21,7 +21,7 @@ class APIError extends Error {
21
21
 
22
22
  /* eslint-disable implicit-arrow-linebreak */
23
23
  const defaultHeaders = {
24
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.72.5',
24
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.72.6-alpha.2',
25
25
  };
26
26
  /**
27
27
  * createAPIConfiguration to create a custom Configuration