@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.js
CHANGED
|
@@ -673,7 +673,7 @@ function clearCachedToken(address, chainId) {
|
|
|
673
673
|
}
|
|
674
674
|
}
|
|
675
675
|
async function fetchAccessTokenEntry(walletClient, signerAddress, accountAddress, chainId, domain) {
|
|
676
|
-
const resolvedDomain = domain ?? (typeof window !== "undefined" ? window.location.
|
|
676
|
+
const resolvedDomain = domain ?? (typeof window !== "undefined" ? window.location.hostname : "localhost");
|
|
677
677
|
const hedgerLoginUrl = new URL("login", getHedgerBaseUrl(chainId)).href;
|
|
678
678
|
const nonce = await getNonce(chainId, accountAddress);
|
|
679
679
|
const { message, issuedAt, expirationTime } = createSiweMessage({
|