Lukasz Ostrowski
256d17bc23
Add npm token to workflow
2023-03-06 15:42:37 +01:00
Lukasz Ostrowski
4de957e5b3
Improve the workflow
2023-03-06 15:35:50 +01:00
Lukasz Ostrowski
17428c8a3b
Run publish to @dev tag in npm on each commit
2023-03-06 15:31:49 +01:00
Lukasz Ostrowski
b79c188cfd
dry-run app-sdk snapshot
2023-03-06 15:24:15 +01:00
Lukasz Ostrowski
1f4bb64a3e
Fix test
2023-03-06 15:06:10 +01:00
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
a939281e98
Improve register handler errors API ( #201 )
2023-02-28 13:54:58 +01:00
Hazem Khaled
5a93a166ab
typo: UpstashAPL need restURL not restUrl ( #196 )
...
* typo restURL not restUrl
* Create .changeset/wild-suits-hug.md
---------
Co-authored-by: Lukasz Ostrowski <lukasz@monolog.tech>
2023-02-27 20:41:06 +01:00
Lukasz Ostrowski
aa6fbaf2ec
Restore previous setup
2023-02-27 18:53:51 +01:00
Lukasz Ostrowski
ee80d38390
Add env to publish step
2023-02-27 18:49:48 +01:00
Lukasz Ostrowski
9db4eee700
Fix workflow
2023-02-27 18:46:13 +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
Lukasz Ostrowski
8be1d39bdf
fix scirpt
2023-02-27 18:32:16 +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
Lukasz Ostrowski
bf5764fa73
Change how tagging works
2023-02-27 18:19:30 +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
Lukasz Ostrowski
5b5e6821be
Run tags publish only after changesets publish
2023-02-27 18:09:36 +01:00
Lukasz Ostrowski
5b7f3cf539
Fix worfklow tag creation
2023-02-27 18:05:29 +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
Lukasz Ostrowski
cce32fbbf3
Fix workflow tags
2023-02-27 17:54:07 +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
Lukasz Ostrowski
d83c7ab09b
fix publishing workflow
2023-02-27 17:36:23 +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
Lukasz Ostrowski
cd25a3bb0e
Enable npm publish on changeset
2023-02-27 17:27:33 +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
0868baaa05
Enable dry run publish
2023-02-27 17:14:12 +01:00
Lukasz Ostrowski
9e22a49acc
Change AppBridge default autoNotifyReady to true ( #185 )
...
* Change AppBridge default autoNotifyReady to true
* Add changeset
2023-02-27 16:39:01 +01:00
Lukasz Ostrowski
8beab201be
Release 0.31.0
2023-02-27 14:37:43 +01:00
Lukasz Ostrowski
195f2d9127
Add hooks to createAppRegsiterHandler ( #183 )
...
* Add hooks to createAppRegsiterHandler
* Add error handling and flatten structure
* Add tests
* Add docs
* CR suggestions applied
* Update docs
2023-02-27 14:36:22 +01:00
Lukasz Ostrowski
ff1d92a48a
Release 0.30.0
2023-02-26 18:38:10 +01:00
Hazem Khaled
b743987e4a
Import types from the right path ( #184 )
2023-02-26 18:37:19 +01:00
Lukasz Ostrowski
020d6aaa39
Remove Vercel APL ( #170 )
2023-02-26 18:35:04 +01:00
Lukasz Ostrowski
745cb49cbf
Add note about protected handler ( #182 )
2023-02-20 10:50:33 +01:00
Lukasz Ostrowski
258a203c5c
Update README.md
2023-02-15 12:07:55 +01:00
Lukasz Ostrowski
d86bbb85fa
Disabled dry run push
2023-02-15 12:06:39 +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
70719324f8
Setup pnpm action in release workflow ( #181 )
2023-02-15 11:08:22 +01:00
Lukasz Ostrowski
4f9c9c2816
Add req and res to onError callback for AsyncWebhook ( #180 )
2023-02-15 11:08:09 +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
ea65d37474
Add better error handling for async webhook factory ( #176 )
...
* Add better error handling for async webhook factory
* Add docs, make formatter function async
* Add docs, make formatter function async
2023-02-14 16:19:07 +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
a15d72602f
Add more debug messages to SaleorCloudAPL ( #175 )
...
* Add more debug messages to SaleorCloudAPL
* Refactor error message extraction
2023-02-14 13:00:46 +01:00
Lukasz Ostrowski
24778df592
Add strict type literal unions for Sync and Async Events enums ( #174 )
...
* Add strict type literal unions for Sync and Async Events enums
* Fix manifest structure
2023-02-14 12:46:29 +01:00