valtech-components 4.0.547 → 4.0.549
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/esm2022/lib/components/organisms/login/login.component.mjs +4 -1
- package/esm2022/lib/services/auth/auth.service.mjs +14 -1
- package/esm2022/lib/services/auth/oauth-callback.component.mjs +16 -8
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +32 -8
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/mini-games/chessimals-game.component.d.ts +1 -1
- package/lib/services/auth/auth.service.d.ts +6 -0
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -114,7 +114,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
114
114
|
readonly botProfiles: ChessimalsBotProfile[];
|
|
115
115
|
readonly challengeLadder: ChessimalsChallengeBot[];
|
|
116
116
|
readonly animals: ChessimalsAnimalView[];
|
|
117
|
-
readonly valtechComponentsVersion = "4.0.
|
|
117
|
+
readonly valtechComponentsVersion = "4.0.549";
|
|
118
118
|
readonly screen: import("@angular/core").WritableSignal<"home" | "challenge" | "path" | "game">;
|
|
119
119
|
readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
|
|
120
120
|
readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
|
|
@@ -126,6 +126,12 @@ export declare class AuthService implements OnDestroy {
|
|
|
126
126
|
* ```
|
|
127
127
|
*/
|
|
128
128
|
signinWithOAuth(provider: OAuthProvider): Observable<SigninResponse>;
|
|
129
|
+
/**
|
|
130
|
+
* Continúa un login OAuth que volvió por redirect principal con MFA requerido.
|
|
131
|
+
* En ese caso `signinWithOAuth()` no puede emitir porque la página navegó al
|
|
132
|
+
* backend OAuth y el callback corre en una ruta nueva de la misma SPA.
|
|
133
|
+
*/
|
|
134
|
+
setOAuthMFAPending(mfaToken: string, method: MFAMethod): void;
|
|
129
135
|
/**
|
|
130
136
|
* Vincula un proveedor OAuth adicional a la cuenta actual.
|
|
131
137
|
* Requiere que el usuario esté autenticado.
|
package/lib/version.d.ts
CHANGED