@asgardeo/vue 0.0.3 → 0.0.4

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.
@@ -221,10 +221,10 @@ declare class AuthAPI {
221
221
  *
222
222
  * @example
223
223
  * ```
224
- * client.trySignInSilently();
224
+ * client.signInSilently();
225
225
  * ```
226
226
  */
227
- trySignInSilently(additionalParams?: Record<string, string | boolean>, tokenRequestConfig?: {
227
+ signInSilently(additionalParams?: Record<string, string | boolean>, tokenRequestConfig?: {
228
228
  params: Record<string, unknown>;
229
229
  }): Promise<BasicUserInfo | boolean>;
230
230
  }
@@ -41,7 +41,7 @@ export type MockAuthAPI = {
41
41
  revokeAccessToken: Mock;
42
42
  signIn: Mock;
43
43
  signOut: Mock;
44
- trySignInSilently: Mock;
44
+ signInSilently: Mock;
45
45
  reInitialize: Mock;
46
46
  updateState: Mock;
47
47
  };
@@ -92,7 +92,7 @@ export interface AuthContextInterface {
92
92
  }) => Promise<BasicUserInfo>;
93
93
  signOut: (callback?: (response: boolean) => void) => Promise<boolean>;
94
94
  state: AuthStateInterface;
95
- trySignInSilently: (additionalParams?: Record<string, string | boolean>, tokenRequestConfig?: {
95
+ signInSilently: (additionalParams?: Record<string, string | boolean>, tokenRequestConfig?: {
96
96
  params: Record<string, unknown>;
97
97
  }) => Promise<boolean | BasicUserInfo>;
98
98
  reInitialize(config: Partial<AuthClientConfig<Config>>): Promise<void>;
package/dist/index.d.ts CHANGED
@@ -96,7 +96,7 @@ interface AuthContextInterface {
96
96
  }) => Promise<BasicUserInfo>;
97
97
  signOut: (callback?: (response: boolean) => void) => Promise<boolean>;
98
98
  state: AuthStateInterface;
99
- trySignInSilently: (additionalParams?: Record<string, string | boolean>, tokenRequestConfig?: {
99
+ signInSilently: (additionalParams?: Record<string, string | boolean>, tokenRequestConfig?: {
100
100
  params: Record<string, unknown>;
101
101
  }) => Promise<boolean | BasicUserInfo>;
102
102
  reInitialize(config: Partial<AuthClientConfig<Config>>): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asgardeo/vue",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Vue SDK for Asgardeo - Authentication and Identity Management",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",