harperdb 4.6.14 → 4.6.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "harperdb",
3
- "version": "4.6.14",
3
+ "version": "4.6.16",
4
4
  "description": "HarperDB is a distributed database, caching service, streaming broker, and application development platform focused on performance and ease of use.",
5
5
  "keywords": [
6
6
  "database",
@@ -82,7 +82,7 @@
82
82
  "json2csv": "5.0.7",
83
83
  "jsonata": "1.8.7",
84
84
  "jsonwebtoken": "9.0.2",
85
- "lmdb": "3.4.3",
85
+ "lmdb": "3.4.4",
86
86
  "lodash": "4.17.21",
87
87
  "mathjs": "11.12.0",
88
88
  "micromatch": "^4.0.8",
@@ -11,7 +11,6 @@
11
11
  * - Note that for compressed data, the size is the uncompressed size, and the compressed size in the file
12
12
  */
13
13
  import type { LMDBStore } from 'lmdb';
14
- import * as buffer from 'node:buffer';
15
14
  type StorageInfo = {
16
15
  storageIndex: number;
17
16
  fileId: string;
@@ -40,7 +39,7 @@ export declare const Blob: {
40
39
  arrayBuffer(): Promise<ArrayBufferLike>;
41
40
  get size(): number;
42
41
  slice(): /*elided*/ any;
43
- bytes(): Promise<buffer.Buffer>;
42
+ bytes(): Promise<Buffer>;
44
43
  get type(): string;
45
44
  };
46
45
  };
@@ -54,7 +53,7 @@ declare namespace InstanceOfBlobWithNoConstructor {
54
53
  arrayBuffer(): Promise<ArrayBufferLike>;
55
54
  get size(): number;
56
55
  slice(): /*elided*/ any;
57
- bytes(): Promise<buffer.Buffer>;
56
+ bytes(): Promise<Buffer>;
58
57
  get type(): string;
59
58
  };
60
59
  }
@@ -156,5 +155,5 @@ export declare function startPreCommitBlobsForRecord(record: any, store: LMDBSto
156
155
  * from the database, and if not, deletes them
157
156
  * @param database
158
157
  */
159
- export declare function cleanupOrphans(database: any): Promise<number>;
158
+ export declare function cleanupOrphans(database: any, databaseName?: string): Promise<number>;
160
159
  export {};