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
@@ -2,6 +2,7 @@
2
2
  * Fast implementation of standard Headers
3
3
  */
4
4
  export declare class Headers extends Map<string, string | string[]> {
5
+ constructor(init?: Headers | HeadersInit);
5
6
  set(name: any, value: any): this;
6
7
  get(name: any): string;
7
8
  has(name: any): boolean;
@@ -10,3 +11,10 @@ export declare class Headers extends Map<string, string | string[]> {
10
11
  [Symbol.iterator](): IterableIterator<string | string[]>;
11
12
  }
12
13
  export declare function appendHeader(headers: any, name: any, value: any, comma_delimited: any): any;
14
+ /**
15
+ * Merge headers from source into target, ensuring that target is a Headers object, and avoiding any overwrite
16
+ * of existing headers in target.
17
+ * @param target
18
+ * @param source
19
+ */
20
+ export declare function mergeHeaders(target: any, source: Headers): any;