Skip to content

Commit

Permalink
Merge pull request #23 from cryptlex/cryptlex/update-version
Browse files Browse the repository at this point in the history
chore: update lib version for sample
  • Loading branch information
ahmad-kemsan authored Mar 26, 2024
2 parents 57d59e7 + 7ef4eb7 commit e8319b4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<dependency>
<groupId>com.cryptlex.lexactivator</groupId>
<artifactId>lexactivator</artifactId>
<version>3.15.1</version>
<version>3.26.0</version>
</dependency>
</dependencies>
</project>
4 changes: 2 additions & 2 deletions src/main/java/com/cryptlex/lexactivator/LexActivator.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand All @@ -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
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit e8319b4

Please sign in to comment.