pb-sxp-ui 1.15.20-alpha.3 → 1.15.20-alpha.4
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.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.min.cjs +4 -4
- package/dist/index.min.cjs.map +1 -1
- package/dist/index.min.js +4 -4
- package/dist/index.min.js.map +1 -1
- package/dist/pb-ui.js +3 -3
- package/dist/pb-ui.js.map +1 -1
- package/dist/pb-ui.min.js +4 -4
- package/dist/pb-ui.min.js.map +1 -1
- package/es/core/context/SxpDataSourceProvider.js +3 -3
- package/lib/core/context/SxpDataSourceProvider.js +3 -3
- package/package.json +1 -1
@@ -113,9 +113,9 @@ const SxpDataSourceProvider = ({ render, dataSources, utmVal, enableReportEvent
|
|
113
113
|
path = `${path}?${queryString}`;
|
114
114
|
}
|
115
115
|
if (options.type === 'beacon' && navigator.sendBeacon) {
|
116
|
-
|
117
|
-
|
118
|
-
|
116
|
+
return navigator.sendBeacon(`${url}/api/${path}`, new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({}, options.body), bffDataSource.headers), { 'x-user-id': fakeUserId }))], {
|
117
|
+
type: 'text/plain'
|
118
|
+
}));
|
119
119
|
}
|
120
120
|
return window
|
121
121
|
.fetch(`${url}/api/${path}`, {
|
@@ -116,9 +116,9 @@ const SxpDataSourceProvider = ({ render, dataSources, utmVal, enableReportEvent
|
|
116
116
|
path = `${path}?${queryString}`;
|
117
117
|
}
|
118
118
|
if (options.type === 'beacon' && navigator.sendBeacon) {
|
119
|
-
|
120
|
-
|
121
|
-
|
119
|
+
return navigator.sendBeacon(`${url}/api/${path}`, new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({}, options.body), bffDataSource.headers), { 'x-user-id': fakeUserId }))], {
|
120
|
+
type: 'text/plain'
|
121
|
+
}));
|
122
122
|
}
|
123
123
|
return window
|
124
124
|
.fetch(`${url}/api/${path}`, {
|