@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.js
CHANGED
|
@@ -8933,7 +8933,8 @@ const App = _ref => {
|
|
|
8933
8933
|
const _temp = _catch(function () {
|
|
8934
8934
|
const TokenReq = {
|
|
8935
8935
|
module: "WS",
|
|
8936
|
-
code: code
|
|
8936
|
+
code: code,
|
|
8937
|
+
dlReqRef: sessionStorage.getItem("code_verfier_register")
|
|
8937
8938
|
};
|
|
8938
8939
|
const tenantId = Digit.ULBService.getCurrentTenantId() || "dl.djb";
|
|
8939
8940
|
return Promise.resolve(Digit.DigiLockerService.token({
|
|
@@ -10980,7 +10981,8 @@ const App$1 = _ref2 => {
|
|
|
10980
10981
|
const _temp4 = _catch(function () {
|
|
10981
10982
|
const TokenReq = {
|
|
10982
10983
|
module: "WS",
|
|
10983
|
-
code: code
|
|
10984
|
+
code: code,
|
|
10985
|
+
dlReqRef: sessionStorage.getItem("code_verfier_register")
|
|
10984
10986
|
};
|
|
10985
10987
|
const tenantId = Digit.ULBService.getCurrentTenantId() || "dl.djb";
|
|
10986
10988
|
return Promise.resolve(Digit.DigiLockerService.token({
|
|
@@ -36410,8 +36412,9 @@ const WSInfoPage = () => {
|
|
|
36410
36412
|
tenantId
|
|
36411
36413
|
})).then(function (data) {
|
|
36412
36414
|
const redirectUrl = (data === null || data === void 0 ? void 0 : data.redirectURL) || (data === null || data === void 0 ? void 0 : data.redirectUrl);
|
|
36413
|
-
|
|
36414
|
-
|
|
36415
|
+
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);
|
|
36416
|
+
if (verifier) {
|
|
36417
|
+
sessionStorage.setItem("code_verfier_register", verifier);
|
|
36415
36418
|
}
|
|
36416
36419
|
if (redirectUrl) {
|
|
36417
36420
|
window.location.href = redirectUrl;
|