harperdb 4.6.5 → 4.6.7
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 +40 -40
- package/bin/lite.js +39 -39
- package/launchServiceScripts/launchNatsIngestService.js +38 -38
- package/launchServiceScripts/launchNatsReplyService.js +39 -39
- package/launchServiceScripts/launchUpdateNodes4-0-0.js +38 -38
- package/npm-shrinkwrap.json +69 -85
- package/package.json +1 -1
- package/server/jobs/jobProcess.js +38 -38
- package/server/replication/replicationConnection.d.ts +9 -1
- package/server/threads/threadServer.js +38 -38
- package/studio/build-local/asset-manifest.json +2 -2
- package/studio/build-local/index.html +1 -1
- package/studio/build-local/static/js/{main.14ef684d.js → main.5364e939.js} +2 -2
- package/utility/hdbTerms.d.ts +1 -0
- package/utility/scripts/restartHdb.js +38 -38
- /package/studio/build-local/static/js/{main.14ef684d.js.LICENSE.txt → main.5364e939.js.LICENSE.txt} +0 -0
|
@@ -14,6 +14,13 @@ export declare const databaseSubscriptions: Map<any, any>;
|
|
|
14
14
|
/**
|
|
15
15
|
* Handles reconnection, and requesting catch-up
|
|
16
16
|
*/
|
|
17
|
+
type NodeSubscription = {
|
|
18
|
+
name: string;
|
|
19
|
+
replicateByDefault: boolean;
|
|
20
|
+
tables: string[];
|
|
21
|
+
startTime: number;
|
|
22
|
+
endTime: number;
|
|
23
|
+
};
|
|
17
24
|
export declare function createWebSocket(url: string, options: {
|
|
18
25
|
authorization?: string;
|
|
19
26
|
rejectUnauthorized?: boolean;
|
|
@@ -30,7 +37,7 @@ export declare class NodeReplicationConnection extends EventEmitter {
|
|
|
30
37
|
retries: number;
|
|
31
38
|
isConnected: boolean;
|
|
32
39
|
isFinished: boolean;
|
|
33
|
-
nodeSubscriptions
|
|
40
|
+
nodeSubscriptions?: NodeSubscription[];
|
|
34
41
|
latency: number;
|
|
35
42
|
replicateTablesByDefault: boolean;
|
|
36
43
|
session: any;
|
|
@@ -60,3 +67,4 @@ export declare function replicateOverWS(ws: any, options: any, authorization: an
|
|
|
60
67
|
*/
|
|
61
68
|
sendOperation(operation: any): Promise<unknown>;
|
|
62
69
|
};
|
|
70
|
+
export {};
|