@squidcloud/client 1.0.178 → 1.0.179

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/cjs/index.js CHANGED
@@ -47058,7 +47058,8 @@ function getApplicationUrl(regionPrefix, appId, path) {
47058
47058
  }
47059
47059
  const url = parsedBaseUrl.toString();
47060
47060
  path = path.startsWith('/') ? path.slice(1) : path;
47061
- return (url.endsWith('/') ? url : url + '/') + path;
47061
+ const urlWithoutTrailingSlash = url.replace(/\/$/g, '');
47062
+ return path.length ? `${urlWithoutTrailingSlash}/${path}` : urlWithoutTrailingSlash;
47062
47063
  }
47063
47064
  function getApplicationHttpHeaders(regionPrefix, appId) {
47064
47065
  const headers = {};
@@ -50509,6 +50510,7 @@ async function performAxiosRequest(files, filesFieldName, body, url, headers, ex
50509
50510
  statusText: axiosResponse.statusText,
50510
50511
  };
50511
50512
  }
50513
+ /** @internal. */
50512
50514
  function tryDeserializing(text) {
50513
50515
  if (!text)
50514
50516
  return undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squidcloud/client",
3
- "version": "1.0.178",
3
+ "version": "1.0.179",
4
4
  "description": "A typescript implementation of the Squid client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "types": "dist/typescript-client/src/index.d.ts",