@ezeep/ezeep-js 1.0.179 → 1.0.180

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.
@@ -33256,7 +33256,10 @@ let EzpPrinting = class {
33256
33256
  printStore.state.printApiHostUrl = config.printingApiHostUrl;
33257
33257
  }
33258
33258
  if (this.code) {
33259
- this.auth.getAccessToken();
33259
+ this.auth.getAccessToken().then(() => {
33260
+ this.authOpen = false;
33261
+ this.printOpen = true;
33262
+ });
33260
33263
  }
33261
33264
  sendCodeToParentWindow();
33262
33265
  initi18n(this.language);
@@ -169,7 +169,10 @@ export class EzpPrinting {
169
169
  printStore.state.printApiHostUrl = config.printingApiHostUrl;
170
170
  }
171
171
  if (this.code) {
172
- this.auth.getAccessToken();
172
+ this.auth.getAccessToken().then(() => {
173
+ this.authOpen = false;
174
+ this.printOpen = true;
175
+ });
173
176
  }
174
177
  sendCodeToParentWindow();
175
178
  initi18n(this.language);
@@ -33281,7 +33281,10 @@ let EzpPrinting$1 = class extends HTMLElement {
33281
33281
  printStore.state.printApiHostUrl = config.printingApiHostUrl;
33282
33282
  }
33283
33283
  if (this.code) {
33284
- this.auth.getAccessToken();
33284
+ this.auth.getAccessToken().then(() => {
33285
+ this.authOpen = false;
33286
+ this.printOpen = true;
33287
+ });
33285
33288
  }
33286
33289
  sendCodeToParentWindow();
33287
33290
  initi18n(this.language);
@@ -33252,7 +33252,10 @@ let EzpPrinting = class {
33252
33252
  printStore.state.printApiHostUrl = config.printingApiHostUrl;
33253
33253
  }
33254
33254
  if (this.code) {
33255
- this.auth.getAccessToken();
33255
+ this.auth.getAccessToken().then(() => {
33256
+ this.authOpen = false;
33257
+ this.printOpen = true;
33258
+ });
33256
33259
  }
33257
33260
  sendCodeToParentWindow();
33258
33261
  initi18n(this.language);