nftychat-universe 0.1.36 → 1.0.0
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.
- package/dist/index.cjs.js +2 -4
- package/dist/index.esm.js +2 -4
- package/nftychat-universe-v0.1.36.tgz +0 -0
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
@@ -12514,8 +12514,6 @@ function DmButton(props) {
|
|
12514
12514
|
if (wagmiAddress === props.address) {
|
12515
12515
|
window.open("https://nftychat.xyz/dms", "_blank");
|
12516
12516
|
} else {
|
12517
|
-
console.log(wagmiAddress, !wagmiAddress);
|
12518
|
-
|
12519
12517
|
if (!wagmiAddress) {
|
12520
12518
|
setWalletPopoverOpen(true);
|
12521
12519
|
}
|
@@ -12598,7 +12596,7 @@ const {
|
|
12598
12596
|
chains,
|
12599
12597
|
provider
|
12600
12598
|
} = wagmi.configureChains([wagmi.chain.mainnet, wagmi.chain.polygon, wagmi.chain.optimism, wagmi.chain.arbitrum], [_public.publicProvider()]);
|
12601
|
-
const
|
12599
|
+
const defaultWagmiClient = wagmi.createClient({
|
12602
12600
|
autoConnect: true,
|
12603
12601
|
connectors: [new metaMask.MetaMaskConnector({
|
12604
12602
|
chains
|
@@ -12617,7 +12615,7 @@ const wagmiClient = wagmi.createClient({
|
|
12617
12615
|
});
|
12618
12616
|
function UniversalDm(props) {
|
12619
12617
|
return /*#__PURE__*/jsxRuntime.jsxs(wagmi.WagmiConfig, {
|
12620
|
-
client:
|
12618
|
+
client: defaultWagmiClient,
|
12621
12619
|
children: [/*#__PURE__*/jsxRuntime.jsx(Ie, {}), /*#__PURE__*/jsxRuntime.jsx(DmButton, {
|
12622
12620
|
address: props.address,
|
12623
12621
|
displayName: props.displayName,
|
package/dist/index.esm.js
CHANGED
@@ -12487,8 +12487,6 @@ function DmButton(props) {
|
|
12487
12487
|
if (wagmiAddress === props.address) {
|
12488
12488
|
window.open("https://nftychat.xyz/dms", "_blank");
|
12489
12489
|
} else {
|
12490
|
-
console.log(wagmiAddress, !wagmiAddress);
|
12491
|
-
|
12492
12490
|
if (!wagmiAddress) {
|
12493
12491
|
setWalletPopoverOpen(true);
|
12494
12492
|
}
|
@@ -12571,7 +12569,7 @@ const {
|
|
12571
12569
|
chains,
|
12572
12570
|
provider
|
12573
12571
|
} = configureChains([chain.mainnet, chain.polygon, chain.optimism, chain.arbitrum], [publicProvider()]);
|
12574
|
-
const
|
12572
|
+
const defaultWagmiClient = createClient({
|
12575
12573
|
autoConnect: true,
|
12576
12574
|
connectors: [new MetaMaskConnector({
|
12577
12575
|
chains
|
@@ -12590,7 +12588,7 @@ const wagmiClient = createClient({
|
|
12590
12588
|
});
|
12591
12589
|
function UniversalDm(props) {
|
12592
12590
|
return /*#__PURE__*/jsxs(WagmiConfig, {
|
12593
|
-
client:
|
12591
|
+
client: defaultWagmiClient,
|
12594
12592
|
children: [/*#__PURE__*/jsx(Ie, {}), /*#__PURE__*/jsx(DmButton, {
|
12595
12593
|
address: props.address,
|
12596
12594
|
displayName: props.displayName,
|
Binary file
|