nftychat-universe 1.4.3 → 1.4.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.
package/dist/index.cjs.js CHANGED
@@ -12478,15 +12478,13 @@ function DmButton(props) {
12478
12478
 
12479
12479
  React.useEffect(() => {
12480
12480
  async function resolveUserName() {
12481
- if (!userName || userName === "" || userName === undefined) {
12481
+ if (!!wagmiAddress) {
12482
12482
  const tempUserName = await getDisplayName(wagmiAddress);
12483
12483
  setUserName(tempUserName);
12484
12484
  }
12485
12485
  }
12486
12486
 
12487
12487
  resolveUserName();
12488
- console.log("wagmiAddress - " + wagmiAddress);
12489
- console.log("userName - " + userName);
12490
12488
  }, [userName, wagmiAddress]); //useEffect if displayName not defined
12491
12489
 
12492
12490
  React.useEffect(() => {
package/dist/index.esm.js CHANGED
@@ -12451,15 +12451,13 @@ function DmButton(props) {
12451
12451
 
12452
12452
  useEffect(() => {
12453
12453
  async function resolveUserName() {
12454
- if (!userName || userName === "" || userName === undefined) {
12454
+ if (!!wagmiAddress) {
12455
12455
  const tempUserName = await getDisplayName(wagmiAddress);
12456
12456
  setUserName(tempUserName);
12457
12457
  }
12458
12458
  }
12459
12459
 
12460
12460
  resolveUserName();
12461
- console.log("wagmiAddress - " + wagmiAddress);
12462
- console.log("userName - " + userName);
12463
12461
  }, [userName, wagmiAddress]); //useEffect if displayName not defined
12464
12462
 
12465
12463
  useEffect(() => {
Binary file
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/nftychat/nftychat-universe"
6
6
  },
7
- "version": "1.4.3",
7
+ "version": "1.4.5",
8
8
  "license": "MIT",
9
9
  "description": "nftychat plugins for your website",
10
10
  "author": "nftychat",
package/public/index.html CHANGED
@@ -9,10 +9,7 @@
9
9
  <!-- Google Fonts -->
10
10
  <link rel="preconnect" href="https://fonts.googleapis.com" />
11
11
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
12
- <link
13
- href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap"
14
- rel="stylesheet"
15
- />
12
+ <link href='https://fonts.googleapis.com/css?family=Inter' rel='stylesheet'>
16
13
  </head>
17
14
  <body>
18
15
  <noscript>You need to enable JavaScript to run this app.</noscript>