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.
Files changed (32) hide show
  1. package/README.md +1 -1
  2. package/bin/harperdb.js +85 -72
  3. package/bin/lite.js +32 -22
  4. package/config/yaml/defaultConfig.yaml +9 -41
  5. package/config/yaml/defaultNatsConfig.yaml +36 -0
  6. package/json/systemSchema.json +32 -79
  7. package/launchServiceScripts/launchInstallNATSServer.js +4 -4
  8. package/launchServiceScripts/launchNatsIngestService.js +32 -22
  9. package/launchServiceScripts/launchNatsReplyService.js +32 -22
  10. package/launchServiceScripts/launchUpdateNodes4-0-0.js +32 -22
  11. package/npm-shrinkwrap.json +634 -312
  12. package/package.json +17 -15
  13. package/resources/DatabaseTransaction.d.ts +1 -0
  14. package/resources/RecordEncoder.d.ts +3 -1
  15. package/resources/Resource.d.ts +8 -1
  16. package/resources/ResourceInterface.d.ts +7 -3
  17. package/resources/Resources.d.ts +5 -4
  18. package/resources/Table.d.ts +47 -16
  19. package/resources/auditStore.d.ts +45 -1
  20. package/resources/databases.d.ts +54 -17
  21. package/resources/search.d.ts +6 -0
  22. package/resources/transactionBroadcast.d.ts +2 -1
  23. package/server/Server.d.ts +1 -1
  24. package/server/jobs/jobProcess.js +32 -22
  25. package/server/serverHelpers/Headers.d.ts +8 -0
  26. package/server/threads/threadServer.js +32 -22
  27. package/studio/build-local/asset-manifest.json +2 -2
  28. package/studio/build-local/index.html +1 -1
  29. package/studio/build-local/static/js/main.4fd117ad.js +2 -0
  30. package/utility/scripts/restartHdb.js +32 -22
  31. package/studio/build-local/static/js/main.a22f6951.js +0 -2
  32. /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 identify writes that occurred on this thread.
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 {};
@@ -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;