@spidy092/auth-client 2.0.2 → 2.0.3

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.
Files changed (2) hide show
  1. package/core.js +1 -1
  2. package/package.json +1 -1
package/core.js CHANGED
@@ -12,7 +12,7 @@ import { getConfig, isRouterMode } from './config';
12
12
  // ✅ Track callback state with listeners
13
13
  let callbackProcessed = false;
14
14
 
15
- export function login(clientKeyArg, redirectUriArg) {
15
+ export async function login(clientKeyArg, redirectUriArg) {
16
16
  // ✅ Reset callback state when starting new login
17
17
  resetCallbackState();
18
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spidy092/auth-client",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Scalable frontend auth SDK for centralized login using Keycloak + Auth Service.",
5
5
  "main": "index.js",
6
6
  "module": "index.js",