@zohoim/client-sdk 1.1.0-calls1 → 1.1.0-calls3

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.
@@ -126,9 +126,11 @@ const ModuleFactory = {
126
126
  let {
127
127
  config
128
128
  } = _ref12;
129
- return new CallSDK({
130
- config
131
- }).toJSON();
129
+ return {
130
+ [ModuleTypes.AUTHENTICATED]: new CallSDK({
131
+ config
132
+ }).toJSON()
133
+ };
132
134
  }
133
135
  };
134
136
  export default ModuleFactory;
@@ -66,7 +66,7 @@ export default class IMSDK {
66
66
  }
67
67
 
68
68
  get calls() {
69
- return this._moduleManager.getModule(ModuleNames.CALLS);
69
+ return this._moduleManager.getModuleByType(ModuleNames.CALLS);
70
70
  }
71
71
 
72
72
  hasModule(moduleName) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohoim/client-sdk",
3
- "version": "1.1.0-calls1",
3
+ "version": "1.1.0-calls3",
4
4
  "description": "To have the client sdk for the IM",
5
5
  "main": "es/index.js",
6
6
  "module": "es/index.js",