Skip to content

Commit

Permalink
feat: add shc support
Browse files Browse the repository at this point in the history
  • Loading branch information
salmanm committed Dec 15, 2021
1 parent 17c484e commit 245ccb9
Show file tree
Hide file tree
Showing 11 changed files with 460 additions and 14 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,4 @@ android/app/google-services.json

dist/
coverage/
*.tgz
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,5 @@ lint-staged.config.js
.nvmrc
.prettierrc
babel.config.js
.editorconfig
.editorconfig
src
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Digital Covid Ceritifcate Decoder

A node module for decoding DCC certs, validaiong signature and optionally running country specific business rules
A node module for decoding DCC certs, validating signature and optionally running country specific business rules

For more on DCC see:
- https://github.com/ehn-dcc-development
Expand Down Expand Up @@ -78,7 +78,7 @@ Decodes a DCC qr code. Will accept input as string. Returns a promise which incl
const result = await decodeAndValidateRules({source: 'HC1:....', dccData: {dcc...}}, ruleCountry: 'IE'});
```

Decodes a DCC qr code an then runs the provided business rules against the DCC data. Will accept input as string. Returns a promise which includes the raw cert data, populated cert, cert type and any error.
Decodes a DCC or Smart Health qr code and then runs the provided business rules against the DCC data. Will accept input as string. Returns a promise which includes the raw cert data, populated cert, cert type and any error.

---

Expand Down
Loading

0 comments on commit 245ccb9

Please sign in to comment.