@zohoim/client-sdk 1.0.0-poc23 → 1.0.0-poc24

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.
@@ -20,7 +20,13 @@ export default class BaseAPI {
20
20
  params,
21
21
  query
22
22
  } = _ref2;
23
- const _url = `${this.baseURL}${this.replacePathParams(url, params)}`;
23
+
24
+ let _url = this.replacePathParams(url, params);
25
+
26
+ if (this.baseURL) {
27
+ _url = `${this.baseURL}${_url}`;
28
+ }
29
+
24
30
  const queryString = this.buildQuery(query);
25
31
 
26
32
  if (queryString) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohoim/client-sdk",
3
- "version": "1.0.0-poc23",
3
+ "version": "1.0.0-poc24",
4
4
  "description": "To have the client sdk for the IM",
5
5
  "main": "es/index.js",
6
6
  "module": "es/index.js",