@lvce-editor/auth-worker 1.6.0 → 1.7.0

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.
@@ -1710,6 +1710,7 @@ const waitForElectronBackendLogin = async (backendUrl, uid, redirectUri, timeout
1710
1710
 
1711
1711
  const handleClickLogin = async options => {
1712
1712
  const {
1713
+ authUseRedirect,
1713
1714
  backendUrl,
1714
1715
  platform
1715
1716
  } = options;
@@ -1745,7 +1746,6 @@ const handleClickLogin = async options => {
1745
1746
  loginUrl,
1746
1747
  redirectUri
1747
1748
  } = await getBackendLoginRequest(backendUrl, platform, uid);
1748
- const authUseRedirect = false;
1749
1749
  await invoke$1('Open.openUrl', loginUrl, platform, authUseRedirect);
1750
1750
  const authState = platform === Electron ? await waitForElectronBackendLogin(backendUrl, uid, redirectUri) : await waitForBackendLogin(backendUrl);
1751
1751
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/auth-worker",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "description": "Auth Worker",
5
5
  "repository": {
6
6
  "type": "git",