@djb25/digit-ui-module-ws 1.0.65 → 1.0.66
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.js +7 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +7 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -8930,7 +8930,8 @@ const App = _ref => {
|
|
|
8930
8930
|
const _temp = _catch(function () {
|
|
8931
8931
|
const TokenReq = {
|
|
8932
8932
|
module: "WS",
|
|
8933
|
-
code: code
|
|
8933
|
+
code: code,
|
|
8934
|
+
dlReqRef: sessionStorage.getItem("code_verfier_register")
|
|
8934
8935
|
};
|
|
8935
8936
|
const tenantId = Digit.ULBService.getCurrentTenantId() || "dl.djb";
|
|
8936
8937
|
return Promise.resolve(Digit.DigiLockerService.token({
|
|
@@ -10977,7 +10978,8 @@ const App$1 = _ref2 => {
|
|
|
10977
10978
|
const _temp4 = _catch(function () {
|
|
10978
10979
|
const TokenReq = {
|
|
10979
10980
|
module: "WS",
|
|
10980
|
-
code: code
|
|
10981
|
+
code: code,
|
|
10982
|
+
dlReqRef: sessionStorage.getItem("code_verfier_register")
|
|
10981
10983
|
};
|
|
10982
10984
|
const tenantId = Digit.ULBService.getCurrentTenantId() || "dl.djb";
|
|
10983
10985
|
return Promise.resolve(Digit.DigiLockerService.token({
|
|
@@ -36407,8 +36409,9 @@ const WSInfoPage = () => {
|
|
|
36407
36409
|
tenantId
|
|
36408
36410
|
})).then(function (data) {
|
|
36409
36411
|
const redirectUrl = (data === null || data === void 0 ? void 0 : data.redirectURL) || (data === null || data === void 0 ? void 0 : data.redirectUrl);
|
|
36410
|
-
|
|
36411
|
-
|
|
36412
|
+
const verifier = (data === null || data === void 0 ? void 0 : data.dlReqRef) || (data === null || data === void 0 ? void 0 : data.codeverifier) || (data === null || data === void 0 ? void 0 : data.codeVerifier) || (data === null || data === void 0 ? void 0 : data.code_verifier);
|
|
36413
|
+
if (verifier) {
|
|
36414
|
+
sessionStorage.setItem("code_verfier_register", verifier);
|
|
36412
36415
|
}
|
|
36413
36416
|
if (redirectUrl) {
|
|
36414
36417
|
window.location.href = redirectUrl;
|