harperdb 4.3.21 → 4.4.0-alpha.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/README.md +1 -1
- package/bin/harperdb.js +85 -72
- package/bin/lite.js +32 -22
- package/config/yaml/defaultConfig.yaml +9 -41
- package/config/yaml/defaultNatsConfig.yaml +36 -0
- package/json/systemSchema.json +32 -79
- package/launchServiceScripts/launchInstallNATSServer.js +4 -4
- package/launchServiceScripts/launchNatsIngestService.js +32 -22
- package/launchServiceScripts/launchNatsReplyService.js +32 -22
- package/launchServiceScripts/launchUpdateNodes4-0-0.js +32 -22
- package/npm-shrinkwrap.json +634 -312
- package/package.json +17 -15
- package/resources/DatabaseTransaction.d.ts +1 -0
- package/resources/RecordEncoder.d.ts +3 -1
- package/resources/Resource.d.ts +8 -1
- package/resources/ResourceInterface.d.ts +7 -3
- package/resources/Resources.d.ts +5 -4
- package/resources/Table.d.ts +47 -16
- package/resources/auditStore.d.ts +45 -1
- package/resources/databases.d.ts +54 -17
- package/resources/search.d.ts +6 -0
- package/resources/transactionBroadcast.d.ts +2 -1
- package/server/Server.d.ts +1 -1
- package/server/jobs/jobProcess.js +32 -22
- package/server/serverHelpers/Headers.d.ts +8 -0
- package/server/threads/threadServer.js +32 -22
- package/studio/build-local/asset-manifest.json +2 -2
- package/studio/build-local/index.html +1 -1
- package/studio/build-local/static/js/main.4fd117ad.js +2 -0
- package/utility/scripts/restartHdb.js +32 -22
- package/studio/build-local/static/js/main.a22f6951.js +0 -2
- /package/studio/build-local/static/js/{main.a22f6951.js.LICENSE.txt → main.4fd117ad.js.LICENSE.txt} +0 -0
|
@@ -24,8 +24,9 @@ declare class Subscription extends IterableEventQueue {
|
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
|
-
* Interface with lmdb-js to listen for commits and
|
|
27
|
+
* Interface with lmdb-js to listen for commits and traverse the audit log.
|
|
28
28
|
* @param primary_store
|
|
29
29
|
*/
|
|
30
30
|
export declare function listenToCommits(primary_store: any, audit_store: any): void;
|
|
31
|
+
export declare function whenNextTransaction(audit_store: any): any;
|
|
31
32
|
export {};
|
package/server/Server.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ interface Server {
|
|
|
10
10
|
ws?(listener: (ws: WebSocket, request: Request, requestCompletion: Promise<any>) => any, options?: WebSocketOptions): void;
|
|
11
11
|
contentTypes: Map<string, ContentTypeHandler>;
|
|
12
12
|
getUser(username: string, password: string | null, request: Request): any;
|
|
13
|
-
operation(operation: any, authorize?: boolean): Promise<any>;
|
|
13
|
+
operation(operation: any, context: any, authorize?: boolean): Promise<any>;
|
|
14
14
|
}
|
|
15
15
|
interface ServerOptions {
|
|
16
16
|
port?: number;
|