Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@hmcts/draft-store-client
Advanced tools
This is a client library for interacting with the draft store api
To configure the draft store client you need to:
export interface ServiceAuthTokenFactory {
get (): Promise<ServiceAuthToken>
}
let token: ServiceAuthToken
export class ServiceAuthTokenFactoryImpl implements ServiceAuthTokenFactory{
async get (): Promise<ServiceAuthToken> {
if (token === undefined || token.hasExpired()) {
token = await IdamClient.retrieveServiceToken()
}
return token
}
}
yarn add @hmcts/draft-store-client
Install dependencies by executing the following command:
$ yarn install
We use TSLint with StandardJS rules
Running the linting:
yarn lint
Mocha is used for writing tests.
Run them with:
$ yarn test
For test coverage:
$ yarn test:coverage
This project is licensed under the MIT License - see the LICENSE file for details
FAQs
JavaScript client for draft store
We found that @hmcts/draft-store-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 14 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.