@hellotext/hellotext 1.8.5 → 1.8.6

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.
@@ -51,7 +51,7 @@ var ApplicationChannel = /*#__PURE__*/function () {
51
51
  key: "webSocket",
52
52
  get: function get() {
53
53
  if (!ApplicationChannel.webSocket) {
54
- return ApplicationChannel.webSocket = new WebSocket("ws://localhost:3000/cable");
54
+ return ApplicationChannel.webSocket = new WebSocket("wss://www.hellotext.com/cable");
55
55
  }
56
56
  return ApplicationChannel.webSocket;
57
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hellotext/hellotext",
3
- "version": "1.8.5",
3
+ "version": "1.8.6",
4
4
  "description": "Hellotext JavaScript Client",
5
5
  "source": "src/index.js",
6
6
  "main": "lib/index.js",
@@ -31,7 +31,7 @@ class ApplicationChannel {
31
31
 
32
32
  get webSocket() {
33
33
  if (!ApplicationChannel.webSocket) {
34
- return ApplicationChannel.webSocket = new WebSocket("ws://localhost:3000/cable")
34
+ return ApplicationChannel.webSocket = new WebSocket("wss://www.hellotext.com/cable")
35
35
  }
36
36
 
37
37
  return ApplicationChannel.webSocket