@thefittingroom/shop-ui 1.4.38 → 1.4.39
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/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.min.js +3 -3
- package/package.json +2 -2
package/dist/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* thefittingroom v1.4.
|
|
2
|
+
* thefittingroom v1.4.39 (2024-08-27T23:40:17.774Z)
|
|
3
3
|
* Copyright 2022-present, TheFittingRoom, Inc. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
function loadImageRecursive(imageURL, imageURLs) {
|
|
@@ -47,7 +47,7 @@ const InitImageSlider = (sliderID, onChange) => {
|
|
|
47
47
|
};
|
|
48
48
|
|
|
49
49
|
/*!
|
|
50
|
-
* thefittingroom v1.4.
|
|
50
|
+
* thefittingroom v1.4.3 (2024-08-27T23:39:34.070Z)
|
|
51
51
|
* Copyright 2022-present, TheFittingRoom, Inc. All rights reserved.
|
|
52
52
|
*/
|
|
53
53
|
|
|
@@ -25356,7 +25356,7 @@ class Fetcher {
|
|
|
25356
25356
|
static async Fetch({ user, endpointPath, method, body, useToken = true }) {
|
|
25357
25357
|
const url = this.getUrl(endpointPath, useToken);
|
|
25358
25358
|
const headers = await this.getHeaders(user, useToken);
|
|
25359
|
-
const config = { method, headers, credentials: '
|
|
25359
|
+
const config = { method, headers, credentials: 'omit' };
|
|
25360
25360
|
if (body)
|
|
25361
25361
|
config.body = JSON.stringify(body);
|
|
25362
25362
|
const res = await fetch(url, config);
|