From e9536351deaaecb65196006f0b5c279255bf054c Mon Sep 17 00:00:00 2001 From: mir-huzaif Date: Tue, 11 Nov 2025 10:41:53 +0530 Subject: [PATCH 1/2] chore: add total (de)activations to user license --- .../java/com/cryptlex/lexactivator/UserLicense.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/java/com/cryptlex/lexactivator/UserLicense.java b/src/main/java/com/cryptlex/lexactivator/UserLicense.java index 15e4df7..77ff3de 100644 --- a/src/main/java/com/cryptlex/lexactivator/UserLicense.java +++ b/src/main/java/com/cryptlex/lexactivator/UserLicense.java @@ -18,6 +18,16 @@ public class UserLicense { */ public String key; + /** + * Total number of activations for the license. + */ + public long totalActivations; + + /** + * Total number of deactivations for the license. + */ + public long totalDeactivations; + /** * The license type (node-locked or hosted-floating). */ From c98c3bf1340d479e625b76e35d15cfd3a98913c7 Mon Sep 17 00:00:00 2001 From: mir-huzaif Date: Tue, 11 Nov 2025 10:42:47 +0530 Subject: [PATCH 2/2] chore: add expiresAt to FeatureEntitlement --- .../java/com/cryptlex/lexactivator/FeatureEntitlement.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/cryptlex/lexactivator/FeatureEntitlement.java b/src/main/java/com/cryptlex/lexactivator/FeatureEntitlement.java index 5517177..952ec9e 100644 --- a/src/main/java/com/cryptlex/lexactivator/FeatureEntitlement.java +++ b/src/main/java/com/cryptlex/lexactivator/FeatureEntitlement.java @@ -15,5 +15,10 @@ public class FeatureEntitlement { * The value of the feature. */ public String value; + + /** + * Timestamp when the license feature entitlement will expire. + */ + public long expiresAt; }