Lukasz Ostrowski
9420209a2d
Add sync webhook ( #202 )
...
* Change process-async-saleor-webhook to process-saleor-webhook and add better debug logs
* Change processWebhook name
* wip
* Add base class structure
* refactor
* add sync payload builder
* wip
* wip
* Add some missing webhook responses
* Fix tests for Async version
* Fix tests
* Add MockAPL test util
* Refactor tests to use MockAPL
* Add test to sync webhook
* Restore legacy subscriptionQueryAst field for compatibility
* CR Fixes - TS type & event -> eventType
* Changelog, docs and remove old payment webhooks
* Apply suggestions from code review
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* Update src/handlers/next/saleor-webhooks/process-saleor-webhook.ts
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
---------
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2023-03-06 15:01:22 +01:00
github-actions[bot]
bc6e68db84
Release to npm ( #197 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-28 13:59:29 +01:00
Lukasz Ostrowski
e7b7badefd
Remove release-it
2023-02-27 18:40:22 +01:00
github-actions[bot]
c1c5dbe133
Release to npm ( #195 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-27 18:34:06 +01:00
github-actions[bot]
ae75fa3be4
Release to npm ( #194 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-27 18:29:49 +01:00
Lukasz Ostrowski
481cc55543
Try to fix workflow
2023-02-27 18:27:02 +01:00
github-actions[bot]
e71fa4c993
Release to npm ( #193 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-27 18:22:07 +01:00
github-actions[bot]
eda827847b
Release to npm ( #192 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-27 18:12:05 +01:00
github-actions[bot]
bea1e176c1
Release to npm ( #191 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-27 17:56:21 +01:00
github-actions[bot]
3d64c29ef1
Release to npm ( #190 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-27 17:38:36 +01:00
github-actions[bot]
2f5c44352e
Release to npm ( #189 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-27 17:30:29 +01:00
github-actions[bot]
e42d4b9d88
Release to npm ( #188 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-27 17:17:26 +01:00
Lukasz Ostrowski
8beab201be
Release 0.31.0
2023-02-27 14:37:43 +01:00
Lukasz Ostrowski
ff1d92a48a
Release 0.30.0
2023-02-26 18:38:10 +01:00
Lukasz Ostrowski
3292b5d172
Fix pnpm action
2023-02-15 11:54:44 +01:00
Lukasz Ostrowski
a6c26bbb6e
Release 0.29.0
2023-02-15 11:30:20 +01:00
Lukasz Ostrowski
cbe2710137
Release 0.29.0-1
2023-02-15 11:09:06 +01:00
Lukasz Ostrowski
dffd4f5318
Install changesets ( #179 )
...
* Install changesets
* Add CICD workflows
2023-02-15 09:29:12 +01:00
Lukasz Ostrowski
48350910bd
Release 0.29.0-0
2023-02-14 16:21:01 +01:00
Lukasz Ostrowski
652833146f
Expose verify-jwks and remove legacy domain usage instead of api url ( #173 )
...
* Expose verify-jwks and remove legacy domain usage instead of api url
* Update src/verify-signature.ts
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
---------
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2023-02-14 16:18:46 +01:00
Lukasz Ostrowski
e573bd1c11
Release 0.28.0
2023-02-07 11:50:58 +01:00
Lukasz Ostrowski
450a3ce741
Remove inferWebhooks ( #168 )
2023-02-07 08:04:39 +01:00
Krzysztof Wolski
5e6fb46efd
Release 0.27.1
2023-01-25 12:05:04 +01:00
Lukasz Ostrowski
6ffaba2dab
Allow setting initial theme from constructor in AppBridge ( #162 )
...
* Allow passing initial theme value, change initial notifyOnReady
* Update doc
2023-01-24 19:21:05 +01:00
Krzysztof Wolski
b32f1ff104
Release 0.27.0
2023-01-23 15:42:59 +01:00
Krzysztof Wolski
75eacaf49c
Bump vitest version ( #157 )
2023-01-23 09:35:49 +01:00
Lukasz Ostrowski
62a9c2b11f
Release 0.26.1
2023-01-19 12:03:47 +01:00
Krzysztof Wolski
32c81446d1
Release 0.26.0
2023-01-13 17:33:25 +01:00
Krzysztof Wolski
715eb6abf0
Release 0.26.0-4
2023-01-13 16:37:00 +01:00
Krzysztof Wolski
99d7ac58e9
Release 0.26.0-3
2023-01-12 16:13:58 +01:00
Krzysztof Wolski
887751a51e
Release 0.26.0-2
2023-01-12 13:50:39 +01:00
Krzysztof Wolski
1b5a152d1e
Export verify jwt ( #145 )
2023-01-12 13:49:59 +01:00
Krzysztof Wolski
9c344c1fcc
Release 0.26.0-1
2023-01-12 13:41:34 +01:00
Krzysztof Wolski
62bdb80385
Implement APL 2.0 ( #143 )
...
* Implement APL 2.0
* Rename RestAPL to SaleorCloud APL
* Add mapping helper
* Modify Saleor APL documentation
* Update rest of the docs
* Update the node version in actions
* Update fetch mock
* Remove node-fetch pkg
* Remove console log
* Update test after the rebase
2023-01-11 16:55:10 +01:00
Krzysztof Wolski
fcc7bbba1e
Release 0.25.1
2023-01-11 12:56:11 +01:00
Lukasz Ostrowski
b91bbf3d4e
Release 0.25.0
2022-12-12 11:53:21 +01:00
Lukasz Ostrowski
f612da9035
Add authenticated fetch ( #138 )
...
* Add authenticated fetch
* Add tests
* Update vitest
* setup node-fetch
* update lockfle
* change to global.fetch
* add mock fetch
* Change window.fetch to global.fetch
2022-12-12 11:47:23 +01:00
Lukasz Ostrowski
f4bfec2b15
Release 0.24.0
2022-12-06 10:22:29 +01:00
Krzysztof Wolski
7d7ff1e562
Release 0.24.0-0
2022-11-29 18:44:56 +01:00
Lukasz Ostrowski
d8b22bf583
Release 0.23.0
2022-11-23 17:45:11 +01:00
Lukasz Ostrowski
0d072d325c
Fix npm bundle
2022-11-23 17:44:17 +01:00
Lukasz Ostrowski
a013457e02
Release 0.22.0
2022-11-23 17:40:51 +01:00
Lukasz Ostrowski
49b9c6e75b
Release 0.21.0
2022-11-23 14:26:24 +01:00
Lukasz Ostrowski
0272a792c1
Copy readme on build ( #119 )
...
* test
* copy readme.md to dist folder
2022-11-23 13:17:17 +01:00
Lukasz Ostrowski
41fbca17f0
Release 0.21.0-0
2022-11-23 10:12:18 +01:00
Lukasz Ostrowski
6799c00098
Release 0.20.1
2022-11-22 09:53:11 +01:00
Lukasz Ostrowski
607fe73569
Update build config ( #118 )
...
* Ensure peer deps are excluded
* Release 0.20.1-0
* Change next router import to fix the build
* Release 0.20.1-1
* Restore releaseit config
2022-11-22 09:52:21 +01:00
Lukasz Ostrowski
030a65424c
Release 0.20.0
2022-11-21 16:33:46 +01:00
Lukasz Ostrowski
9061c76df7
Install lint-staged in devDependency, so it doesnt require internet on precommit ( #111 )
2022-11-21 15:29:50 +01:00
Lukasz Ostrowski
b2acf676bc
Release 0.20.0-0
2022-11-21 12:54:03 +01:00