• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

opengovsg / formsg-javascript-sdk
94%

Build:
DEFAULT BRANCH: master
Repo Added 16 May 2020 08:16AM CUT
Files 26
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • base64-stablelib
  • build/ci/github-actions
  • build/dev-keys
  • build/dev-keys-build
  • build/release-v0.11.0
  • build/release-v0.12.0-alpha.1
  • build/repo-name
  • chore/add-address-field-type
  • chore/license
  • chore/rename-repo
  • chore/test-ci
  • chore/update-github-runners
  • chore/update-readme
  • chore/update-readme-for-address
  • chore/upgrade-axios
  • coveralls
  • dependabot/npm_and_yarn/axios-1.7.4
  • dependabot/npm_and_yarn/babel/traverse-7.23.3
  • dependabot/npm_and_yarn/braces-3.0.3
  • dependabot/npm_and_yarn/follow-redirects-1.14.8
  • dependabot/npm_and_yarn/follow-redirects-1.15.4
  • dependabot/npm_and_yarn/follow-redirects-1.15.6
  • dependabot/npm_and_yarn/json5-1.0.2
  • dependabot/npm_and_yarn/lodash-4.17.19
  • dependabot/npm_and_yarn/lodash-4.17.21
  • dependabot/npm_and_yarn/minimist-1.2.6
  • dependabot/npm_and_yarn/qs-6.5.3
  • dependabot/npm_and_yarn/word-wrap-1.2.5
  • dependabot/npm_and_yarn/y18n-4.0.1
  • develop
  • docs/attachment-version-readme
  • docs/formsg-sdk-typos
  • feat/add-built-types
  • feat/class-based-crypto
  • feat/class-based-init
  • feat/class-based-subpackages
  • feat/class-based-verification
  • feat/jwks
  • feat/keep-mode
  • feat/mrf-crypto
  • feat/payment-content
  • feat/webhook-undefined-check
  • fix/allow-empty-field-titles
  • fix/ci-cache
  • fix/form-field/table-responses
  • fix/remove-extra-build-files
  • frank-addlint
  • frank-decrypt-attachment
  • frank-issue-46
  • npm-audit-fix
  • readme
  • refactor/crypto
  • refs/pull/111/merge
  • refs/pull/112/merge
  • refs/pull/114/merge
  • refs/pull/115/merge
  • refs/tags/v0.10.0
  • refs/tags/v0.11.0
  • refs/tags/v0.12.0
  • refs/tags/v0.12.0-alpha.1
  • refs/tags/v0.13.0
  • refs/tags/v0.9.0
  • release
  • release-0.8.1
  • release-0.8.3-hotfix
  • release-0.8.4
  • release-0.8.4-beta.0
  • release-v0.10.0
  • release-v0.13.0
  • release-v0.9.0
  • release-v0.9.0-build
  • response-id-update
  • revert-65-refactor/crypto
  • snyk-fix-55a0c706792cdee3de3d4065c661d89f
  • snyk-fix-75d53a22f9b8d04a48de972d32b8f310
  • snyk-upgrade-d301dcdb7c0c5b67471d35b263552d6e
  • test-build
  • update_deps
  • utf8
  • v0.8.2

pending completion
291

push

travis-ci-com

web-flow
Merge pull request #47 from opengovsg/release-0.8.3-hotfix

Release 0.8.3 - Allow tolerance for clock drift when authenticating webhooks

60 of 70 branches covered (85.71%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

201 of 209 relevant lines covered (96.17%)

4.62 hits per line

Relevant lines Covered
Build:
Build:
209 RELEVANT LINES 201 COVERED LINES
4.62 HITS PER LINE
Source Files on master
  • Tree
  • List 17
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/LineBranch HitsBranch Misses
72.73
src/util/publicKey.ts24 7 6 1 5.0 2 2
89.29
src/webhooks.ts169 + 138 36 2 5.0 + 214 - 24
92.86
src/util/validate.ts26 6 6 0 14.0 7 1
93.06
src/crypto.ts269 56 53 3 5.0 14 2
93.33
src/verification/authenticate.ts87 26 24 2 2.0 4 0
95.24
src/verification/index.ts44 13 13 0 3.0 7 1
100.0
spec/resources/crypto-data-20200322.ts114 12 12 0 1.0 0 0
100.0
src/util/stage.ts11 2 2 0 4.0 0 0
100.0
src/verification/basestring.ts17 7 7 0 3.0 0 0
100.0
src/verification/generate-signature.ts26 13 13 0 1.0 0 0
Showing 1 to 10 of 17 entries
  • Previous
  • 1
  • 2
  • Next
  • ►
    100.0
    spec/
  • ►
    95.9
    src/

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
291 master Merge pull request #47 from opengovsg/release-0.8.3-hotfix Release 0.8.3 - Allow tolerance for clock drift when authenticating webhooks push 27 Jan 2021 08:33AM CUT web-flow travis-ci-com pending completion  
284 master <a href="https://github.com/opengovsg/formsg-javascript-sdk/commit/bcdfbf66c">&lt;a href=&quot;https://github.com/opengovsg/formsg-javascript-sdk/commit/</a><a class="double-link" href="https://github.com/opengovsg/f... push 26 Oct 2020 08:02AM CUT web-flow travis-ci-com pending completion  
280 master fix(FormField): account for table responses (#44) push 26 Oct 2020 06:22AM CUT web-flow travis-ci-com pending completion  
277 master build(npm): update repo entry (#43) Our GitHub repo name should be identical to the package name. This commit should be accompanied by a repo rename. push 11 Aug 2020 03:48AM CUT web-flow travis-ci-com pending completion  
274 master feat: add more webhook tests to check for undefined params (#41) * feat: update webhook's generateSignature undefined checks * chore: update FormField type link in README push 30 Jul 2020 03:52AM CUT web-flow travis-ci-com pending completion  
273 master Bump lodash from 4.17.15 to 4.17.19 (#42) Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17... push 30 Jul 2020 03:52AM CUT web-flow travis-ci-com pending completion  
268 master fix: JSON body parser required for demo code to work (#40) push 16 Jun 2020 11:10AM CUT web-flow travis-ci-com pending completion  
265 master refactor: update verification HOF to Verification class (#38) * fix(errors): remove typo in error messages * refactor: move separate verification functions into utils file * refactor: move verification publicKey retrieval into publicKey uti... push 11 Jun 2020 07:23AM CUT web-flow travis-ci-com pending completion  
262 master refactor: update crypto HOF to Crypto class (#36) * feat: add util/crypto.ts for helper methods used by new Crypto class * feat: rewrite crypto.ts functions as Crypto class and use in init * feat: update thrown error name in JSDoc of Webhoo... push 11 Jun 2020 07:16AM CUT web-flow travis-ci-com pending completion  
258 master refactor: update webhooks HOF to Webhooks class (#34) * feat: add new errors.ts file containing MissingSecretKeyError * feat: add util/webhooks.ts for helper methods used by Webhooks class * feat: rewrite webhooks.ts functions as Webhooks c... push 11 Jun 2020 07:12AM CUT web-flow travis-ci-com pending completion  
See All Builds (322)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc