TypeScript/JavaScript wrapper for the Sentinel license management system.
See /examples for a complete examples in both TypeScript and JavaScript.
const sentinel = new SentinelClient(
"INSTANCE_URL",
"API_TOKEN",
);
const license = await sentinel.authenticateLicense(
"LICENSE_KEY",
"PRODUCT_NAME",
"SERVER_NAME"
);
if (license.success) console.log("License authenticated successfully");
else console.log("License authentication failed");