dh-auth-library 2.2.2 → 2.2.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.
package/dist/index.cjs.js CHANGED
@@ -345,12 +345,12 @@ var DigidLoginPage = class extends BaseLoginPage {
345
345
  await this.openPage(startUrl);
346
346
  await this.handleAnySpecialADLoginScreen();
347
347
  try {
348
- await loginButton.click({ timeout: 3e4 });
348
+ await loginButton.click();
349
349
  } catch (_error) {
350
350
  console.error(`Loginbutton click failed with error: ${_error}`);
351
351
  await this.openPage(startUrl);
352
352
  await this.handleAnySpecialADLoginScreen();
353
- await loginButton.click({ timeout: 3e4 });
353
+ await loginButton.click();
354
354
  }
355
355
  if (!this.page.url().match(/authn/)) {
356
356
  await this.loginWithDigid(account);
@@ -498,6 +498,7 @@ var EHerkenningLoginPage = class extends BaseLoginPage {
498
498
  try {
499
499
  await loginButton.click();
500
500
  } catch (_error) {
501
+ console.error(`EHerkenning Loginbutton click failed with error: ${_error}`);
501
502
  await this.openPage();
502
503
  await this.loginButton.click();
503
504
  }
@@ -530,6 +531,7 @@ var EHerkenningLoginPage = class extends BaseLoginPage {
530
531
  try {
531
532
  await loginButton.click();
532
533
  } catch (_error) {
534
+ console.error(`EHerkenning Loginbutton click failed with error: ${_error}`);
533
535
  await this.openPage();
534
536
  await loginButton.click();
535
537
  }
package/dist/index.es.js CHANGED
@@ -321,12 +321,12 @@ var DigidLoginPage = class extends BaseLoginPage {
321
321
  await this.openPage(startUrl);
322
322
  await this.handleAnySpecialADLoginScreen();
323
323
  try {
324
- await loginButton.click({ timeout: 3e4 });
324
+ await loginButton.click();
325
325
  } catch (_error) {
326
326
  console.error(`Loginbutton click failed with error: ${_error}`);
327
327
  await this.openPage(startUrl);
328
328
  await this.handleAnySpecialADLoginScreen();
329
- await loginButton.click({ timeout: 3e4 });
329
+ await loginButton.click();
330
330
  }
331
331
  if (!this.page.url().match(/authn/)) {
332
332
  await this.loginWithDigid(account);
@@ -474,6 +474,7 @@ var EHerkenningLoginPage = class extends BaseLoginPage {
474
474
  try {
475
475
  await loginButton.click();
476
476
  } catch (_error) {
477
+ console.error(`EHerkenning Loginbutton click failed with error: ${_error}`);
477
478
  await this.openPage();
478
479
  await this.loginButton.click();
479
480
  }
@@ -506,6 +507,7 @@ var EHerkenningLoginPage = class extends BaseLoginPage {
506
507
  try {
507
508
  await loginButton.click();
508
509
  } catch (_error) {
510
+ console.error(`EHerkenning Loginbutton click failed with error: ${_error}`);
509
511
  await this.openPage();
510
512
  await loginButton.click();
511
513
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dh-auth-library",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/Gemeente-DenHaag/dh-auth-library.git"