@kanunilabs/licensing / licenseForRelease
Function: licenseForRelease()
licenseForRelease(
state,releaseDate):LicenseVerification
The verification one product build should act on.
The store holds a single result for the whole page, but a DataGrid released
in October and a PivotGrid released in July can share one key. A perpetual
key whose update period ended before releaseDate does not cover that build,
so this narrows the shared result for it. releaseDate is null when the
product was not built with a release timestamp (tests, running from source),
and then the shared result stands.
Parameters
state
releaseDate
number | null