@solarpunkltd/swarm-id 0.10.0 → 0.10.1

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.
@@ -16,6 +16,16 @@
16
16
  * is treated as inconclusive (see each caller's sentinel handling).
17
17
  */
18
18
  export declare const SYNC_READ_TIMEOUT_MS = 2500;
19
+ /**
20
+ * Client-side timeout for a single device-roster slot read. Longer than
21
+ * {@link SYNC_READ_TIMEOUT_MS}, because the roster is read through the account's
22
+ * gateway, by default the public one, and an empty roster can only be confirmed
23
+ * by a miss: the public gateway answers an absent chunk with Bee's own 404 after
24
+ * 3.4 to 4.8 s (measured 2026-10-18), and does not route `GET /soc`, so a shorter
25
+ * limit made every empty roster inconclusive. No device then ever wrote its first
26
+ * entry, and signing in on another device always failed.
27
+ */
28
+ export declare const ROSTER_READ_TIMEOUT_MS = 10000;
19
29
  /**
20
30
  * Partition-lease lifetime. A device holds its partition for this long before
21
31
  * the lease must be refreshed; if it crashes without refreshing, peers can
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solarpunkltd/swarm-id",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "type": "module",
5
5
  "description": "Swarm ID library for authentication and Bee API operations",
6
6
  "main": "dist/swarm-id.esm.js",