@polycyphers/bim 0.1.0 → 0.1.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.
@@ -1,8 +1,10 @@
1
- import { subscribe } from '@polycyphers/license';
2
1
  export declare const BIM_PACKAGE_ID = "bim";
3
- export declare const BIM_PACKAGE_VERSION = "0.1.0";
4
- export type BimLicenseStatus = 'checking' | 'licensed' | 'trial' | 'not_set' | 'expired' | 'revoked' | 'invalid_signature' | 'unknown_kid' | 'wrong_package' | 'wrong_version' | 'wrong_domain' | 'unavailable';
2
+ export declare const BIM_PACKAGE_VERSION = "0.1.1";
3
+ export type BimLicenseStatus = 'checking' | 'licensed' | 'trial' | 'not_set' | 'expired' | 'revoked' | 'invalid_signature' | 'unknown_kid' | 'wrong_package' | 'wrong_version' | 'wrong_domain' | 'wrong_tier' | 'unavailable';
5
4
  export declare function configureBimBrand(brand: 'baulynq' | 'karamentreprises'): void;
6
- export declare function checkBimLicense(): Promise<BimLicenseStatus>;
7
- export declare const subscribeBimLicense: typeof subscribe;
8
- export { setLicense, clearLicense, disableTelemetry, enableTelemetry } from '@polycyphers/license';
5
+ export declare function setLicense(token: string): void;
6
+ export declare function clearLicense(): void;
7
+ export declare function subscribeBimLicense(listener: () => void): () => void;
8
+ export declare function currentBimLicenseStatus(): BimLicenseStatus;
9
+ export declare function checkBimLicense(force?: boolean): Promise<BimLicenseStatus>;
10
+ export { disableTelemetry, enableTelemetry } from '@polycyphers/license';
@@ -1 +1 @@
1
- export declare const packageVersion = "0.1.0";
1
+ export declare const packageVersion = "0.1.1";