@sdux-vault/engine 0.1.2 → 0.2.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sdux-vault/engine",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
},
|
|
12
12
|
"homepage": "https://www.sdux-vault.com",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@sdux-vault/devtools": "0.
|
|
15
|
-
"@sdux-vault/shared": "0.
|
|
14
|
+
"@sdux-vault/devtools": "0.3.0",
|
|
15
|
+
"@sdux-vault/shared": "0.2.0",
|
|
16
16
|
"tslib": "^2.3.0"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
@@ -335,6 +335,8 @@ declare function registerVaultSettled(key: string, vaultSettled?: () => Promise<
|
|
|
335
335
|
declare function resetVaultForTests(): void;
|
|
336
336
|
declare function resetFeatureCellRegistry(): void;
|
|
337
337
|
declare function getVaultRegistryForTests(): ReadonlyMap<string, VaultRegistrationShape> | undefined;
|
|
338
|
+
declare function isAuthorizedKey(key: string): boolean;
|
|
339
|
+
declare function hasVaultLicense(): boolean;
|
|
338
340
|
|
|
339
341
|
declare abstract class LicensingAbstract<T> {
|
|
340
342
|
#private;
|
|
@@ -376,5 +378,13 @@ declare function getFeatureCellToken(key: string): FeatureCellToken;
|
|
|
376
378
|
*/
|
|
377
379
|
declare const isPipelineTerminal: <T>(current: FinalState<T>) => boolean;
|
|
378
380
|
|
|
379
|
-
|
|
381
|
+
/**
|
|
382
|
+
* Canonical license identifier for the SDuX Vault engine license.
|
|
383
|
+
*
|
|
384
|
+
* This value must match the `licenseId` field in the `VaultLicensingShape`
|
|
385
|
+
* payload supplied via `provideVault({ licenses: [...] })`.
|
|
386
|
+
*/
|
|
387
|
+
declare const VAULT_LICENSE_ID = "sdux-vault";
|
|
388
|
+
|
|
389
|
+
export { Conductor, FeatureCellClass, LicensingAbstract, VAULT_LICENSE_ID, VaultCore, createFeatureCellToken, getFeatureCellToken, getLicensePayload, getVaultRegistryForTests, hasVaultLicense, isAuthorizedKey, isPipelineTerminal, registerFeatureCell, registerVaultSettled, resetFeatureCellRegistry, resetVaultForTests, vaultAllSettled, vaultSettled };
|
|
380
390
|
export type { ConductorConfig, FeatureCellConfig, FeatureCellShape, VaultStateRef };
|