File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -282,17 +282,8 @@ export class Dialog extends DialogConfig {
282282 * @see https://www.hbci-zka.de/ for FinTS specification
283283 */
284284 public async handleDecoupledTan (
285- // Ensure TAN methods are available before attempting decoupled TAN handling
286- if ( ! this . tanMethods || this . tanMethods . length === 0 ) {
287- throw new Error (
288- "No TAN methods are available for decoupled TAN handling. " +
289- "Ensure the dialog is properly initialized and TAN methods have been retrieved." ,
290- ) ;
291- }
292-
293- // Find the appropriate TAN method (prefer one with decoupled support)
294- const tanMethod =
295- this . tanMethods . find ( ( m ) => m . decoupledMaxStatusRequests !== undefined ) || this . tanMethods [ 0 ] ;
285+ transactionReference : string ,
286+ challengeText : string ,
296287 statusCallback ?: DecoupledTanStatusCallback ,
297288 ) : Promise < Response > {
298289 // Ensure TAN methods are available before attempting decoupled TAN handling
You can’t perform that action at this time.
0 commit comments