@abide/bridge 0.3.1 → 0.3.2
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/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/src/bridge.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @abide/bridge
|
|
2
2
|
|
|
3
|
+
## 0.3.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fda92c3: a site holds a dropped bridge pairing for 60 seconds, past when the bridge notices a silent drop ([`ac8e1d3`](https://github.com/briancray/abide/commit/ac8e1d313b7ea54414cd1034b56eb4cfa88ab31b))
|
|
8
|
+
|
|
3
9
|
## 0.3.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/package.json
CHANGED
package/src/bridge.ts
CHANGED
|
@@ -23,11 +23,11 @@ const FIRST_REDIAL_MILLISECONDS = 250
|
|
|
23
23
|
const LAST_REDIAL_MILLISECONDS = 8_000
|
|
24
24
|
// abide's `RESUME_MILLISECONDS`, spelled out for `BRIDGE_PATH`'s reason: past it the site no longer
|
|
25
25
|
// holds the pairing, and a redial is refused.
|
|
26
|
-
export const RESUME_MILLISECONDS =
|
|
26
|
+
export const RESUME_MILLISECONDS = 60_000
|
|
27
27
|
// abide's `HEARTBEAT_MILLISECONDS`, spelled out for `BRIDGE_PATH`'s reason.
|
|
28
28
|
export const HEARTBEAT_MILLISECONDS = 15_000
|
|
29
29
|
// 44.28 — how long the stream may go without a line before it is taken for dropped.
|
|
30
|
-
const SILENCE_MILLISECONDS = 3 * HEARTBEAT_MILLISECONDS
|
|
30
|
+
export const SILENCE_MILLISECONDS = 3 * HEARTBEAT_MILLISECONDS
|
|
31
31
|
|
|
32
32
|
type SiteFrame =
|
|
33
33
|
| { type: 'paired'; token: string }
|