diff --git a/methods/Key.js b/methods/Key.js index 9d82bcd..1080e0a 100644 --- a/methods/Key.js +++ b/methods/Key.js @@ -3,7 +3,7 @@ const helpers = require('../internal/HelperMethods.js'); module.exports = class Key { - static Activate(token, rsaPubKey, ProductId, Key, MachineCode = "", FieldsToReturn = 0, Metadata = false, FloatingTimeInterval = 0, MaxOverdraft = 0, LicenseServerUrl = "https://api.cryptolens.io") { + static Activate(token, rsaPubKey, ProductId, Key, MachineCode = "", FriendlyName = "", FieldsToReturn = 0, Metadata = false, FloatingTimeInterval = 0, MaxOverdraft = 0, LicenseServerUrl = "https://api.cryptolens.io") { return new Promise(async (resolve, reject) => { try { const formBody = { @@ -11,6 +11,7 @@ module.exports = class Key { ProductId: ProductId, Key: Key, MachineCode: MachineCode, + FriendlyName: FriendlyName, FieldsToReturn: FieldsToReturn, Metadata: Metadata, FloatingTimeInterval: FloatingTimeInterval, diff --git a/package.json b/package.json index 59d92b6..539a01d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cryptolens", - "version": "1.0.14.2", + "version": "1.0.15.1", "description": "Client API for NodeJS to access Cryptolens Software Licensing API.", "main": "main.js", "scripts": {