@eka-care/medassist-core 1.0.12 → 1.0.13

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.
Files changed (2) hide show
  1. package/dist/Synapse.js +1 -1
  2. package/package.json +1 -1
package/dist/Synapse.js CHANGED
@@ -268,7 +268,7 @@ class SynapseSDK {
268
268
  }
269
269
  this.sessionConfig = sessionResponse;
270
270
  const serverUrl = (0, constants_1.getConfig)(this.config?.environment).WEBSOCKET_URL;
271
- const customSocketUrl = this.config.serverUrl ? `ws://${this.config.serverUrl.split("://")[1]}` : null;
271
+ const customSocketUrl = this.config.serverUrl ? `wss://${this.config.serverUrl.split("://")[1]}` : null;
272
272
  const connectionType = this.config.connectionType === "socket"
273
273
  ? ConnectionFactory_1.ConnectionType.SOCKET
274
274
  : ConnectionFactory_1.ConnectionType.SOCKET;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eka-care/medassist-core",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "TypeScript SDK for real-time medical chatbot experiences with session management, WebSocket connectivity, and media handling",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",