@stinkycomputing/sesame-api-client 1.4.0-alpha.0 → 1.4.0
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/README.md +0 -18
- package/dist/index.cjs +2 -3
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +2 -3
- package/dist/index.mjs.map +2 -2
- package/dist/sesame-api-client.d.ts +1 -1
- package/dist/sesame-api-client.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -22114,7 +22114,7 @@ var EaseKind = /* @__PURE__ */ ((EaseKind2) => {
|
|
|
22114
22114
|
return EaseKind2;
|
|
22115
22115
|
})(EaseKind || {});
|
|
22116
22116
|
var SesameClient = class extends EventEmitter3 {
|
|
22117
|
-
constructor(
|
|
22117
|
+
constructor(port) {
|
|
22118
22118
|
super();
|
|
22119
22119
|
this.subscriptions = [];
|
|
22120
22120
|
this.errorIsLogged = false;
|
|
@@ -22124,9 +22124,8 @@ var SesameClient = class extends EventEmitter3 {
|
|
|
22124
22124
|
};
|
|
22125
22125
|
this.onCallbackMessage = () => {
|
|
22126
22126
|
};
|
|
22127
|
-
const url = typeof portOrUrl === "number" ? `ws://127.0.0.1:${portOrUrl}/api` : portOrUrl;
|
|
22128
22127
|
this.conn = new SesameConnection({
|
|
22129
|
-
url
|
|
22128
|
+
url: `ws://127.0.0.1:${port}/api`,
|
|
22130
22129
|
autoConnect: true,
|
|
22131
22130
|
autoReconnect: true
|
|
22132
22131
|
});
|