@pear-protocol/symmio-client 0.2.43 → 0.2.44
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/react/index.mjs
CHANGED
|
@@ -671,7 +671,7 @@ function clearCachedToken(address, chainId) {
|
|
|
671
671
|
}
|
|
672
672
|
}
|
|
673
673
|
async function fetchAccessTokenEntry(walletClient, signerAddress, accountAddress, chainId, domain) {
|
|
674
|
-
const resolvedDomain = domain ?? (typeof window !== "undefined" ? window.location.
|
|
674
|
+
const resolvedDomain = domain ?? (typeof window !== "undefined" ? window.location.hostname : "localhost");
|
|
675
675
|
const hedgerLoginUrl = new URL("login", getHedgerBaseUrl(chainId)).href;
|
|
676
676
|
const nonce = await getNonce(chainId, accountAddress);
|
|
677
677
|
const { message, issuedAt, expirationTime } = createSiweMessage({
|