diff --git a/CHANGELOG.md b/CHANGELOG.md index 827ddc2..dbc01ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# 1.0.0 (2020-01-10) + + +### Features + +* initial commit ([b1db73b](https://github.com/OpenCerts/verify/commit/b1db73b17a818f15403d1511a8e5d4ea9ef6cdc6)) + ## [1.6.2](https://github.com/rjchow/nod/compare/v1.6.1...v1.6.2) (2019-12-31) diff --git a/README.md b/README.md index 02115a9..f70e216 100644 --- a/README.md +++ b/README.md @@ -96,16 +96,16 @@ console.log(isValid(fragments)); // display true `OpencertsRegistryVerifier` is a new verifier specific to [Opencerts](https://opencerts.io) documents: -- it ensures document `ISSUER_IDENTITY` and works closely with `OpenAttestationDnsTxt` verifier (see `isValid` below) -- it returns a `VALID` fragment if at least one of the issuer is in [Opencerts registry](https://opencerts.io/static/registry.json) -- it returns a `SKIPPED` fragment if none of the issuers is in the registry. +- it ensures document `ISSUER_IDENTITY` and works closely with `OpenAttestationDnsTxt` verifier (see `isValid` below) +- it returns a `VALID` fragment if at least one of the issuer is in [Opencerts registry](https://opencerts.io/static/registry.json) +- it returns a `SKIPPED` fragment if none of the issuers is in the registry. ### isValid With the addition of `OpencertsRegistryVerifier` verifier, different rules apply for `ISSUER_IDENTITY` type verifiers: -- `ISSUER_IDENTITY` is valid if at least one issuer is in the registry, i.e. if `OpencertsRegistryVerifier` has status `VALID` -- if `OpencertsRegistryVerifier` doesn't have `VALID` status then all issuers must have valid DNS-TXT record. +- `ISSUER_IDENTITY` is valid if at least one issuer is in the registry, i.e. if `OpencertsRegistryVerifier` has status `VALID` +- if `OpencertsRegistryVerifier` doesn't have `VALID` status then all issuers must have valid DNS-TXT record. ## API diff --git a/package-lock.json b/package-lock.json index 9ab1e76..b73b69a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@govtechsg/opencerts-verify", - "version": "0.0.0-development", + "version": "1.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 403c0ab..38ca59b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@govtechsg/opencerts-verify", - "version": "0.0.0-development", + "version": "1.0.0", "description": "Library to verify any opencerts document", "license": "GPL-3.0", "repository": {