Commit graph

337 commits

Author SHA1 Message Date
Krzysztof Wolski
33d7666c7d
Improve debug messages for async webhook handler (#105) 2022-11-03 19:44:54 +01:00
Krzysztof Wolski
7abad6a3d8 Release 0.19.0-0 2022-11-03 13:09:17 +01:00
Krzysztof Wolski
e439438d8f
Add functions to process the Saleor webhooks (#100)
* Add functions to process the saleor webhooks

Co-authored-by: Lukasz Ostrowski <lukasz.ostrowski@saleor.io>
2022-11-03 13:05:28 +01:00
Krzysztof Wolski
6e389db9be
Remove variables from the env if are already existing (#103) 2022-11-02 14:18:27 +01:00
Lukasz Ostrowski
918956bdd6 Release 0.18.0 2022-10-26 12:51:09 +02:00
Lukasz Ostrowski
399102375a
Remove index export (#98)
* Remove index export

* Add export of saleor-app

* Add export of infer webhooks
2022-10-26 10:54:18 +02:00
Lukasz Ostrowski
f90bb0eb1d Release 0.17.0 2022-10-24 16:12:51 +02:00
Lukasz Ostrowski
ff49281123
Change behavior when FileAPL reads file that doesnt exist to fallback value (#96) 2022-10-24 16:11:15 +02:00
Krzysztof Wolski
f17e0a3d3d Release 0.16.0 2022-10-18 16:04:38 +02:00
Krzysztof Wolski
6fb103cb07
Add encrypted metadata manager (#84) 2022-10-18 13:38:00 +02:00
Lukasz Ostrowski
aac0b42c6e Release 0.15.0 2022-10-17 12:09:34 +02:00
Michał Miszczyszyn
8465582166
Downgrade node-fetch to maintain compatibility with commonjs (#85) 2022-10-17 12:08:26 +02:00
Krzysztof Żuraw
d7ccde30ee
feat: add getLayout to return type of withAuthorization (#82) 2022-10-13 09:22:49 +02:00
Krzysztof Wolski
e11b8f956b Release 0.14.1 2022-10-12 16:00:03 +02:00
Krzysztof Wolski
7d9688aa79
Release 0.14.0 (#81) 2022-10-12 15:54:56 +02:00
Lukasz Ostrowski
ed9c94299e
Add isReady and isConfigured docs to APL section (#80) 2022-10-12 15:16:36 +02:00
Krzysztof Wolski
bec148e696
Add Upstash APL (#78) 2022-10-12 15:13:57 +02:00
Krzysztof Wolski
be79af2d63
Add metadata manager (#73)
* Add metadata manager
2022-10-12 13:28:00 +02:00
Lukasz Ostrowski
dee16cea40 Release 0.13.2 2022-10-12 10:09:37 +02:00
Lukasz Ostrowski
bb0786a544
Fix checking APL configuration state (#79) 2022-10-12 10:08:32 +02:00
Lukasz Ostrowski
d81e61d3f6
Update apl.md (#77) 2022-10-11 19:12:46 +02:00
Lukasz Ostrowski
658e7f0a23 Release 0.13.1 2022-10-11 16:10:56 +02:00
Lukasz Ostrowski
aa4d55b83d
Disable token iss validation (#75)
* Disable token iss validation

* Disable VercelApl constructor validation
2022-10-11 16:09:29 +02:00
Lukasz Ostrowski
9dbb6cfceb Release 0.13.0 2022-10-11 09:41:35 +02:00
Lukasz Ostrowski
a839314f08
Add central SaleorApp instance (#71)
* Add SaleorApp class

* Add middleware and tests

* Move APL validation to APL

* Fix test

* Add prepush hook

* Add better error for missing vercel envs

* Add test
2022-10-11 09:40:08 +02:00
Lukasz Ostrowski
61f5ab6c3a Release 0.12.2 2022-10-10 11:59:38 +02:00
Lukasz Ostrowski
ff0e25f8dd
Fix importing graphQL printer which failed inferWebhooks (#72) 2022-10-10 11:56:23 +02:00
Lukasz Ostrowski
390143db17
Update api-handlers.md (#68) 2022-10-05 15:41:27 +02:00
Lukasz Ostrowski
13776c65c1 Release 0.12.1 2022-10-05 15:09:06 +02:00
Lukasz Ostrowski
1504036698
Fix export. Add async manifest factory (#67) 2022-10-05 15:07:07 +02:00
Lukasz Ostrowski
9b5ed6471d
Add doc about protected views (#66) 2022-10-05 14:56:22 +02:00
Lukasz Ostrowski
3730dbaa67 Release 0.12.0 2022-10-05 13:13:22 +02:00
Lukasz Ostrowski
864ca16f78
Auth features (#64)
* Add useDashboardToken to app bridge module

* Add authorization HOC

* Fixes
2022-10-05 13:12:19 +02:00
Lukasz Ostrowski
0352356fd3
Add Handler factories (#61)
* Add createManifestHandler

* Add register handler factory

* Add docs to handlers factory

* Improve tsup configuration (select entry points)

* Reexport symbols from index

* Improve tests
2022-09-21 11:25:01 +02:00
Lukasz Ostrowski
df504ecd29
Setup code coverage report to github action (#62) 2022-09-16 11:01:02 +02:00
Lukasz Ostrowski
117b1e6068 Release 0.11.0 2022-09-14 14:56:09 +02:00
Lukasz Ostrowski
126e949366
Detect locale param from URL in AppBridge (#58)
* Detect locale param from URL in AppBridge

* Add docs
2022-09-14 14:21:53 +02:00
Lukasz Ostrowski
910b50a18a Release 0.11.0-0 2022-09-13 15:20:09 +02:00
Lukasz Ostrowski
d4670b048c
Fix tests and strong-type locales (#57)
* Add new event type

* Add state handling for locale change

* Add strongly typed language codes

* fix tests
2022-09-13 15:15:52 +02:00
Lukasz Ostrowski
cc18c3deac
Add AppBridgeProvider and events factory (#51)
* Add events factory

* Add AppBridgeProvider

* Rewrite useAppBridge, add tests
2022-09-13 12:00:02 +02:00
Lukasz Ostrowski
ac6900f35f
Add support for locale change (#55)
* Add new event type

* Add state handling for locale change
2022-09-13 11:59:30 +02:00
Jakub Neander
aaab88b9ae
Update dependencies (#48)
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2022-09-12 14:58:47 +02:00
Krzysztof Wolski
70d3a17c7c Release 0.10.0 2022-09-12 11:32:06 +02:00
Krzysztof Wolski
fdff68802b Release 0.10.0-2 2022-09-07 17:35:24 +02:00
Krzysztof Wolski
a50b055c7c
Fix Vercel APL set method + add tests for it (#52)
* Fix Vercel APL set method + add tests for it
2022-09-07 17:33:48 +02:00
Lukasz Ostrowski
88119aa515
Merge pull request #50 from saleor/extra-test-and-debug
Add additional test and fix debug message
2022-09-06 16:06:37 +02:00
Lukasz Ostrowski
423495970b Add additional test and fix debug message 2022-09-06 16:02:24 +02:00
Krzysztof Wolski
3757f9abaa Release 0.10.0-1 2022-09-05 16:40:03 +02:00
Krzysztof Wolski
74e4df4bbe Add clean script 2022-09-05 16:38:57 +02:00
Krzysztof Wolski
ab4ba4c5c4 Fix paths to dist package 2022-09-05 16:27:14 +02:00