From 33114ffa49ec7af5fc23af53084d9e13d3cfaa81 Mon Sep 17 00:00:00 2001 From: Ahmad Kemsan Date: Mon, 26 Feb 2024 14:53:29 +0530 Subject: [PATCH 1/4] chore: updated version for sample --- examples/sample/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/sample/pom.xml b/examples/sample/pom.xml index df388e0..198c2ef 100644 --- a/examples/sample/pom.xml +++ b/examples/sample/pom.xml @@ -14,7 +14,7 @@ com.cryptlex.lexactivator lexactivator - 3.15.1 + 3.26.0 From 842d37d82236b8537e1fb9a484fe4a5ccd3ae8a6 Mon Sep 17 00:00:00 2001 From: Ahmad Kemsan Date: Mon, 26 Feb 2024 14:55:53 +0530 Subject: [PATCH 2/4] docs: updated error message --- .../java/com/cryptlex/lexactivator/LexActivatorException.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/cryptlex/lexactivator/LexActivatorException.java b/src/main/java/com/cryptlex/lexactivator/LexActivatorException.java index b0d425b..b0e8760 100644 --- a/src/main/java/com/cryptlex/lexactivator/LexActivatorException.java +++ b/src/main/java/com/cryptlex/lexactivator/LexActivatorException.java @@ -122,7 +122,7 @@ public static String getErrorMessage(int errorCode) { break; case LA_E_METADATA_VALUE_LENGTH: - message = "Metadata value length is more than 256 characters."; + message = "Metadata value length is more than 4096 characters."; break; case LA_E_ACTIVATION_METADATA_LIMIT: From facf9e819bcb56b1e1a8bc4df5a97bbe5e9ca4d4 Mon Sep 17 00:00:00 2001 From: Ahmad Kemsan Date: Mon, 26 Feb 2024 15:00:40 +0530 Subject: [PATCH 3/4] docs: updated error message --- .../java/com/cryptlex/lexactivator/LexActivatorException.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/cryptlex/lexactivator/LexActivatorException.java b/src/main/java/com/cryptlex/lexactivator/LexActivatorException.java index b0e8760..65d197e 100644 --- a/src/main/java/com/cryptlex/lexactivator/LexActivatorException.java +++ b/src/main/java/com/cryptlex/lexactivator/LexActivatorException.java @@ -444,7 +444,7 @@ public static String getErrorMessage(int errorCode) { /* * CODE: LA_E_METADATA_VALUE_LENGTH * - * MESSAGE: Metadata value length is more than 256 characters. + * MESSAGE: Metadata value length is more than 4096 characters. */ public static final int LA_E_METADATA_VALUE_LENGTH = 65; From 7ef4eb70a6522de8378f9151b23dd49a3e8e2daf Mon Sep 17 00:00:00 2001 From: Ahmad Kemsan Date: Mon, 26 Feb 2024 16:22:38 +0530 Subject: [PATCH 4/4] docs: updated docs --- src/main/java/com/cryptlex/lexactivator/LexActivator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/cryptlex/lexactivator/LexActivator.java b/src/main/java/com/cryptlex/lexactivator/LexActivator.java index 587bca6..2629237 100644 --- a/src/main/java/com/cryptlex/lexactivator/LexActivator.java +++ b/src/main/java/com/cryptlex/lexactivator/LexActivator.java @@ -223,7 +223,7 @@ public void invoke(int status) { * * @param key string of maximum length 256 characters with utf-8 encoding. * encoding. - * @param value string of maximum length 256 characters with utf-8 encoding. + * @param value string of maximum length 4096 characters with utf-8 encoding. * encoding. * @throws LexActivatorException */ @@ -242,7 +242,7 @@ public static void SetActivationMetadata(String key, String value) throws LexAct * * @param key string of maximum length 256 characters with utf-8 encoding. * encoding. - * @param value string of maximum length 256 characters with utf-8 encoding. + * @param value string of maximum length 4096 characters with utf-8 encoding. * encoding. * @throws LexActivatorException */