Skip to content

Commit

Permalink
Merge pull request #379 from Concordium/company-attributes
Browse files Browse the repository at this point in the history
Support company attributes in SDK
  • Loading branch information
limemloh authored Jul 5, 2024
2 parents 929dcca + 7661b34 commit 6180775
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deps/concordium-base
Submodule concordium-base updated 38 files
+2 −0 .gitignore
+1 −1 Setup.hs
+1 −0 concordium-base.cabal
+1 −1 concordium-grpc-api
+17 −0 haskell-src/Concordium/Crypto/EncryptedTransfers.hs
+34 −14 haskell-src/Concordium/GRPC2.hs
+13 −1 haskell-src/Concordium/ID/Types.hs
+1 −1 haskell-src/Concordium/Types.hs
+111 −68 haskell-src/Concordium/Types/Accounts.hs
+278 −15 haskell-src/Concordium/Types/Execution.hs
+1 −1 haskell-src/Concordium/Types/Migration.hs
+8 −0 haskell-src/Concordium/Types/Parameters.hs
+63 −33 haskell-src/Concordium/Types/ProtocolVersion.hs
+65 −36 haskell-src/Concordium/Types/Queries.hs
+2 −4 haskell-src/Concordium/Types/Transactions.hs
+45 −0 haskell-src/Concordium/Wasm.hs
+60 −2 haskell-tests/Generators.hs
+2 −0 haskell-tests/Spec.hs
+113 −14 haskell-tests/Types/PayloadSerializationSpec.hs
+99 −0 haskell-tests/Types/PayloadSpec.hs
+13 −4 idiss-csharp/CHANGELOG.md
+1 −1 idiss-csharp/IdissExample/IdissExample.csproj
+12 −10 idiss-csharp/IdissLib/Idiss.cs
+33 −2 idiss-csharp/IdissLib/IdissLib.csproj
+3 −3 idiss-csharp/IdissLib/Types.cs
+1 −1 idiss-csharp/IdissLibTest/IdissLibTest.csproj
+29 −38 idiss-csharp/README.md
+5 −1 mobile_wallet/CHANGELOG.md
+1 −1 mobile_wallet/Cargo.lock
+1 −1 mobile_wallet/Cargo.toml
+6 −0 mobile_wallet/src/lib.rs
+2 −0 rust-src/concordium_base/CHANGELOG.md
+3 −0 rust-src/concordium_base/src/encrypted_transfers/ffi.rs
+22 −0 rust-src/concordium_base/src/encrypted_transfers/mod.rs
+5 −1 rust-src/concordium_base/src/id/types.rs
+93 −6 rust-src/concordium_base/src/transactions.rs
+1 −0 smart-contracts/contracts-common/concordium-contracts-common/CHANGELOG.md
+2 −2 smart-contracts/contracts-common/concordium-contracts-common/src/types.rs
6 changes: 6 additions & 0 deletions packages/rust-bindings/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 3.2.0

### Added

- Support creating account with company related attributes: `lei`, `legalName`, `legalCountry`, `businessNumber` and `registrationAuth`, allow for company account creation.

## 3.1.0

### Added
Expand Down
2 changes: 1 addition & 1 deletion packages/rust-bindings/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@concordium/rust-bindings",
"version": "3.1.0",
"version": "3.2.0",
"license": "Apache-2.0",
"engines": {
"node": ">=16"
Expand Down
6 changes: 6 additions & 0 deletions packages/sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 7.5.0

### Added

- Bumped @concordium/rust-bindings to 3.2.0: Support company related attributes: `lei`, `legalName`, `legalCountry`, `businessNumber` and `registrationAuth`, allow for company account creation using the SDK.

## 7.4.0

### Added
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@concordium/web-sdk",
"version": "7.4.0",
"version": "7.5.0",
"license": "Apache-2.0",
"engines": {
"node": ">=16"
Expand Down
10 changes: 10 additions & 0 deletions packages/sdk/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ export enum AttributesKeys {
idDocExpiresAt,
nationalIdNo,
taxIdNo,
lei,
legalName,
legalCountry,
businessNumber,
registrationAuth,
}

export type Attributes = {
Expand All @@ -144,6 +149,11 @@ export enum AttributeKeyString {
idDocExpiresAt = 'idDocExpiresAt',
nationalIdNo = 'nationalIdNo',
taxIdNo = 'taxIdNo',
lei = 'lei',
legalName = 'legalName',
legalCountry = 'legalCountry',
businessNumber = 'businessNumber',
registrationAuth = 'registrationAuth',
}

export enum Sex {
Expand Down

0 comments on commit 6180775

Please sign in to comment.