Skip to content

Commit

Permalink
feat: support no ledger (#689)
Browse files Browse the repository at this point in the history
* wip: implemented ui for method selection

Signed-off-by: bhavanakarwade <[email protected]>

* wip: modified no ledger screen

Signed-off-by: bhavanakarwade <[email protected]>

* feat: modified ui for create did popup

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: worked on error handling

Signed-off-by: bhavanakarwade <[email protected]>

* fix: validations on create did popup

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: mapping function

Signed-off-by: bhavanakarwade <[email protected]>

* fix: resolved sonarlint issues

Signed-off-by: bhavanakarwade <[email protected]>

* fix: input box issues

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: handled role wise conditions

Signed-off-by: bhavanakarwade <[email protected]>

* fix: resolved code duplication errors

Signed-off-by: bhavanakarwade <[email protected]>

* fix: enum values

Signed-off-by: bhavanakarwade <[email protected]>

---------

Signed-off-by: bhavanakarwade <[email protected]>
  • Loading branch information
bhavanakarwade authored Jun 7, 2024
1 parent e3eb7b4 commit 95aeaa6
Show file tree
Hide file tree
Showing 14 changed files with 1,135 additions and 962 deletions.
90 changes: 90 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"dom-to-image": "^2.6.0",
"downloadjs": "^1.4.7",
"eslint": "^8.57.0",
"ethers": "^6.12.1",
"flowbite": "^2.3.0",
"flowbite-react": "^0.4.11",
"flowbite-typography": "^1.0.3",
Expand Down
17 changes: 13 additions & 4 deletions src/common/enums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,17 @@ export enum BulkIssuanceStatus {
}

export enum DidMethod {
INDY = 'indy',
KEY = 'key',
WEB = 'web',
POLYGON = 'polygon'
INDY = 'did:indy',
KEY = 'did:key',
WEB = 'did:web',
POLYGON = 'did:polygon'
}

export enum Network {
TESTNET = 'testnet',
MAINNET = 'mainnet'
}

export enum CommonConstants {
BALANCELIMIT = 0.01
}
Loading

0 comments on commit 95aeaa6

Please sign in to comment.