nedb-engine 2.5.0 → 2.5.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/index.d.ts +10 -0
- package/nedb.darwin-arm64.node +0 -0
- package/nedb.darwin-x64.node +0 -0
- package/nedb.linux-x64-gnu.node +0 -0
- package/nedb.win32-x64-msvc.node +0 -0
- package/nedbd-v2-darwin-arm64 +0 -0
- package/nedbd-v2-darwin-x64 +0 -0
- package/nedbd-v2-linux-x64 +0 -0
- package/nedbd-v2-win-x64.exe +0 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -33,4 +33,14 @@ export declare class NedbCore {
|
|
|
33
33
|
seq(): bigint
|
|
34
34
|
/** Flush WAL and MANIFEST — v2 equivalent of v1 flush(). */
|
|
35
35
|
flush(): void
|
|
36
|
+
/**
|
|
37
|
+
* The tip — the most recent write (latest node) as a JSON string, or null if
|
|
38
|
+
* the database is empty. The cheap "give me the latest write" primitive.
|
|
39
|
+
*/
|
|
40
|
+
tip(): string | null
|
|
41
|
+
/**
|
|
42
|
+
* Changefeed: every write AFTER `after_seq` (exclusive), ascending, each as a
|
|
43
|
+
* JSON string. Pass the seq you last saw to stream only new writes.
|
|
44
|
+
*/
|
|
45
|
+
since(afterSeq: bigint): Array<string>
|
|
36
46
|
}
|
package/nedb.darwin-arm64.node
CHANGED
|
Binary file
|
package/nedb.darwin-x64.node
CHANGED
|
Binary file
|
package/nedb.linux-x64-gnu.node
CHANGED
|
Binary file
|
package/nedb.win32-x64-msvc.node
CHANGED
|
Binary file
|
package/nedbd-v2-darwin-arm64
CHANGED
|
Binary file
|
package/nedbd-v2-darwin-x64
CHANGED
|
Binary file
|
package/nedbd-v2-linux-x64
CHANGED
|
Binary file
|
package/nedbd-v2-win-x64.exe
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nedb-engine",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.2",
|
|
4
4
|
"description": "NEDB — hash-chained, time-traveling, bi-temporal embedded database with Rust native core. SQL, Redis, MongoDB adapters. Causal Write Provenance. RESP2 wire protocol.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|