@skip-go/widget 3.1.11-alpha.3 → 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-
|
|
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 () => {
|
|
@@ -45276,7 +45283,8 @@ const useCW20Balance = ({ asset, address }) => {
|
|
|
45276
45283
|
if (!asset) throw new Error("Asset not found");
|
|
45277
45284
|
return getCosmosCW20Balance(rpcURL, address, asset);
|
|
45278
45285
|
},
|
|
45279
|
-
enabled: !!address && !!(asset == null ? void 0 : asset.tokenContract) && !!(asset == null ? void 0 : asset.isCW20) && !!(asset == null ? void 0 : asset.chainID)
|
|
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
|
|
45280
45288
|
});
|
|
45281
45289
|
return query;
|
|
45282
45290
|
};
|
|
@@ -47166,7 +47174,7 @@ const initSentry = () => {
|
|
|
47166
47174
|
});
|
|
47167
47175
|
isSentryInitialized = true;
|
|
47168
47176
|
};
|
|
47169
|
-
const version = "3.1.11-alpha.
|
|
47177
|
+
const version = "3.1.11-alpha.5";
|
|
47170
47178
|
const useInitWidget = (props) => {
|
|
47171
47179
|
var _a;
|
|
47172
47180
|
if (props.enableSentrySessionReplays) {
|
|
@@ -47320,10 +47328,10 @@ const WidgetContainer = dt.div`
|
|
|
47320
47328
|
export {
|
|
47321
47329
|
ShowWidget as S,
|
|
47322
47330
|
Widget as W,
|
|
47323
|
-
|
|
47331
|
+
getDefaultExportFromCjs as a,
|
|
47324
47332
|
commonjsGlobal as c,
|
|
47325
47333
|
defaultTheme as d,
|
|
47326
|
-
|
|
47334
|
+
getAugmentedNamespace as g,
|
|
47327
47335
|
lightTheme as l,
|
|
47328
47336
|
process$1 as p
|
|
47329
47337
|
};
|