@thefittingroom/sdk 1.4.2 → 1.4.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/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.min.js +2 -2
- package/dist/esm/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* thefittingroom v1.4.
|
|
2
|
+
* thefittingroom v1.4.3 (2024-08-27T23:39:34.070Z)
|
|
3
3
|
* Copyright 2022-present, TheFittingRoom, Inc. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
// Code generated by tygo. DO NOT EDIT.
|
|
@@ -25325,7 +25325,7 @@ class Fetcher {
|
|
|
25325
25325
|
static async Fetch({ user, endpointPath, method, body, useToken = true }) {
|
|
25326
25326
|
const url = this.getUrl(endpointPath, useToken);
|
|
25327
25327
|
const headers = await this.getHeaders(user, useToken);
|
|
25328
|
-
const config = { method, headers, credentials: '
|
|
25328
|
+
const config = { method, headers, credentials: 'omit' };
|
|
25329
25329
|
if (body)
|
|
25330
25330
|
config.body = JSON.stringify(body);
|
|
25331
25331
|
const res = await fetch(url, config);
|