@wireapp/api-client 27.44.0 → 27.45.0

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.
@@ -136,8 +136,8 @@ class HttpClient extends events_1.EventEmitter {
136
136
  const response = await this.client.request({
137
137
  ...config,
138
138
  signal: abortController?.signal,
139
- // We want to prefix all urls, except the ones with cookies which are attached to unprefixed urls
140
- url: config.withCredentials ? config.url : `${this.versionPrefix}${config.url}`,
139
+ // We want to prefix all urls, except for the "access" endpoint
140
+ url: config.url === `${auth_1.AuthAPI.URL.ACCESS}` ? config.url : `${this.versionPrefix}${config.url}`,
141
141
  maxBodyLength: FILE_SIZE_100_MB,
142
142
  maxContentLength: FILE_SIZE_100_MB,
143
143
  });
package/package.json CHANGED
@@ -70,6 +70,6 @@
70
70
  "watch": "webpack serve --config webpack.browser.js",
71
71
  "prepare": "yarn dist"
72
72
  },
73
- "version": "27.44.0",
74
- "gitHead": "bcdc4e7a0975c96d300165ca8923820beb1ea469"
73
+ "version": "27.45.0",
74
+ "gitHead": "3ebe0d852062900022cf717480f98a010b24b2a0"
75
75
  }