@ezeep/ezeep-js 1.0.178 → 1.0.179
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/cjs/ezp-auth_14.cjs.entry.js +7 -4
- package/dist/collection/components/ezp-printing/ezp-printing.js +7 -4
- package/dist/custom-elements/index.js +7 -4
- package/dist/esm/ezp-auth_14.entry.js +7 -4
- package/dist/esm-es5/ezp-auth_14.entry.js +1 -1
- package/dist/ezeep/ezeep.esm.js +1 -1
- package/dist/ezeep/p-16c7584d.system.js +1 -1
- package/dist/ezeep/{p-9706130f.entry.js → p-6f0ef27a.entry.js} +1 -1
- package/dist/ezeep/{p-cc02e307.system.entry.js → p-de80f823.system.entry.js} +1 -1
- package/dist/types/components/ezp-printing/ezp-printing.d.ts +2 -0
- package/dist/types/shared/types.d.ts +112 -0
- package/package.json +1 -1
- package/www/build/ezeep.esm.js +1 -1
- package/www/build/p-16c7584d.system.js +1 -1
- package/www/build/{p-9706130f.entry.js → p-6f0ef27a.entry.js} +1 -1
- package/www/build/{p-cc02e307.system.entry.js → p-de80f823.system.entry.js} +1 -1
- package/www/index.html +2 -2
|
@@ -33197,10 +33197,10 @@ let EzpPrinting = class {
|
|
|
33197
33197
|
}
|
|
33198
33198
|
}
|
|
33199
33199
|
async getAuthUri() {
|
|
33200
|
-
|
|
33201
|
-
|
|
33202
|
-
await
|
|
33203
|
-
|
|
33200
|
+
this.auth = new EzpAuthorizationService(this.redirecturi, this.clientid);
|
|
33201
|
+
this.auth.generateCodeVerifier();
|
|
33202
|
+
await this.auth.generateCodeChallenge(authStore.state.codeVerifier);
|
|
33203
|
+
this.auth.buildAuthURI();
|
|
33204
33204
|
return authStore.state.authUri;
|
|
33205
33205
|
}
|
|
33206
33206
|
checkAuth() {
|
|
@@ -33255,6 +33255,9 @@ let EzpPrinting = class {
|
|
|
33255
33255
|
else {
|
|
33256
33256
|
printStore.state.printApiHostUrl = config.printingApiHostUrl;
|
|
33257
33257
|
}
|
|
33258
|
+
if (this.code) {
|
|
33259
|
+
this.auth.getAccessToken();
|
|
33260
|
+
}
|
|
33258
33261
|
sendCodeToParentWindow();
|
|
33259
33262
|
initi18n(this.language);
|
|
33260
33263
|
this.checkAuth();
|
|
@@ -110,10 +110,10 @@ export class EzpPrinting {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
async getAuthUri() {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
await
|
|
116
|
-
|
|
113
|
+
this.auth = new EzpAuthorizationService(this.redirecturi, this.clientid);
|
|
114
|
+
this.auth.generateCodeVerifier();
|
|
115
|
+
await this.auth.generateCodeChallenge(authStore.state.codeVerifier);
|
|
116
|
+
this.auth.buildAuthURI();
|
|
117
117
|
return authStore.state.authUri;
|
|
118
118
|
}
|
|
119
119
|
checkAuth() {
|
|
@@ -168,6 +168,9 @@ export class EzpPrinting {
|
|
|
168
168
|
else {
|
|
169
169
|
printStore.state.printApiHostUrl = config.printingApiHostUrl;
|
|
170
170
|
}
|
|
171
|
+
if (this.code) {
|
|
172
|
+
this.auth.getAccessToken();
|
|
173
|
+
}
|
|
171
174
|
sendCodeToParentWindow();
|
|
172
175
|
initi18n(this.language);
|
|
173
176
|
this.checkAuth();
|
|
@@ -33222,10 +33222,10 @@ let EzpPrinting$1 = class extends HTMLElement {
|
|
|
33222
33222
|
}
|
|
33223
33223
|
}
|
|
33224
33224
|
async getAuthUri() {
|
|
33225
|
-
|
|
33226
|
-
|
|
33227
|
-
await
|
|
33228
|
-
|
|
33225
|
+
this.auth = new EzpAuthorizationService(this.redirecturi, this.clientid);
|
|
33226
|
+
this.auth.generateCodeVerifier();
|
|
33227
|
+
await this.auth.generateCodeChallenge(authStore.state.codeVerifier);
|
|
33228
|
+
this.auth.buildAuthURI();
|
|
33229
33229
|
return authStore.state.authUri;
|
|
33230
33230
|
}
|
|
33231
33231
|
checkAuth() {
|
|
@@ -33280,6 +33280,9 @@ let EzpPrinting$1 = class extends HTMLElement {
|
|
|
33280
33280
|
else {
|
|
33281
33281
|
printStore.state.printApiHostUrl = config.printingApiHostUrl;
|
|
33282
33282
|
}
|
|
33283
|
+
if (this.code) {
|
|
33284
|
+
this.auth.getAccessToken();
|
|
33285
|
+
}
|
|
33283
33286
|
sendCodeToParentWindow();
|
|
33284
33287
|
initi18n(this.language);
|
|
33285
33288
|
this.checkAuth();
|
|
@@ -33193,10 +33193,10 @@ let EzpPrinting = class {
|
|
|
33193
33193
|
}
|
|
33194
33194
|
}
|
|
33195
33195
|
async getAuthUri() {
|
|
33196
|
-
|
|
33197
|
-
|
|
33198
|
-
await
|
|
33199
|
-
|
|
33196
|
+
this.auth = new EzpAuthorizationService(this.redirecturi, this.clientid);
|
|
33197
|
+
this.auth.generateCodeVerifier();
|
|
33198
|
+
await this.auth.generateCodeChallenge(authStore.state.codeVerifier);
|
|
33199
|
+
this.auth.buildAuthURI();
|
|
33200
33200
|
return authStore.state.authUri;
|
|
33201
33201
|
}
|
|
33202
33202
|
checkAuth() {
|
|
@@ -33251,6 +33251,9 @@ let EzpPrinting = class {
|
|
|
33251
33251
|
else {
|
|
33252
33252
|
printStore.state.printApiHostUrl = config.printingApiHostUrl;
|
|
33253
33253
|
}
|
|
33254
|
+
if (this.code) {
|
|
33255
|
+
this.auth.getAccessToken();
|
|
33256
|
+
}
|
|
33254
33257
|
sendCodeToParentWindow();
|
|
33255
33258
|
initi18n(this.language);
|
|
33256
33259
|
this.checkAuth();
|