Update staging environment #1191
Annotations
1 error and 5 warnings
commitlint
You have commit messages with errors
⧗ input: #swtch 1583: enrolment precondition credentials are not being verified (#525)
* fix: perform verification on credentials for enrolment pre-conditions
* fix: remove comments, fix errors
* fix: use injected Issuer Verification Service
* fix: move verification service to role module
* fix: remove comment
* fix: move service to claim module and extract enrolment precondition fetch
* fix: break out logic for checking preconditions and verifying preconditions
* fix: remove unused resolver
* fix: do not remove verifyEnrolmentIssuer
* fix: update claim controller test providers
* fix: perform verification on credentials for enrolment pre-conditions
* fix: remove comments, fix errors
* fix: use injected Issuer Verification Service
* fix: move verification service to role module
* fix: remove comment
* fix: move service to claim module and extract enrolment precondition fetch
* fix: break out logic for checking preconditions and verifying preconditions
* fix: remove unused resolver
* fix: do not remove verifyEnrolmentIssuer
* fix: update claim controller test providers
* fix: provide registry settings to Claim e2e
* fix: add DIDRegistryAddress to test env variables
* fix: pull verification methods out to their own methods
* fix: rename claim controller test to not be e2e
* fix: move verifyDidDocumentContainsEnrolmentPreconditions to claim verif service
* fix: update file name for claim controller test
* test: set up deps for claim service tests
* test: update mock methods
* fix: remove comment
* test: add tests for error scenarios for handleClaimEnrolmentRequest
* test: add test setup for claim verification service
* fix: add optional chaining operator in case undefined
* test: update tests for claim verification
* fix: update claim verification to have Role Credential Resolver be injectable
* fix: only check enrolment preconditions if conditions have role pre-requisites
* fix: update method name
* fix: do not make CredentialResolver injectable
* fix: pull out getCredential method
* fix: remove injectable from role credential resolver
* fix: update test vars
* test: add success case for handleClaimEnrolmentRequest
* fix: remove logs
* fix: use enum for precondition type
* fix: throw error if precondition type is not of type 'role'
* fix: fix expiration test
* fix: make verifyEnrolmentPrerequisites private
* fix: remove duplicative check for type of role
* fix: move duplicative redundant verification to claim verif service
* fix: remove comment
* fix: remove logs and comment
* fix: update mock method name
* test: remove erroneous tests
* test: make methods private and update tests
* test: update error strings and tests to handle errors
* fix: remove undefined check
* fix: add return type
* docs: fix method documentation
* fix: fix spelling error in documentation annotation
* fix: update error return message
* fix: move public method above private methods
✖ subject may not be empty [subject-empty]
✖ type may not be empty [type-empty]
✖ found 2 problems, 0 warnings
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
⧗ input: Make RoleRevokerResolver injectable (#520)
* fix: make revoker service injectable
* fix: add injectable Role Revoker SErvice into constructor rather than instantiating
* fix: export RoleRevokerResolver from claim module
✖ subject may not be empty [subject-empty]
✖ type may not be empty [type-empty]
✖ found 2 problems, 0 warnings
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
|
commitlint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
commitlint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
src/common/not-found-exception-filter.ts#L11
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
|
src/common/provider.ts#L22
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
|
src/scripts/delete-user-credentials.js#L30
[@typescript-eslint/no-unused-vars] 'claim' is assigned a value but never used.
|