@skip-go/widget 3.1.11-alpha.6 → 3.1.11-alpha.7

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.
@@ -5690,7 +5690,7 @@ function walletConnect(parameters) {
5690
5690
  const optionalChains = config2.chains.map((x) => x.id);
5691
5691
  if (!optionalChains.length)
5692
5692
  return;
5693
- const { EthereumProvider } = await import("./index.es-i5mu1CkL.js");
5693
+ const { EthereumProvider } = await import("./index.es-59-i-scQ.js");
5694
5694
  return await EthereumProvider.init({
5695
5695
  ...parameters,
5696
5696
  disableProviderPing: true,
@@ -45263,13 +45263,6 @@ const StyledBridgeArrow = dt(BridgeArrowIcon)`
45263
45263
  const COSMWASM_CLIENTS = {};
45264
45264
  const useCW20Balance = ({ asset, address }) => {
45265
45265
  const skipClientConfig = useAtomValue(skipClientConfigAtom);
45266
- console.log("CW20Balance enabled conditions:", {
45267
- address: !!address,
45268
- tokenContract: !!(asset == null ? void 0 : asset.tokenContract),
45269
- isCW20: !!(asset == null ? void 0 : asset.isCW20),
45270
- chainID: !!(asset == null ? void 0 : asset.chainID),
45271
- all: !!address && !!(asset == null ? void 0 : asset.tokenContract) && !!(asset == null ? void 0 : asset.isCW20) && !!(asset == null ? void 0 : asset.chainID)
45272
- });
45273
45266
  const query = useQuery({
45274
45267
  queryKey: ["cw20Balance", { denom: asset == null ? void 0 : asset.denom, address, chainID: asset == null ? void 0 : asset.chainID }],
45275
45268
  queryFn: async () => {
@@ -45283,8 +45276,7 @@ const useCW20Balance = ({ asset, address }) => {
45283
45276
  if (!asset) throw new Error("Asset not found");
45284
45277
  return getCosmosCW20Balance(rpcURL, address, asset);
45285
45278
  },
45286
- enabled: !!address && !!(asset == null ? void 0 : asset.tokenContract) && !!(asset == null ? void 0 : asset.isCW20) && !!(asset == null ? void 0 : asset.chainID),
45287
- placeholderData: void 0
45279
+ enabled: !!address && !!(asset == null ? void 0 : asset.tokenContract) && !!(asset == null ? void 0 : asset.isCW20) && !!(asset == null ? void 0 : asset.chainID)
45288
45280
  });
45289
45281
  return query;
45290
45282
  };
@@ -45316,7 +45308,6 @@ const useGetSourceBalance = () => {
45316
45308
  asset: sourceAsset,
45317
45309
  address: sourceAccount == null ? void 0 : sourceAccount.address
45318
45310
  });
45319
- console.log(isFetched, isLoading, cw20Balance);
45320
45311
  const data = useMemo(() => {
45321
45312
  var _a, _b, _c, _d, _e2, _f, _g, _h;
45322
45313
  if (!sourceAsset || !sourceAccount || !skipBalances) return;
@@ -45342,7 +45333,7 @@ const useGetSourceBalance = () => {
45342
45333
  }, [sourceAsset, sourceAccount, skipBalances, cw20Balance.data, cw20Balance.error]);
45343
45334
  return {
45344
45335
  data,
45345
- isLoading: !isFetched || isLoading || cw20Balance.isLoading,
45336
+ isLoading: !isFetched || isLoading || cw20Balance.isFetching,
45346
45337
  refetch: () => {
45347
45338
  refetch();
45348
45339
  cw20Balance.refetch();
@@ -47174,7 +47165,7 @@ const initSentry = () => {
47174
47165
  });
47175
47166
  isSentryInitialized = true;
47176
47167
  };
47177
- const version = "3.1.11-alpha.6";
47168
+ const version = "3.1.11-alpha.7";
47178
47169
  const useInitWidget = (props) => {
47179
47170
  var _a;
47180
47171
  if (props.enableSentrySessionReplays) {
@@ -47328,10 +47319,10 @@ const WidgetContainer = dt.div`
47328
47319
  export {
47329
47320
  ShowWidget as S,
47330
47321
  Widget as W,
47331
- getDefaultExportFromCjs as a,
47322
+ getAugmentedNamespace as a,
47332
47323
  commonjsGlobal as c,
47333
47324
  defaultTheme as d,
47334
- getAugmentedNamespace as g,
47325
+ getDefaultExportFromCjs as g,
47335
47326
  lightTheme as l,
47336
47327
  process$1 as p
47337
47328
  };