Skip to content

Commit

Permalink
bump v, upd changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
lukachi committed Feb 2, 2024
1 parent 7ddb5d2 commit 4a232b9
Show file tree
Hide file tree
Showing 4 changed files with 152 additions and 105 deletions.
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.8.0] - 2024-02-02
#### Added
- resave VC in success page ([ProofSubmitted.tsx](src/pages/MainPage/components/8_ProofSubmitted/ProofSubmitted.tsx))

#### Changed
- Update `@rarimo/rarime-connector` to `2.0.2`

#### Fixed
- kyc provider detecting method calls, when did is not defined

## [2.7.0] - 2024-01-25
#### Added
- Maintenance page
Expand Down Expand Up @@ -184,7 +194,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
#### Under the hood changes
- Initiated and setup project

[Unreleased]: https://gitlab.com/distributed_lab/frontend/react-template/compare/2.7.0...main
[Unreleased]: https://gitlab.com/distributed_lab/frontend/react-template/compare/2.8.0...main
[2.8.0]: https://gitlab.com/distributed_lab/frontend/react-template/compare/2.7.0...2.8.0
[2.7.0]: https://gitlab.com/distributed_lab/frontend/react-template/compare/2.6.1...2.7.0
[2.6.1]: https://gitlab.com/distributed_lab/frontend/react-template/compare/2.6.0...2.6.1
[2.6.0]: https://gitlab.com/distributed_lab/frontend/react-template/compare/2.5.2...2.6.0
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-template",
"private": true,
"version": "2.7.0",
"version": "2.8.0",
"gitHooks": {
"pre-commit": "tsc && yarn lint",
"pre-push": "yarn rsc"
Expand Down Expand Up @@ -30,7 +30,7 @@
"@rarimo/auth-zkp-iden3": "^2.0.0-rc.24",
"@rarimo/client": "^2.0.0-rc.24",
"@rarimo/identity-gen-iden3": "^2.0.0-rc.24",
"@rarimo/rarime-connector": "2.0.2-rc.0",
"@rarimo/rarime-connector": "2.0.2",
"@rarimo/shared-zkp-iden3": "^2.0.0-rc.24",
"@rarimo/zkp-gen-iden3": "^2.0.0-rc.24",
"@sentry/react": "7.63.0",
Expand Down
7 changes: 6 additions & 1 deletion src/contexts/ZkpContext/ZkpContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,14 @@ const ZkpContextProvider: FC<Props> = ({ children, ...rest }) => {

if (!_identityId) throw new Error('Identity has not created')

const { identityIdString: did, identityIdBigIntString: didBigInt } =
const { identityIdString: _did, identityIdBigIntString: didBigInt } =
_identityId

// FIXME: fix parsing DID in snap and remove this
const did = _did.startsWith('did:iden3:readonly:')
? _did
: _did.replace('did:iden3:', 'did:iden3:readonly:')

setIdentityIdString(did)
setIdentityIdBigIntString(didBigInt)

Expand Down
Loading

0 comments on commit 4a232b9

Please sign in to comment.