@skip-go/widget 3.3.2 → 3.3.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.
@@ -4670,7 +4670,7 @@ function Z2(t) {
4670
4670
  const v = f.chains.map((j) => j.id);
4671
4671
  if (!v.length)
4672
4672
  return;
4673
- const { EthereumProvider: q } = await import("./index.es-BNAxs3fG.js");
4673
+ const { EthereumProvider: q } = await import("./index.es-XerbD5nC.js");
4674
4674
  return await q.init({
4675
4675
  ...t,
4676
4676
  disableProviderPing: !0,
@@ -63568,7 +63568,7 @@ const iF = jp((t) => {
63568
63568
  if (!c || !r) return;
63569
63569
  const J = await ((A = g.getAddress) == null ? void 0 : A.call(g, {
63570
63570
  praxWallet: {
63571
- sourceChainID: (y = b[0]) == null ? void 0 : y.chainID
63571
+ sourceChainID: m ? (y = b[m - 1]) == null ? void 0 : y.chainID : void 0
63572
63572
  }
63573
63573
  }));
63574
63574
  return k((W) => {
@@ -65337,7 +65337,8 @@ const aM = () => {
65337
65337
  const f = i == null ? void 0 : i.destAssetChainID;
65338
65338
  f && le.show(Ce.SetAddressModal, {
65339
65339
  signRequired: n.signRequired,
65340
- chainId: f
65340
+ chainId: f,
65341
+ chainAddressIndex: i.requiredChainAddresses.length - 1
65341
65342
  });
65342
65343
  }
65343
65344
  }
@@ -65459,10 +65460,11 @@ const mM = () => {
65459
65460
  ].includes(v))
65460
65461
  return () => {
65461
65462
  le.show(Ce.SetAddressModal, {
65462
- chainId: i == null ? void 0 : i.destAssetChainID
65463
+ chainId: i == null ? void 0 : i.destAssetChainID,
65464
+ chainAddressIndex: i ? (i == null ? void 0 : i.requiredChainAddresses.length) - 1 : void 0
65463
65465
  });
65464
65466
  };
65465
- }, [v, i == null ? void 0 : i.destAssetChainID]), F = m ? eB : rB;
65467
+ }, [v, i]), F = m ? eB : rB;
65466
65468
  return /* @__PURE__ */ I(Ae, { gap: 5, children: [
65467
65469
  /* @__PURE__ */ h(
65468
65470
  _n,
@@ -67063,7 +67065,7 @@ const vP = () => {
67063
67065
  replaysSessionSampleRate: 1,
67064
67066
  replaysOnErrorSampleRate: 0
67065
67067
  }), D8 = !0);
67066
- }, BP = "3.3.2", EP = () => {
67068
+ }, BP = "3.3.4", EP = () => {
67067
67069
  const t = pn(), i = _(lg);
67068
67070
  we(() => {
67069
67071
  i((e) => ({
@@ -1,4 +1,4 @@
1
- import { g as getAugmentedNamespace, c as commonjsGlobal, a as getDefaultExportFromCjs, p as process$1 } from "./index-BRbbmLLf.js";
1
+ import { g as getAugmentedNamespace, c as commonjsGlobal, a as getDefaultExportFromCjs, p as process$1 } from "./index-t_C2k-Pk.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
@@ -1,4 +1,4 @@
1
- import { S as t, W as d, d as h, l as s } from "./index-BRbbmLLf.js";
1
+ import { S as t, W as d, d as h, l as s } from "./index-t_C2k-Pk.js";
2
2
  export {
3
3
  t as ShowWidget,
4
4
  d as Widget,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@skip-go/widget",
3
3
  "description": "Swap widget",
4
- "version": "3.3.2",
4
+ "version": "3.3.4",
5
5
  "repository": {
6
6
  "url": "https://github.com/skip-mev/skip-go",
7
7
  "directory": "packages/widget"