Commit graph

171 commits

Author SHA1 Message Date
Zaiste
e9b9e4f1e1
Update the GitHub action 2022-08-10 10:57:07 +02:00
Krzysztof Wolski
4681ebfc4b
Merge pull request #22 from saleor/drop-watchlist
Drop unused package `watchlist`
2022-08-09 19:58:12 +02:00
Krzysztof Wolski
215545aec5 Drop unused package watchlist 2022-08-09 19:21:23 +02:00
Krzysztof Wolski
0524013a42
Merge pull request #20 from saleor/test-setup
Setup test with Vitest + example tests + CICD
2022-08-08 19:46:19 +02:00
Krzysztof Wolski
4c30331a51
Merge pull request #19 from saleor/alpha-note
Add information about alpha version
2022-08-08 19:46:03 +02:00
Lukasz Ostrowski
302d60caa6 Add test to github action 2022-08-08 17:20:54 +02:00
Lukasz Ostrowski
c15caef702 Adds middleware test 2022-08-08 17:10:42 +02:00
Lukasz Ostrowski
cba596c910 Add test for urls 2022-08-08 16:55:57 +02:00
Krzysztof Wolski
849302b740 Release 0.8.0 2022-08-08 15:55:49 +02:00
Lukasz Ostrowski
758e8646fc Install vitest, remove uvu 2022-08-08 14:57:00 +02:00
Lukasz Ostrowski
c4f0b137ea Add information about alpha version 2022-08-08 14:49:26 +02:00
Krzysztof Wolski
8a1b0e7fa2
Merge pull request #17 from saleor/13-handle-missing-payload-signature
Handle missing webhook signature header
2022-08-08 11:02:19 +02:00
Krzysztof Wolski
9a76281d22 Unify error message for the middleware 2022-08-08 11:01:02 +02:00
Krzysztof Wolski
3d4c513be9 Handle missing webhook signature header 2022-08-08 10:43:26 +02:00
Krzysztof Wolski
95cbf1c9eb
Merge pull request #16 from saleor/10-jwt-validation-middleware
JWT validation middleware
2022-08-08 10:41:58 +02:00
Krzysztof Wolski
fe2921dcdc Migrate to Jose and better error messages 2022-08-04 18:37:31 +02:00
Krzysztof Wolski
e203803505 Add saleor headers util 2022-08-04 18:36:59 +02:00
Krzysztof Wolski
345238e9ee Add withJWTVerified middleware 2022-08-03 20:51:37 +02:00
Krzysztof Wolski
7ee1eca760
Merge pull request #11 from saleor/local-development-link
Local development
2022-08-01 12:04:34 +02:00
Krzysztof Wolski
aba71916c0 Add jwt packages 2022-07-29 17:00:31 +02:00
Krzysztof Wolski
9714f28bf5
Merge pull request #12 from saleor/link-readme-to-sat
Link README to Saleor App Template
2022-07-29 16:37:13 +02:00
Mirek Mencel
25041a0877
Link README to Saleor App Template 2022-07-29 16:34:50 +02:00
Krzysztof Wolski
f12d89c5f7 Update README instructions for local development 2022-07-29 16:02:28 +02:00
Krzysztof Wolski
60d824e351 Bump tsup and use it for the watch mode 2022-07-29 15:52:31 +02:00
Krzysztof Wolski
6972dbd562
Merge pull request #9 from saleor/add-linting
Add code formatting, git hooks and improved CI
2022-07-25 09:29:58 +02:00
Krzysztof Wolski
c48f02ca6f Configure eslint ts parser 2022-07-22 18:16:08 +02:00
Krzysztof Wolski
cd039517d2
Lint for using for ... in in favor of for ... of
Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>
2022-07-22 17:53:33 +02:00
Krzysztof Wolski
3f9f854e7d
Linting for unhandled promises
Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>
2022-07-22 17:52:02 +02:00
Krzysztof Wolski
026849deb9
Create LICENSE 2022-07-20 17:11:54 +02:00
Krzysztof Wolski
874b78c19f Update README with code linting info 2022-07-20 17:01:37 +02:00
Krzysztof Wolski
ebb0cfa01a Add husky/lint-staged 2022-07-20 16:33:03 +02:00
Krzysztof Wolski
88d1dc6322 Remove unused check 2022-07-20 16:21:47 +02:00
Krzysztof Wolski
6540dc8001 Apply code formatting 2022-07-20 16:19:49 +02:00
Krzysztof Wolski
bd41853696 Remove unused variable 2022-07-20 16:05:00 +02:00
Krzysztof Wolski
b3008c6a5a Rename variables to camelCase 2022-07-20 16:04:38 +02:00
Krzysztof Wolski
e535b66b4a Add code formatting 2022-07-20 16:01:20 +02:00
Krzysztof Wolski
626ee4e43b
Merge pull request #8 from saleor/add-types-to-event-validation
Add types for event validation middleware
2022-07-20 15:20:08 +02:00
Krzysztof Wolski
c0c3c85bab Add build step to the CI 2022-07-20 12:36:32 +02:00
Jonatan Witoszek
0d93b14e16
Replace string type with generic in withSaleorEventMatch middleware 2022-07-14 16:30:04 +02:00
Zaiste
c6307a8c1b
Release 0.7.0 2022-07-14 14:42:16 +02:00
Zaiste
41a4139943
Update dependencies 2022-07-14 14:41:37 +02:00
Tomasz Magulski
d5851ef6e1
Merge pull request #7 from saleor/fix-jws-validation
Fix Webhook signature validation when JWS is malformed
2022-07-14 14:24:49 +02:00
Jonatan Witoszek
8e1e100a02
Fix unhandled exception when JWS is malformed 2022-07-14 14:04:27 +02:00
Zaiste
7a04785dcf
Release 0.6.1 2022-07-07 13:59:45 +02:00
Jakub Neander
fb51d2fbf8
Merge pull request #6 from saleor/singature-verification-fixes
Fixing JWKS remove key resolving logic
2022-07-07 13:59:00 +02:00
Tomasz Magulski
0e1eb8f1e1 Fixing JWKS remove key resolving logic 2022-07-07 13:17:19 +02:00
Zaiste
8d75699f45
Release 0.6.0 2022-07-06 16:28:24 +02:00
Zaiste
391b5921f3
Update dependencies 2022-07-06 16:26:38 +02:00
Jakub Neander
dbceb3badb
Merge pull request #5 from saleor/webhook-signature-verification-middleware
Webhooks signature verification middleware
2022-07-06 16:17:20 +02:00
Tomasz Magulski
cc13260ef6 Webhooks signature verification middleware 2022-07-06 16:05:36 +02:00