@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.
- package/dist/cjs/ws/client.js +1 -1
- package/dist/ws/client.js +1 -1
- package/package.json +1 -1
package/dist/cjs/ws/client.js
CHANGED
|
@@ -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" ? "/
|
|
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" ? "/
|
|
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);
|