@smthrs/artifacts 1.0.0-rc.8 → 1.0.0-rc.9
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/docs/api.md +4 -1
- package/package.json +2 -2
package/docs/api.md
CHANGED
|
@@ -434,7 +434,10 @@ treated as a lock with no readable owner and reclaimed on the same bound.
|
|
|
434
434
|
`hold` is the same lease without a deadline, for a caller that bounds a wider
|
|
435
435
|
wait itself; `onAcquired` runs once the lease is held. `guard`, when given,
|
|
436
436
|
runs before every create, heartbeat, rename, and remove of the lock, claim, or
|
|
437
|
-
tombstone, and its failure refuses that step through `failure`.
|
|
437
|
+
tombstone, and its failure refuses that step through `failure`. Both fail
|
|
438
|
+
through `failure` with a `RangeError`, before touching the lock, unless
|
|
439
|
+
`0 < heartbeatEvery < staleAfterMs` and `staleAfterMs` is finite: a shorter
|
|
440
|
+
stale bound would let a contender reclaim a live holder's lock.
|
|
438
441
|
|
|
439
442
|
| Option | Default | Meaning |
|
|
440
443
|
| ---------------- | -------------- | ------------------------------------------------ |
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smthrs/artifacts",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.0-rc.
|
|
4
|
+
"version": "1.0.0-rc.9",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"smthrs": {
|
|
7
7
|
"group": "engine"
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"tag": "next"
|
|
146
146
|
},
|
|
147
147
|
"dependencies": {
|
|
148
|
-
"@smthrs/crypto": "1.0.0-rc.
|
|
148
|
+
"@smthrs/crypto": "1.0.0-rc.9"
|
|
149
149
|
},
|
|
150
150
|
"devDependencies": {
|
|
151
151
|
"@effect/language-service": "0.87.2",
|