@kinotic-ai/core 1.6.1 → 1.7.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/dist/index.cjs CHANGED
@@ -151,7 +151,7 @@ var import_stompjs = require("@stomp/stompjs");
151
151
  var import_debug = __toESM(require("debug"));
152
152
  var import_rxjs = require("rxjs");
153
153
  var import_uuid = require("uuid");
154
- var SESSION_CHECK_PATH = "/api/me";
154
+ var SESSION_CHECK_PATH = "/api/auth/me";
155
155
 
156
156
  class StompConnectionManager {
157
157
  lastWebsocketError = null;
@@ -324,9 +324,7 @@ class StompConnectionManager {
324
324
  }
325
325
  }
326
326
  async signalFatal(err) {
327
- if (console) {
328
- console.error("StompConnectionManager fatal error, deactivating connection", err);
329
- }
327
+ this.debugLogger("Fatal error, deactivating connection: %O", err);
330
328
  await this.deactivate();
331
329
  this.fatalErrorsSubject.next(err);
332
330
  }
@@ -1006,7 +1004,7 @@ var import_operators2 = require("rxjs/operators");
1006
1004
  // packages/core/package.json
1007
1005
  var package_default = {
1008
1006
  name: "@kinotic-ai/core",
1009
- version: "1.6.1",
1007
+ version: "1.7.0",
1010
1008
  type: "module",
1011
1009
  files: [
1012
1010
  "dist"
package/dist/index.js CHANGED
@@ -53,7 +53,7 @@ import { ReconnectionTimeMode } from "@stomp/stompjs";
53
53
  import debug from "debug";
54
54
  import { Subject } from "rxjs";
55
55
  import { v4 as uuidv4 } from "uuid";
56
- var SESSION_CHECK_PATH = "/api/me";
56
+ var SESSION_CHECK_PATH = "/api/auth/me";
57
57
 
58
58
  class StompConnectionManager {
59
59
  lastWebsocketError = null;
@@ -226,9 +226,7 @@ class StompConnectionManager {
226
226
  }
227
227
  }
228
228
  async signalFatal(err) {
229
- if (console) {
230
- console.error("StompConnectionManager fatal error, deactivating connection", err);
231
- }
229
+ this.debugLogger("Fatal error, deactivating connection: %O", err);
232
230
  await this.deactivate();
233
231
  this.fatalErrorsSubject.next(err);
234
232
  }
@@ -911,7 +909,7 @@ import { first, map as map2 } from "rxjs/operators";
911
909
  // packages/core/package.json
912
910
  var package_default = {
913
911
  name: "@kinotic-ai/core",
914
- version: "1.6.1",
912
+ version: "1.7.0",
915
913
  type: "module",
916
914
  files: [
917
915
  "dist"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kinotic-ai/core",
3
- "version": "1.6.1",
3
+ "version": "1.7.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"