Skip to content

Commit

Permalink
Support Email Identity in client-api and client-sdk (#3085)
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Alvarez <[email protected]>
  • Loading branch information
jonalvarezz authored Sep 24, 2024
1 parent 7af4f4e commit 0491379
Show file tree
Hide file tree
Showing 15 changed files with 246 additions and 129 deletions.
7 changes: 7 additions & 0 deletions tee-worker/identity/client-api/parachain-api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- Update for version [parachain-release v0.9.20-03](https://github.com/litentry/litentry-parachain/releases/tag/v0.9.20-03)

### Added

- `LinkedIdentities` entry in `Assertion` enum.
- New `Email` identity. Consequent updates on `LitentryIdentity` and `Web2ValidationData`.

## [0.9.19-07] - 2024-08-26

Matching version for [parachain-release v0.9.19-07](https://github.com/litentry/litentry-parachain/releases/tag/v0.9.19-07)
Expand Down
2 changes: 1 addition & 1 deletion tee-worker/identity/client-api/parachain-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/src/index.js",
"module": "dist/src/index.js",
"sideEffects": false,
"version": "0.9.19-07",
"version": "0.9.20-03-next.0",
"scripts": {
"clean": "rm -rf dist build node_modules",
"update-metadata": "curl -s -H \"Content-Type: application/json\" -d '{\"id\":\"1\", \"jsonrpc\":\"2.0\", \"method\": \"state_getMetadata\", \"params\":[]}' http://localhost:9944 > prepare-build/litentry-parachain-metadata.json",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export default {
Evm: "Address20",
Bitcoin: "Address33",
Solana: "Address32",
Email: "IdentityString",
},
},
Address32: "[u8;32]",
Expand Down Expand Up @@ -66,6 +67,7 @@ export default {
_enum: {
Twitter: "TwitterValidationData",
Discord: "DiscordValidationData",
Email: "EmailValidationData",
},
},
TwitterValidationData: {
Expand Down Expand Up @@ -97,6 +99,10 @@ export default {
code: "Vec<u8>",
redirect_uri: "Vec<u8>",
},
EmailValidationData: {
email: "Text",
verification_code: "Text",
},
Web3ValidationData: {
_enum: {
Substrate: "Web3CommonValidationData",
Expand Down
2 changes: 2 additions & 0 deletions tee-worker/identity/client-api/sidechain-api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- Update for version [parachain-release v0.9.20-03](https://github.com/litentry/litentry-parachain/releases/tag/v0.9.20-03)

## [0.9.19-07] - 2024-08-26

Matching version for [parachain-release v0.9.19-07](https://github.com/litentry/litentry-parachain/releases/tag/v0.9.19-07)
Expand Down
2 changes: 1 addition & 1 deletion tee-worker/identity/client-api/sidechain-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/src/index.js",
"module": "dist/src/index.js",
"sideEffects": false,
"version": "0.9.19-07",
"version": "0.9.20-03-next.0",
"scripts": {
"clean": "rm -rf dist build node_modules",
"update-metadata": "../../bin/litentry-cli print-sgx-metadata-raw > prepare-build/litentry-sidechain-metadata.json",
Expand Down
Loading

0 comments on commit 0491379

Please sign in to comment.