Documentation

@kanunilabs/licensing


@kanunilabs/licensing / setLicenseKey

Function: setLicenseKey()

setLicenseKey(key, opts?): void

Set (or replace) the active license key. Triggers async verification. Safe to call multiple times; re-verifies only when the key (or options) change.

Parameters

key

string | null | undefined

opts?

SetLicenseOptions

Returns

void