@harperfast/harper-pro 5.0.0-beta.7 → 5.0.0-beta.8
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/core/bin/cliOperations.js +3 -3
- package/core/components/ApplicationScope.ts +1 -0
- package/core/components/componentLoader.ts +4 -1
- package/core/resources/DatabaseTransaction.ts +67 -32
- package/core/resources/Table.ts +29 -10
- package/core/security/jsLoader.ts +149 -101
- package/core/server/REST.ts +12 -2
- package/core/server/http.ts +4 -1
- package/dist/core/bin/cliOperations.js +3 -3
- package/dist/core/bin/cliOperations.js.map +1 -1
- package/dist/core/components/ApplicationScope.js +1 -0
- package/dist/core/components/ApplicationScope.js.map +1 -1
- package/dist/core/components/componentLoader.js +2 -1
- package/dist/core/components/componentLoader.js.map +1 -1
- package/dist/core/resources/DatabaseTransaction.js +71 -35
- package/dist/core/resources/DatabaseTransaction.js.map +1 -1
- package/dist/core/resources/Table.js +15 -10
- package/dist/core/resources/Table.js.map +1 -1
- package/dist/core/security/jsLoader.js +123 -90
- package/dist/core/security/jsLoader.js.map +1 -1
- package/dist/core/server/REST.js +13 -4
- package/dist/core/server/REST.js.map +1 -1
- package/dist/core/server/http.js +5 -0
- package/dist/core/server/http.js.map +1 -1
- package/dist/licensing/usageLicensing.js +16 -26
- package/dist/licensing/usageLicensing.js.map +1 -1
- package/dist/replication/replicationConnection.js +2 -2
- package/dist/replication/replicationConnection.js.map +1 -1
- package/licensing/usageLicensing.ts +22 -32
- package/npm-shrinkwrap.json +223 -223
- package/package.json +3 -3
- package/replication/replicationConnection.ts +2 -2
- package/studio/web/assets/{index-ClD_q6ya.js → index-CXQsBaYq.js} +5 -5
- package/studio/web/assets/{index-ClD_q6ya.js.map → index-CXQsBaYq.js.map} +1 -1
- package/studio/web/assets/{index.lazy-CXzU1gVu.js → index.lazy-C3Ejfvna.js} +2 -2
- package/studio/web/assets/{index.lazy-CXzU1gVu.js.map → index.lazy-C3Ejfvna.js.map} +1 -1
- package/studio/web/assets/{profile-DCNVg5yY.js → profile-BbbbWJCN.js} +2 -2
- package/studio/web/assets/{profile-DCNVg5yY.js.map → profile-BbbbWJCN.js.map} +1 -1
- package/studio/web/assets/{status-CoGlcjSB.js → status-CFe85l8C.js} +2 -2
- package/studio/web/assets/{status-CoGlcjSB.js.map → status-CFe85l8C.js.map} +1 -1
- package/studio/web/index.html +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harperfast/harper-pro",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.8",
|
|
4
4
|
"description": "Harper 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",
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
"json-bigint-fixes": "1.1.0",
|
|
161
161
|
"jsonata": "1.8.7",
|
|
162
162
|
"jsonwebtoken": "9.0.3",
|
|
163
|
-
"lmdb": "3.5.
|
|
163
|
+
"lmdb": "3.5.3",
|
|
164
164
|
"lodash": "^4.17.23",
|
|
165
165
|
"mathjs": "11.12.0",
|
|
166
166
|
"micromatch": "^4.0.8",
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
"recursive-iterator": "3.3.0",
|
|
187
187
|
"semver": "7.7.3",
|
|
188
188
|
"send": "^1.2.0",
|
|
189
|
-
"ses": "^1.
|
|
189
|
+
"ses": "^1.15.0",
|
|
190
190
|
"stream-chain": "2.2.5",
|
|
191
191
|
"stream-json": "1.9.1",
|
|
192
192
|
"systeminformation": "^5.31.4",
|
|
@@ -910,7 +910,7 @@ export function replicateOverWS(ws: WebSocket, options: any, authorization: Prom
|
|
|
910
910
|
subscribedNodeIds[localId] = false;
|
|
911
911
|
}
|
|
912
912
|
// Remove this log from the iterator
|
|
913
|
-
auditLogIterable?.removeLog(nodeName);
|
|
913
|
+
auditLogIterable?.removeLog?.(nodeName);
|
|
914
914
|
logger.debug?.(connectionId, 'removed log from iterator:', nodeName);
|
|
915
915
|
}
|
|
916
916
|
}
|
|
@@ -1914,7 +1914,7 @@ export function replicateOverWS(ws: WebSocket, options: any, authorization: Prom
|
|
|
1914
1914
|
}
|
|
1915
1915
|
|
|
1916
1916
|
const nodeId = auditStore && getIdOfRemoteNode(node.name, auditStore);
|
|
1917
|
-
auditStore.ensureLogExists(node.name);
|
|
1917
|
+
auditStore.ensureLogExists?.(node.name);
|
|
1918
1918
|
const sequenceEntry = tableSubscriptionToReplicator?.dbisDB?.get([Symbol.for('seq'), nodeId]) ?? 1;
|
|
1919
1919
|
// if we are connected directly to the node, we start from the last sequence number we received at the top level
|
|
1920
1920
|
let startTime = Math.max(
|