@logto/vue 3.0.9 → 3.0.11

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/lib/index.js CHANGED
@@ -97,8 +97,6 @@ const useHandleSignInCallback = (callback) => {
97
97
  const currentPageUrl = window.location.href;
98
98
  const isAuthenticated = await logtoClient.value.isAuthenticated();
99
99
  const isRedirected = await logtoClient.value.isSignInRedirected(currentPageUrl);
100
- console.log('isAuthenticated', isAuthenticated);
101
- console.log('isRedirected', isRedirected);
102
100
  if (!isAuthenticated && isRedirected) {
103
101
  void handleSignInCallback(currentPageUrl, callback);
104
102
  }
package/lib/plugin.js CHANGED
@@ -44,7 +44,6 @@ const createPluginMethods = (context) => {
44
44
  }
45
45
  try {
46
46
  setLoading(true);
47
- console.log('handleSignInCallback');
48
47
  await logtoClient.value.handleSignInCallback(callbackUri);
49
48
  setIsAuthenticated(true);
50
49
  callbackFunction?.();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logto/vue",
3
- "version": "3.0.9",
3
+ "version": "3.0.11",
4
4
  "type": "module",
5
5
  "module": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -20,14 +20,14 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@silverhand/essentials": "^2.9.2",
23
- "@logto/browser": "^3.0.9"
23
+ "@logto/browser": "^3.0.11"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@silverhand/eslint-config": "^6.0.1",
27
27
  "@silverhand/ts-config": "^6.0.0",
28
28
  "@vitest/coverage-v8": "^2.1.9",
29
29
  "eslint": "^8.57.0",
30
- "happy-dom": "^16.0.0",
30
+ "happy-dom": "^20.0.8",
31
31
  "lint-staged": "^15.0.0",
32
32
  "postcss": "^8.4.31",
33
33
  "prettier": "^3.0.0",