Skip to content

Commit 9a53277

Browse files
Please add friendly name to Key.activate (#33)
* add friendly name to Activate * typo * Update package.json --------- Co-authored-by: Artem Los <[email protected]>
1 parent 4dbc157 commit 9a53277

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

methods/Key.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ const helpers = require('../internal/HelperMethods.js');
33

44
module.exports = class Key {
55

6-
static Activate(token, rsaPubKey, ProductId, Key, MachineCode = "", FieldsToReturn = 0, Metadata = false, FloatingTimeInterval = 0, MaxOverdraft = 0, LicenseServerUrl = "https://api.cryptolens.io") {
6+
static Activate(token, rsaPubKey, ProductId, Key, MachineCode = "", FriendlyName = "", FieldsToReturn = 0, Metadata = false, FloatingTimeInterval = 0, MaxOverdraft = 0, LicenseServerUrl = "https://api.cryptolens.io") {
77
return new Promise(async (resolve, reject) => {
88
try {
99
const formBody = {
1010
token: token,
1111
ProductId: ProductId,
1212
Key: Key,
1313
MachineCode: MachineCode,
14+
FriendlyName: FriendlyName,
1415
FieldsToReturn: FieldsToReturn,
1516
Metadata: Metadata,
1617
FloatingTimeInterval: FloatingTimeInterval,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cryptolens",
3-
"version": "1.0.14.2",
3+
"version": "1.0.15.1",
44
"description": "Client API for NodeJS to access Cryptolens Software Licensing API.",
55
"main": "main.js",
66
"scripts": {

0 commit comments

Comments
 (0)