Skip to content

Commit d03f27f

Browse files
Release 3.0.0 (#68)
1 parent ce4dee6 commit d03f27f

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Changelog
22

33
## Unreleased changes
4+
5+
## 3.0.0
46
- Stronger typing for various places in the API.
57
- Renamed GTUAmount to CCDAmount
68
- New CredentialRegistrationId type.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ perform an orderly shutdown of the underlying grpc connection.
141141

142142
- `getAccountInfo`
143143
```java
144-
AccountInfo getAccountInfo(AccountAddress address, Hash blockHash) throws AccountNotFoundException
144+
AccountInfo getAccountInfo(AccountRequest request, Hash blockHash) throws AccountNotFoundException
145145
```
146-
Retrieves the [AccountInfo](./concordium-java-sdk/blob/main/concordium-sdk/src/main/java/com/concordium/sdk/responses/accountinfo/AccountInfo.java) given an `AccountAddress` and a block `Hash`.
146+
Retrieves the [AccountInfo](./concordium-java-sdk/blob/main/concordium-sdk/src/main/java/com/concordium/sdk/responses/accountinfo/AccountInfo.java) given an `AccountRequest` and a block `Hash`.
147147
Throws a `AccountNotFoundException` if the account was not found.
148148

149149
- `getNextAccountNonce`
@@ -254,9 +254,9 @@ Client client = Client.from(connection);
254254

255255
```java
256256
Hash blockHash = Hash.from("3d52e63350bfd21676ecbf6ce29688e3be6bff86cbacfe138aac107b64d29ba1");
257-
AccountAddress accountAddress = AccountAddress.from("3uyRpq2NPSY4VJn8Qd1uWGcUQTGpCAarHTtqpneiSGqv36Uhna");
257+
AccountRequest accountRequest = AccountRequest.from(AccountAddress.from("3uyRpq2NPSY4VJn8Qd1uWGcUQTGpCAarHTtqpneiSGqv36Uhna"));
258258
try {
259-
AccountInfo accountInfo = client.getAccountInfo(accountAddress, blockHash);
259+
AccountInfo accountInfo = client.getAccountInfo(accountRequest, blockHash);
260260
} catch(AccountNotFoundException e) {
261261
Log.err(e.getMessage);
262262
}

concordium-sdk/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.concordium.sdk</groupId>
88
<artifactId>concordium-sdk</artifactId>
9-
<version>2.4.1-SNAPSHOT</version>
9+
<version>3.0.0</version>
1010

1111
<name>concordium-sdk</name>
1212
<!-- FIXME change it to the project's website -->

0 commit comments

Comments
 (0)