@skip-go/widget 3.1.11-alpha.0 → 3.1.11-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.
@@ -4672,7 +4672,7 @@ function ta(e) {
4672
4672
  const A = d.chains.map((I) => I.id);
4673
4673
  if (!A.length)
4674
4674
  return;
4675
- const { EthereumProvider: v } = await import("./index.es-ChY-_omv.js");
4675
+ const { EthereumProvider: v } = await import("./index.es-BKfEyXiY.js");
4676
4676
  return await v.init({
4677
4677
  ...e,
4678
4678
  disableProviderPing: !0,
@@ -40293,9 +40293,8 @@ const i1 = Wi((e) => {
40293
40293
  const n = e(Sn), i = e(Um), o = e(st), t = i && Object.keys(i).length > 0 && !o;
40294
40294
  return {
40295
40295
  queryKey: ["skipBalances", i],
40296
- queryFn: async () => {
40297
- if (i)
40298
- return n.balances(i);
40296
+ queryFn: async () => i ? n.balances(i) : {
40297
+ chains: {}
40299
40298
  },
40300
40299
  enabled: t,
40301
40300
  refetchInterval: 1e3 * 60,
@@ -41802,10 +41801,9 @@ const Ym = () => {
41802
41801
  ), [n, e, o, c, a]);
41803
41802
  fo({
41804
41803
  queryKey: ["all-balances-request", r],
41805
- queryFn: () => {
41806
- if (!(!r || Object.keys(r).length === 0))
41807
- return i({ chains: r }), { chains: r };
41808
- }
41804
+ queryFn: () => !r || Object.keys(r).length === 0 ? {
41805
+ chains: {}
41806
+ } : (i({ chains: r }), { chains: r })
41809
41807
  });
41810
41808
  }, Cg = () => {
41811
41809
  const e = X($D), n = X(
@@ -43000,7 +42998,7 @@ const vf = () => {
43000
42998
  replaysSessionSampleRate: 0,
43001
42999
  replaysOnErrorSampleRate: 1
43002
43000
  }), fs = !0);
43003
- }, Ef = "3.1.11-alpha.0", np = (e) => {
43001
+ }, Ef = "3.1.11-alpha.1", np = (e) => {
43004
43002
  var d;
43005
43003
  e.enableSentrySessionReplays && vf(), Up("widget_version", Ef), yf(e.defaultRoute), Pf(e);
43006
43004
  const n = X(aa), i = X(Ul), o = X(Tn), t = X(lm), c = X(fa), a = X(wo), r = X(tl), s = X(Fo), l = W(() => {
@@ -1,4 +1,4 @@
1
- import { g as getAugmentedNamespace, c as commonjsGlobal, a as getDefaultExportFromCjs, p as process$1 } from "./index-OrcB93YM.js";
1
+ import { g as getAugmentedNamespace, c as commonjsGlobal, a as getDefaultExportFromCjs, p as process$1 } from "./index-Cswxd67C.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-OrcB93YM.js";
1
+ import { S as t, W as d, d as h, l as s } from "./index-Cswxd67C.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.1.11-alpha.0",
4
+ "version": "3.1.11-alpha.1",
5
5
  "repository": {
6
6
  "url": "https://github.com/skip-mev/skip-go",
7
7
  "directory": "packages/widget"