@bigz-app/booking-widget 0.2.2 → 0.2.3
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/booking-widget.js +3 -3
- package/dist/booking-widget.js.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/utils.d.ts +3 -3
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -915,9 +915,9 @@ const inferConfigFromUrl = (baseConfig) => {
|
|
|
915
915
|
const createApiHeaders = (config) => {
|
|
916
916
|
return {
|
|
917
917
|
"Content-Type": "application/json",
|
|
918
|
-
"
|
|
919
|
-
"
|
|
920
|
-
"
|
|
918
|
+
"X-Origin-Url": window.location.href,
|
|
919
|
+
"X-Language": navigator.language,
|
|
920
|
+
"X-User-Agent": navigator.userAgent,
|
|
921
921
|
};
|
|
922
922
|
};
|
|
923
923
|
const createRequestBody = (config, additionalData) => {
|