@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.
- 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
|
@@ -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" ? "/
|
|
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" ? "/
|
|
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);
|