@acta-markets/ts-sdk 0.0.11-beta → 0.0.12-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.
@@ -414,7 +414,7 @@ class ActaWsClient extends TypedEventEmitter {
414
414
  }
415
415
  this.setConnectionState("connecting");
416
416
  this.emit("connecting");
417
- const endpoint = this.options.role === "maker" ? "/ws/maker" : "/ws/taker";
417
+ const endpoint = this.options.role === "maker" ? "/maker" : "/taker";
418
418
  const url = `${this.options.url}${endpoint}`;
419
419
  this.log(`Connecting to ${url}`);
420
420
  const ws = this.options.makeSocket(url);
package/dist/ws/client.js CHANGED
@@ -411,7 +411,7 @@ export class ActaWsClient extends TypedEventEmitter {
411
411
  }
412
412
  this.setConnectionState("connecting");
413
413
  this.emit("connecting");
414
- const endpoint = this.options.role === "maker" ? "/ws/maker" : "/ws/taker";
414
+ const endpoint = this.options.role === "maker" ? "/maker" : "/taker";
415
415
  const url = `${this.options.url}${endpoint}`;
416
416
  this.log(`Connecting to ${url}`);
417
417
  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.11-beta",
3
+ "version": "0.0.12-beta",
4
4
  "description": "TypeScript SDK for Acta Protocol",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",