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