@acta-markets/ts-sdk 0.0.7-beta → 0.0.8-beta

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.
@@ -406,7 +406,7 @@ class ActaWsClient extends TypedEventEmitter {
406
406
  }
407
407
  this.setConnectionState("connecting");
408
408
  this.emit("connecting");
409
- const endpoint = this.options.role === "maker" ? "/ws/maker" : "/ws/taker";
409
+ const endpoint = this.options.role === "maker" ? "/maker" : "/taker";
410
410
  const url = `${this.options.url}${endpoint}`;
411
411
  this.log(`Connecting to ${url}`);
412
412
  const ws = this.options.makeSocket(url);
package/dist/ws/client.js CHANGED
@@ -403,7 +403,7 @@ export class ActaWsClient extends TypedEventEmitter {
403
403
  }
404
404
  this.setConnectionState("connecting");
405
405
  this.emit("connecting");
406
- const endpoint = this.options.role === "maker" ? "/ws/maker" : "/ws/taker";
406
+ const endpoint = this.options.role === "maker" ? "/maker" : "/taker";
407
407
  const url = `${this.options.url}${endpoint}`;
408
408
  this.log(`Connecting to ${url}`);
409
409
  const ws = this.options.makeSocket(url);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acta-markets/ts-sdk",
3
- "version": "0.0.7-beta",
3
+ "version": "0.0.8-beta",
4
4
  "description": "TypeScript SDK for Acta Protocol",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",