@volr/react 0.1.8 → 0.1.9

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 CHANGED
@@ -1971,10 +1971,10 @@ function useVolrLogin() {
1971
1971
  async (provider) => {
1972
1972
  if (typeof window !== "undefined") {
1973
1973
  const baseUrl = apiBaseUrl.replace(/\/+$/, "");
1974
- window.location.href = `${baseUrl}/auth/${provider}`;
1974
+ window.location.href = `${baseUrl}/auth/${provider}?projectApiKey=${encodeURIComponent(config.projectApiKey)}`;
1975
1975
  }
1976
1976
  },
1977
- [apiBaseUrl]
1977
+ [apiBaseUrl, config.projectApiKey]
1978
1978
  );
1979
1979
  const requestSiweNonce = react.useCallback(async () => {
1980
1980
  const response = await api.get("/auth/siwe/nonce");