cidaas-javascript-sdk 3.1.4 → 3.1.5
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/CHANGELOG.md +2 -2
- package/dist/web-auth/WebAuth.js +2 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## [3.1.
|
|
1
|
+
## [3.1.5](https://gitlab.widas.de/cidaas-public-devkits/cidaas-public-sdks/cidaas-javascript-sdk/compare/v3.1.4...v3.1.5) (2023-10-18)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* **[Gitlab-1362](https://gitlab.widas.de/cidaas-v2/framework/issues/-/issues/1365):** set accept-language value from options in getRegistrationSetup added ([d0331a0](https://gitlab.widas.de/cidaas-public-devkits/cidaas-public-sdks/cidaas-javascript-sdk/commit/d0331a0de721a3b7197264ad485c7635bc4e27a8))
|
package/dist/web-auth/WebAuth.js
CHANGED
|
@@ -431,9 +431,8 @@ var WebAuth = /** @class */ (function () {
|
|
|
431
431
|
};
|
|
432
432
|
http.open("GET", _serviceURL, true);
|
|
433
433
|
http.setRequestHeader("Content-type", "application/json");
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
}
|
|
434
|
+
var acceptLanguage = options.acceptlanguage ? options.acceptlanguage : window === null || window === void 0 ? void 0 : window.localeSettings;
|
|
435
|
+
http.setRequestHeader("accept-language", acceptLanguage);
|
|
437
436
|
http.send();
|
|
438
437
|
}
|
|
439
438
|
catch (ex) {
|