Formal metadata support in Node.js SDK activation methods
I want to be able to add metadata to an activation using the Node.js SDK (e.g., in requestActivation()) to take advantage of advanced licensing analytics without having to use the endpoint workaround. This is important for tracking specific device or environment details like 'Is64Bit' directly in the activation flow.
Log in to comment and vote
Comments1
May 13
PinnedThis is live with version 1.0.34 of the
@moonbase.sh/licensingNPM package!const licensing = new MoonbaseLicensing({ endpoint: 'https://demo.moonbase.sh', productId: 'demo-app', publicKey: process.env.MOONBASE_PUBLIC_KEY!, accountId: process.env.MOONBASE_ACCOUNT_ID, // Optional analytics reported with every activation and validation. appVersion: '1.2.3', metadata: { Host: 'Console', User: process.env.USER ?? '', }, })