@visualizevalue/mint-app-base 0.2.0 → 0.2.1
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/package.json
CHANGED
package/queries/sources.ts
CHANGED
|
@@ -151,7 +151,9 @@ export async function rpcFetchProfile (
|
|
|
151
151
|
wagmi: Config,
|
|
152
152
|
address: `0x${string}`,
|
|
153
153
|
): Promise<Partial<Artist>> {
|
|
154
|
-
const client = getPublicClient(wagmi, { chainId: 1 })
|
|
154
|
+
const client = getPublicClient(wagmi, { chainId: 1 })
|
|
155
|
+
if (!client) return {}
|
|
156
|
+
|
|
155
157
|
const block = await client.getBlockNumber()
|
|
156
158
|
|
|
157
159
|
let ens, avatar, description, url, email, twitter, github
|
|
File without changes
|
|
File without changes
|