@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.cjs
CHANGED
|
@@ -935,6 +935,9 @@ const inferConfigFromUrl = (baseConfig) => {
|
|
|
935
935
|
const createApiHeaders = (config) => {
|
|
936
936
|
return {
|
|
937
937
|
"Content-Type": "application/json",
|
|
938
|
+
"X-Origin-Url": window.location.href,
|
|
939
|
+
"X-Language": navigator.language,
|
|
940
|
+
"X-User-Agent": navigator.userAgent,
|
|
938
941
|
};
|
|
939
942
|
};
|
|
940
943
|
const createRequestBody = (config, additionalData) => {
|