@skip-go/widget 3.1.11-alpha.4 → 3.1.11-alpha.5

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-D1QYr7R5.js");
5693
+ const { EthereumProvider } = await import("./index.es-tmXL4KET.js");
5694
5694
  return await EthereumProvider.init({
5695
5695
  ...parameters,
5696
5696
  disableProviderPing: true,
@@ -45263,6 +45263,13 @@ 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
+ });
45266
45273
  const query = useQuery({
45267
45274
  queryKey: ["cw20Balance", { denom: asset == null ? void 0 : asset.denom, address, chainID: asset == null ? void 0 : asset.chainID }],
45268
45275
  queryFn: async () => {
@@ -47167,7 +47174,7 @@ const initSentry = () => {
47167
47174
  });
47168
47175
  isSentryInitialized = true;
47169
47176
  };
47170
- const version = "3.1.11-alpha.4";
47177
+ const version = "3.1.11-alpha.5";
47171
47178
  const useInitWidget = (props) => {
47172
47179
  var _a;
47173
47180
  if (props.enableSentrySessionReplays) {
@@ -1,4 +1,4 @@
1
- import { g as getAugmentedNamespace, c as commonjsGlobal, a as getDefaultExportFromCjs, p as process$1 } from "./index-oZceVcCW.js";
1
+ import { g as getAugmentedNamespace, c as commonjsGlobal, a as getDefaultExportFromCjs, p as process$1 } from "./index-S1mgo5Cz.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 = {};
package/build/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { S, W, d, l } from "./index-oZceVcCW.js";
1
+ import { S, W, d, l } from "./index-S1mgo5Cz.js";
2
2
  export {
3
3
  S as ShowWidget,
4
4
  W 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.4",
4
+ "version": "3.1.11-alpha.5",
5
5
  "repository": {
6
6
  "url": "https://github.com/skip-mev/skip-go",
7
7
  "directory": "packages/widget"