fieldlog 0.15.0 → 0.15.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.
- package/CHANGELOG.md +5 -0
- package/LICENSE +21 -21
- package/package.json +34 -34
- package/src/auth.ts +297 -297
- package/src/kernel.ts +333 -333
- package/src/revokelog.ts +291 -291
- package/src/store.ts +706 -706
- package/src/sync.ts +828 -828
- package/src/tombstone.ts +306 -306
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,11 @@ Untagged commits are folded into the next tag that shipped them.
|
|
|
7
7
|
|
|
8
8
|
(No unreleased changes yet.)
|
|
9
9
|
|
|
10
|
+
## v0.15.1 — github packages + rename
|
|
11
|
+
|
|
12
|
+
- Publish: also ships `@arfoux/fieldlog` to GitHub Packages (npmjs `fieldlog` unchanged).
|
|
13
|
+
- Rename: package/bin/docs `fielog` → `fieldlog`; old `fielog-truncate` markers still read.
|
|
14
|
+
|
|
10
15
|
## v0.15.0 — truncate guards, fail-closed gates, relay budgets
|
|
11
16
|
|
|
12
17
|
- Retention: `truncate()` guarded by `guardSeal` — sweep stops at the acked/applied prefix, skips legally-held events, and never splits a tombstone hide/show pair; report names held events and pairs that blocked the rest.
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 arfoux
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 arfoux
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/package.json
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "fieldlog",
|
|
3
|
-
"version": "0.15.
|
|
4
|
-
"description": "Fieldlog — write anywhere, resolve later. Offline-first append-log + SQLite read-model + sync.",
|
|
5
|
-
"repository": { "type": "git", "url": "git+https://github.com/arfoux/fieldlog.git" },
|
|
6
|
-
"type": "module",
|
|
7
|
-
"main": "src/index.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": "./src/index.ts"
|
|
10
|
-
},
|
|
11
|
-
"files": [
|
|
12
|
-
"src",
|
|
13
|
-
"bin",
|
|
14
|
-
"README.md",
|
|
15
|
-
"LICENSE",
|
|
16
|
-
"CHANGELOG.md"
|
|
17
|
-
],
|
|
18
|
-
"bin": {
|
|
19
|
-
"fieldlog": "bin/fieldlog.js"
|
|
20
|
-
},
|
|
21
|
-
"scripts": {
|
|
22
|
-
"test": "bun test",
|
|
23
|
-
"build": "tsc -p tsconfig.json",
|
|
24
|
-
"demo": "bun demo/two-node.ts",
|
|
25
|
-
"bench:append": "bun bench/bench-append.ts",
|
|
26
|
-
"bench:query": "bun bench/bench-query.ts",
|
|
27
|
-
"bench:sync": "bun bench/bench-sync.ts"
|
|
28
|
-
},
|
|
29
|
-
"license": "MIT",
|
|
30
|
-
"devDependencies": {
|
|
31
|
-
"@types/node": "^26.4.1",
|
|
32
|
-
"bun-types": "^1.4.1",
|
|
33
|
-
"typescript": "^7.0.2"
|
|
34
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "fieldlog",
|
|
3
|
+
"version": "0.15.1",
|
|
4
|
+
"description": "Fieldlog — write anywhere, resolve later. Offline-first append-log + SQLite read-model + sync.",
|
|
5
|
+
"repository": { "type": "git", "url": "git+https://github.com/arfoux/fieldlog.git" },
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "src/index.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": "./src/index.ts"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"src",
|
|
13
|
+
"bin",
|
|
14
|
+
"README.md",
|
|
15
|
+
"LICENSE",
|
|
16
|
+
"CHANGELOG.md"
|
|
17
|
+
],
|
|
18
|
+
"bin": {
|
|
19
|
+
"fieldlog": "bin/fieldlog.js"
|
|
20
|
+
},
|
|
21
|
+
"scripts": {
|
|
22
|
+
"test": "bun test",
|
|
23
|
+
"build": "tsc -p tsconfig.json",
|
|
24
|
+
"demo": "bun demo/two-node.ts",
|
|
25
|
+
"bench:append": "bun bench/bench-append.ts",
|
|
26
|
+
"bench:query": "bun bench/bench-query.ts",
|
|
27
|
+
"bench:sync": "bun bench/bench-sync.ts"
|
|
28
|
+
},
|
|
29
|
+
"license": "MIT",
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@types/node": "^26.4.1",
|
|
32
|
+
"bun-types": "^1.4.1",
|
|
33
|
+
"typescript": "^7.0.2"
|
|
34
|
+
}
|
|
35
35
|
}
|