harperdb 4.7.0-alpha.4 → 4.7.0-alpha.6
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 +78 -79
- package/bin/lite.js +76 -77
- package/launchServiceScripts/launchNatsIngestService.js +76 -77
- package/launchServiceScripts/launchNatsReplyService.js +76 -77
- package/launchServiceScripts/launchUpdateNodes4-0-0.js +76 -77
- package/npm-shrinkwrap.json +311 -311
- package/package.json +1 -1
- package/resources/registrationDeprecated.d.ts +4 -0
- package/resources/usageLicensing.d.ts +5 -5
- package/server/jobs/jobProcess.js +76 -77
- package/server/threads/threadServer.js +76 -77
- package/server/throttle.d.ts +7 -0
- package/studio/build-local/asset-manifest.json +2 -2
- package/studio/build-local/index.html +1 -1
- package/studio/build-local/static/js/{main.f4d40c30.js → main.1577832c.js} +2 -2
- package/utility/hdbTerms.d.ts +1 -5
- package/utility/scripts/restartHdb.js +76 -77
- package/validation/usageLicensing.d.ts +1 -1
- /package/studio/build-local/static/js/{main.f4d40c30.js.LICENSE.txt → main.1577832c.js.LICENSE.txt} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "harperdb",
|
|
3
|
-
"version": "4.7.0-alpha.
|
|
3
|
+
"version": "4.7.0-alpha.6",
|
|
4
4
|
"description": "HarperDB 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",
|
|
@@ -15,10 +15,9 @@ interface UsageLicense extends ValidatedLicense {
|
|
|
15
15
|
usedCpuTime?: number;
|
|
16
16
|
usedStorage?: number;
|
|
17
17
|
}
|
|
18
|
-
interface UsageLicenseRecord extends UsageLicense {
|
|
19
|
-
addTo: (field: string, value: number) => void;
|
|
20
|
-
}
|
|
21
18
|
export declare function isActiveLicense(license: UsageLicense): boolean;
|
|
19
|
+
export declare function getActiveLicense(): Promise<UsageLicense | undefined>;
|
|
20
|
+
export declare function isLicensed(): Promise<boolean>;
|
|
22
21
|
export declare function recordUsage(analytics: any): Promise<void>;
|
|
23
22
|
interface GetUsageLicenseParams {
|
|
24
23
|
region?: string;
|
|
@@ -26,6 +25,7 @@ interface GetUsageLicenseParams {
|
|
|
26
25
|
interface GetUsageLicensesReq extends GetUsageLicenseParams {
|
|
27
26
|
operation: 'get_usage_licenses';
|
|
28
27
|
}
|
|
29
|
-
export declare function getUsageLicensesOp(req: GetUsageLicensesReq): AsyncIterable<
|
|
30
|
-
export declare function getUsageLicenses(params?: GetUsageLicenseParams): AsyncIterable<
|
|
28
|
+
export declare function getUsageLicensesOp(req: GetUsageLicensesReq): AsyncIterable<UsageLicense>;
|
|
29
|
+
export declare function getUsageLicenses(params?: GetUsageLicenseParams): AsyncIterable<UsageLicense>;
|
|
30
|
+
export declare function loadAndWatchLicensesDir(): void;
|
|
31
31
|
export {};
|