@fabriktor/fx 0.0.57 → 0.0.59

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.
@@ -8,7 +8,6 @@ import { errRequired, errResolveFailed, errValidation } from "../core/err.js";
8
8
  import { requiredOperationID } from "../core/id.js";
9
9
  import { normalizeSearchPage, normalizeSearchPerPage, normalizeSearchQuery, runSearch, } from "../core/search.js";
10
10
  const closeCodeNormal = 1000;
11
- const closeCodeLeavingPage = 1001;
12
11
  const wsRefreshMilliseconds = 40 * 60 * 1000;
13
12
  const wsRefreshRetryMilliseconds = 30 * 1000;
14
13
  const resourceChat = "chat";
@@ -229,7 +228,7 @@ export class ChatFX {
229
228
  closeSession(closeCodeNormal, reason);
230
229
  },
231
230
  closeLeavingPage(reason) {
232
- closeSession(closeCodeLeavingPage, reason);
231
+ closeSession(closeCodeNormal, reason);
233
232
  },
234
233
  };
235
234
  }
@@ -297,7 +296,7 @@ export class ChatFX {
297
296
  closeSession(closeCodeNormal, reason);
298
297
  },
299
298
  closeLeavingPage(reason) {
300
- closeSession(closeCodeLeavingPage, reason);
299
+ closeSession(closeCodeNormal, reason);
301
300
  },
302
301
  };
303
302
  }
@@ -429,7 +429,6 @@ export class FeedFX {
429
429
  stored = await this.storage_fx.downloadObjects({
430
430
  col: ColStorageFeed,
431
431
  owner_id: post_id,
432
- expire: false,
433
432
  });
434
433
  }
435
434
  catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabriktor/fx",
3
- "version": "0.0.57",
3
+ "version": "0.0.59",
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.54",
21
- "@fabriktor/schema": "0.0.34"
20
+ "@fabriktor/client": "0.0.55",
21
+ "@fabriktor/schema": "0.0.36"
22
22
  }
23
23
  }