Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: release v0.9.0 - webhook attachments, linting, GitHub Actions #71

Merged
merged 11 commits into from
Jun 17, 2021

Conversation

mantariksh
Copy link
Contributor

@mantariksh mantariksh commented Jun 14, 2021

New

  • Support for downloading and decrypting webhooks in attachments

Improved

  • Dependency upgrades
    • y18n (4.0.0 to 4.0.1)
    • lodash (4.17.19 to 4.17.21)

Dev changes

  • Development environment now uses a separate, non-sensitive key pair for both verification and signing
  • Code is now linted
  • Build pipeline is now in GitHub Actions instead of Travis

karrui and others added 11 commits March 11, 2021 18:01
build: merge Release 0.8.4 back to develop branch
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…chments (#62)

* add downloadAndDecryptAttachments for downloading and decrypting attachments

* add more tests to improve coverage

* Update src/crypto.ts

Co-authored-by: Antariksh Mahajan <antarikshmahajan@gmail.com>

* update code per comments

* add a backtick to readme.md

* address comments by @seaerchin and @mantariksh

* update types in README.md

* remove extraneous http status check

* remove type annotations in readme.md

Co-authored-by: Antariksh Mahajan <antarikshmahajan@gmail.com>
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: Adding eslint functionality

* remove globals
* refactor(crypto): minor refactor of decryptWithAttachments

* refactor(crypto): removed custom error in favour of returning null

* refactor(util/crypto): fixed docs and changed method name

* refactor(src/crypto): assigned promise to variable to reduce nesting; removed unused error in docs

* docs(crypto): add docs

* refactor(crypto): updated to avoid .then() chain

* fix(crypto): removed unused import

* refactor(crypto): added custom error for decryption failure

* test(utils): adds unit tests for areAttachmentFieldIdsValid

* style(util/spec): updated constants to use Object.keys

* chore(errors): removed setting prototype explicitly

* style(crypto): removed mixing of promise chaining and async/await

Co-authored-by: seaerchin <jer005@e.ntu.edu.sg>
- make `test-ci` not run coverage, since that will be done by Actions
- rename `test:watch` to `test-watch` for consistency, since
  gulp-style script names (ie, using `:`) are deprecated
* docs: specify version for attachment functionality

* docs: collapse code examples into one

* docs: use HAS_ATTACHMENTS to distinguish decrypt functions

* chore: lint README

* docs: fix typo
* build: add separate keypairs for dev environment

* fix: use nacl.sign instead of nacl.box for keygen

* docs: add comment specifying keygen function

* docs: specify library of keygen function

* test: add tests for key length
@mantariksh mantariksh merged commit 09153de into release Jun 17, 2021
@KenLSM KenLSM deleted the release-v0.9.0 branch November 17, 2023 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants