@vc-shell/framework 1.1.88 → 1.1.90

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vc-shell/framework",
3
- "version": "1.1.88",
3
+ "version": "1.1.90",
4
4
  "type": "module",
5
5
  "main": "./dist/framework.js",
6
6
  "types": "./dist/index.d.ts",
@@ -90,9 +90,9 @@
90
90
  "@fullhuman/postcss-purgecss": "^7.0.2",
91
91
  "@laynezh/vite-plugin-lib-assets": "v1.1.0",
92
92
  "@types/dompurify": "^3.0.5",
93
- "@vc-shell/api-client-generator": "^1.1.88",
94
- "@vc-shell/config-generator": "^1.1.88",
95
- "@vc-shell/ts-config": "^1.1.88",
93
+ "@vc-shell/api-client-generator": "^1.1.90",
94
+ "@vc-shell/config-generator": "^1.1.90",
95
+ "@vc-shell/ts-config": "^1.1.90",
96
96
  "@vitejs/plugin-vue": "^5.2.3",
97
97
  "@vue/test-utils": "^2.4.5",
98
98
  "cypress-signalr-mock": "^1.5.0",
@@ -4,8 +4,8 @@ import { ExternalSignInClient, ExternalSignInProviderInfo } from "../../../core/
4
4
 
5
5
  export interface IUseExternalProvider {
6
6
  storage: Ref<{ providerType?: string | undefined }>;
7
- signIn: (authenticationType?: string) => void;
8
- signOut: (authenticationType: string) => void;
7
+ signIn: (authenticationType?: string) => Promise<void>;
8
+ signOut: (authenticationType: string) => Promise<void>;
9
9
  getProviders: () => Promise<ExternalSignInProviderInfo[] | undefined>;
10
10
  }
11
11
 
@@ -58,7 +58,7 @@ export const useExternalProvider = (): IUseExternalProvider => {
58
58
  }
59
59
  }
60
60
 
61
- async function externalSignOut(authenticationType: string): Promise<void> {
61
+ async function externalSignOut(authenticationType: string) {
62
62
  try {
63
63
  const origin = window.location.origin;
64
64
  const returnUrl = window.location.pathname ?? "/";