diff --git a/README.md b/README.md index 8dac717f..4640c63c 100644 --- a/README.md +++ b/README.md @@ -17,16 +17,16 @@ Apache Maven: io.craftgate craftgate - 1.0.58 + 1.0.59 ``` Gradle Groovy DSL ``` -implementation 'io.craftgate:craftgate:1.0.58' +implementation 'io.craftgate:craftgate:1.0.59' ``` Gradle Kotlin DSL ``` -implementation("io.craftgate:craftgate:1.0.58") +implementation("io.craftgate:craftgate:1.0.59") ``` ## Usage diff --git a/src/main/java/io/craftgate/adapter/BaseAdapter.java b/src/main/java/io/craftgate/adapter/BaseAdapter.java index 1cfc2ca8..6f9d43aa 100644 --- a/src/main/java/io/craftgate/adapter/BaseAdapter.java +++ b/src/main/java/io/craftgate/adapter/BaseAdapter.java @@ -40,7 +40,7 @@ private static Map createHttpHeaders(Object request, String path headers.put(API_KEY_HEADER_NAME, options.getApiKey()); headers.put(RANDOM_HEADER_NAME, randomString); headers.put(AUTH_VERSION_HEADER_NAME, API_VERSION_HEADER_VALUE); - headers.put(CLIENT_VERSION_HEADER_NAME, CLIENT_VERSION_HEADER_VALUE + ":1.0.58"); + headers.put(CLIENT_VERSION_HEADER_NAME, CLIENT_VERSION_HEADER_VALUE + ":1.0.59"); headers.put(SIGNATURE_HEADER_NAME, prepareAuthorizationString(request, path, randomString, options)); if (Objects.nonNull(options.getLanguage())) { headers.put(LANGUAGE_HEADER_NAME, options.getLanguage());