github-actions[bot]
463fffb66c
Release to npm ( #232 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-26 13:40:05 +02:00
Lukasz Ostrowski
11b793be94
Change import from next/router to use wildcard ( #234 )
2023-04-26 13:38:13 +02:00
Lukasz Ostrowski
7c6c164a92
Improve debug logs in createAppRegisterHandler ( #231 )
2023-04-17 15:11:24 +02:00
github-actions[bot]
a7cad6a3ec
Release to npm ( #226 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-14 12:07:54 +02:00
Krzysztof Wolski
5a68bec557
Fix data serialization in the UpstashAPL ( #228 )
2023-04-12 21:21:19 +02:00
Michał Miszczyszyn
5057d3491e
Support comma-delimited x-forwarded-proto ( #227 )
...
* Support comma-delimited x-forwarded-proto
* Changeset
2023-04-11 15:03:50 +02:00
Lukasz Ostrowski
ab24968b67
Require only partial of req - headers - in processProtectedHandler ( #224 )
...
* Require only partial of req - headers - in processProtectedHandler
* Update .changeset/tough-tips-judge.md
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
---------
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2023-04-11 10:55:51 +02:00
github-actions[bot]
73c9545f41
Release to npm ( #223 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-31 14:11:05 +02:00
Michał Miszczyszyn
b108460435
Add types for payment webhooks ( #212 )
...
* Add types for payment webhooks
* Add transaction webhooks
* Update responses for transactions
* Create .changeset/gold-buses-warn.md
* Simplify returned values for some webhooks
* Update changesets
---------
Co-authored-by: Lukasz Ostrowski <lukasz@monolog.tech>
2023-03-30 14:23:12 +02:00
github-actions[bot]
0deb0fac22
Release to npm ( #221 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-16 15:06:21 +01:00
Lukasz Ostrowski
96ffb925bd
Fix Permission / AppPermission ( #220 )
2023-03-16 15:03:35 +01:00
github-actions[bot]
7c790e44a2
Release to npm ( #219 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-16 14:26:30 +01:00
Przemysław Łada
6e748e3c15
Add author
field to AppManifest ( #218 )
...
* Add author field to AppManifest
* Create changeset/sharp-crabs-notice.md
2023-03-15 09:27:24 +01:00
Lukasz Ostrowski
bf926219bb
Update changelog
2023-03-14 14:20:13 +01:00
github-actions[bot]
b49e901e4e
Release to npm ( #217 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-14 14:14:23 +01:00
github-actions[bot]
f4e6bd6d18
Release to npm ( #216 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-14 13:43:15 +01:00
Lukasz Ostrowski
5744aa4ffd
Add requiredSaleorVersion field to AppManifest ( #186 )
...
* Add requiredSaleorVersion field to AppManifest
* Create .changeset/great-dogs-cheer.md
* Update types.ts
* Update src/types.ts
Co-authored-by: Przemysław Łada <przlada@gmail.com>
---------
Co-authored-by: Przemysław Łada <przlada@gmail.com>
2023-03-14 13:41:46 +01:00
Lukasz Ostrowski
f7d38dc8d7
Authenticated fetch update ( #215 )
...
* Remove MANAGE_APPS permission for available permission
* Fix missing header in useAuthenticatedFetch and add docs
* Update docs/protected-handlers.md
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
---------
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2023-03-14 12:31:11 +01:00
Lukasz Ostrowski
dfd632bb14
Add EnvAPL ( #213 )
...
* Add EnvAPL
* Add extra check for api url matching
* Add EnvAPL in exported files
* Change Apl to APL
* Change configured to always true
* Add readme
* Replace console table with log
2023-03-14 11:34:53 +01:00
Lukasz Ostrowski
f38f3f403b
Update saleor-webhook.md ( #214 )
2023-03-13 11:08:19 +01:00
Michał Miszczyszyn
ac8293a195
Update README.md ( #211 )
2023-03-10 08:33:26 +01:00
github-actions[bot]
0c063cc222
Release to npm ( #209 )
...
* Release to npm
* Update CHANGELOG.md
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Lukasz Ostrowski <lukasz.ostrowski@saleor.io>
2023-03-09 15:18:26 +01:00
Lukasz Ostrowski
5f9a3f9a49
Update prepare-release.yml
2023-03-09 15:17:43 +01:00
Lukasz Ostrowski
34e4350f7f
Update prepare-release.yml
2023-03-09 15:13:32 +01:00
Lukasz Ostrowski
1d7af07764
Remove @types/node-fetch dep ( #210 )
2023-03-09 14:01:01 +01:00
Hazem Khaled
3786c86506
Improve error messages in UpstashAPL ( #200 )
...
* Fix #199
Fix #199
* Throw formatted error on UpstashAPL error
* Create .changeset/big-beans-grab.md
---------
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Lukasz Ostrowski <lukasz@monolog.tech>
2023-03-09 08:59:35 +01:00
Lukasz Ostrowski
172de4a91a
Add feature request issue template ( #208 )
...
* Add feature request issue template
* Create .changeset/clean-hornets-tie.md
2023-03-07 12:37:38 +01:00
github-actions[bot]
c1913d9ede
Release to npm ( #207 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-07 12:28:23 +01:00
Lukasz Ostrowski
75eff60856
Changelog
2023-03-07 12:25:17 +01:00
Lukasz Ostrowski
e35d9c7fc1
Add comment to typed payload
2023-03-07 12:21:54 +01:00
Lukasz Ostrowski
0f750657cf
export SyncWebhookResponsesMap
2023-03-07 12:21:54 +01:00
github-actions[bot]
92ecc327a4
Release to npm ( #203 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-07 11:42:19 +01:00
Lukasz Ostrowski
f5643fba6b
Update expected payloads
2023-03-07 11:02:37 +01:00
Lukasz Ostrowski
ff65b615a8
Fix debug message for SaleorWebhook
2023-03-07 10:52:23 +01:00
Lukasz Ostrowski
a17232632c
Fix webhook legacy fields
2023-03-07 08:30:38 +01:00
Lukasz Ostrowski
4574178fff
Export NextWebhookApiHandler
2023-03-06 16:36:32 +01:00
Lukasz Ostrowski
15bacfeef1
Improve formatting for comments
2023-03-06 15:51:22 +01:00
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