core-3nweb-client-lib 0.41.12 → 0.41.14

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.
Files changed (32) hide show
  1. package/build/core/asmail/inbox/inbox-events.js +1 -1
  2. package/build/core/index.d.ts +2 -0
  3. package/build/core/index.js +2 -0
  4. package/build/core/storage/synced/remote-events.js +1 -1
  5. package/build/lib-client/cryptor/cryptor-wasm.js +1 -1
  6. package/build/lib-client/cryptor/cryptor.wasm +0 -0
  7. package/build/lib-client/server-events.js +8 -5
  8. package/build/lib-common/ipc/ws-ipc.js +2 -2
  9. package/build/lib-index.d.ts +6 -2
  10. package/build/lib-index.js +16 -7
  11. package/package.json +1 -1
  12. package/test-data-1-1759456500985/util/logs/2025-10-03.log.txt +7 -0
  13. package/{test-data-10-1759430836227/util/logs/2025-10-02.log.txt → test-data-10-1759456540615/util/logs/2025-10-03.log.txt} +10 -7
  14. package/test-data-11-1759456540616/util/logs/2025-10-03.log.txt +7 -0
  15. package/test-data-12-1759456544627/util/logs/2025-10-03.log.txt +7 -0
  16. package/{test-data-13-1759430840691/util/logs/2025-10-02.log.txt → test-data-13-1759456545560/util/logs/2025-10-03.log.txt} +10 -7
  17. package/test-data-2-1759456500988/util/logs/2025-10-03.log.txt +7 -0
  18. package/{test-data-9-1759430832943/util/logs/2025-10-02.log.txt → test-data-3-1759456506409/util/logs/2025-10-03.log.txt} +10 -7
  19. package/{test-data-3-1759430804613/util/logs/2025-10-02.log.txt → test-data-4-1759456512650/util/logs/2025-10-03.log.txt} +10 -7
  20. package/test-data-5-1759456522373/util/logs/2025-10-03.log.txt +7 -0
  21. package/test-data-6-1759456524407/util/logs/2025-10-03.log.txt +7 -0
  22. package/test-data-7-1759456526517/util/logs/2025-10-03.log.txt +7 -0
  23. package/test-data-8-1759456536045/util/logs/2025-10-03.log.txt +7 -0
  24. package/{test-data-4-1759430810570/util/logs/2025-10-02.log.txt → test-data-9-1759456536980/util/logs/2025-10-03.log.txt} +10 -7
  25. package/test-data-1-1759430800070/util/logs/2025-10-02.log.txt +0 -6
  26. package/test-data-11-1759430836227/util/logs/2025-10-02.log.txt +0 -6
  27. package/test-data-12-1759430839895/util/logs/2025-10-02.log.txt +0 -6
  28. package/test-data-2-1759430800073/util/logs/2025-10-02.log.txt +0 -6
  29. package/test-data-5-1759430819813/util/logs/2025-10-02.log.txt +0 -6
  30. package/test-data-6-1759430821685/util/logs/2025-10-02.log.txt +0 -6
  31. package/test-data-7-1759430823627/util/logs/2025-10-02.log.txt +0 -6
  32. package/test-data-8-1759430832141/util/logs/2025-10-02.log.txt +0 -6
@@ -20,7 +20,7 @@ const retrieval_1 = require("../../../lib-common/service-api/asmail/retrieval");
20
20
  const server_events_1 = require("../../../lib-client/server-events");
21
21
  const operators_1 = require("rxjs/operators");
22
22
  const utils_for_observables_1 = require("../../../lib-common/utils-for-observables");
23
- const SERVER_EVENTS_RESTART_WAIT_SECS = 30;
23
+ const SERVER_EVENTS_RESTART_WAIT_SECS = 5;
24
24
  /**
25
25
  * Instance of this class handles event subscription from UI side. It observes
26
26
  * inbox server events, handles them, and generates respective events for UI
@@ -45,5 +45,7 @@ export declare class Core {
45
45
  private performDataMigrationsAtInit;
46
46
  private initCoreApps;
47
47
  getStorages(): FactoryOfFSs;
48
+ onDeviceSystemSuspend(): Promise<void>;
49
+ onDeviceSystemResume(): Promise<void>;
48
50
  }
49
51
  export {};
@@ -326,6 +326,8 @@ class Core {
326
326
  getStorages() {
327
327
  return this.storages.wrap();
328
328
  }
329
+ async onDeviceSystemSuspend() { }
330
+ async onDeviceSystemResume() { }
329
331
  }
330
332
  exports.Core = Core;
331
333
  Object.freeze(Core.prototype);
@@ -21,7 +21,7 @@ const rxjs_1 = require("rxjs");
21
21
  const server_events_1 = require("../../../lib-client/server-events");
22
22
  const owner_1 = require("../../../lib-common/service-api/3nstorage/owner");
23
23
  const operators_1 = require("rxjs/operators");
24
- const SERVER_EVENTS_RESTART_WAIT_SECS = 30;
24
+ const SERVER_EVENTS_RESTART_WAIT_SECS = 5;
25
25
  /**
26
26
  * Remote events are absorbed into objects' statuses, broadcasting respective
27
27
  * events. Someone down the stream can react to these changes from remote.