Documentation

@kanunilabs/licensing


@kanunilabs/licensing / LicenseVerification

Interface: LicenseVerification

Properties

graceActive?

optional graceActive?: boolean

True when within the post-expiry grace window (subscription only).


payload

payload: LicensePayload | null


reason

reason: string

Human-readable explanation (also used for the console banner).


reasonCode?

optional reasonCode?: LicenseReasonCode

Machine-readable cause (see LicenseReasonCode). Optional because a result can come from an older copy of this package sharing the page's license store; licenseReasonCode() derives one from status then.


status

status: LicenseStatus


valid

valid: boolean