@fabriktor/fx 0.0.41 → 0.0.43

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.
@@ -7,7 +7,6 @@ import { errRequired, errResolveFailed, errValidation } from "../core/err.js";
7
7
  import { requiredOperationID } from "../core/id.js";
8
8
  import { normalizeSearchPage, normalizeSearchPerPage, normalizeSearchQuery, runSearch, } from "../core/search.js";
9
9
  const closeCodeNormal = 1000;
10
- const closeCodeLeavingPage = 1001;
11
10
  const wsRefreshMilliseconds = 40 * 60 * 1000;
12
11
  const wsRefreshRetryMilliseconds = 30 * 1000;
13
12
  const resourceChat = "chat";
@@ -176,7 +175,7 @@ export class ChatFX {
176
175
  closeSession(closeCodeNormal, reason);
177
176
  },
178
177
  closeLeavingPage(reason) {
179
- closeSession(closeCodeLeavingPage, reason);
178
+ closeSession(closeCodeNormal, reason);
180
179
  },
181
180
  };
182
181
  }
@@ -240,7 +239,7 @@ export class ChatFX {
240
239
  closeSession(closeCodeNormal, reason);
241
240
  },
242
241
  closeLeavingPage(reason) {
243
- closeSession(closeCodeLeavingPage, reason);
242
+ closeSession(closeCodeNormal, reason);
244
243
  },
245
244
  };
246
245
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabriktor/fx",
3
- "version": "0.0.41",
3
+ "version": "0.0.43",
4
4
  "description": "![Fabriktor Logo](./img/fabriktor-character.gif)",
5
5
  "type": "module",
6
6
  "exports": {
@@ -17,7 +17,7 @@
17
17
  "typescript": "^6.0.3"
18
18
  },
19
19
  "dependencies": {
20
- "@fabriktor/client": "0.0.48",
20
+ "@fabriktor/client": "0.0.49",
21
21
  "@fabriktor/schema": "0.0.32"
22
22
  }
23
23
  }