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
|
ff49281123
|
Change behavior when FileAPL reads file that doesnt exist to fallback value (#96)
|
2022-10-24 16:11:15 +02:00 |
|
Krzysztof Wolski
|
6fb103cb07
|
Add encrypted metadata manager (#84)
|
2022-10-18 13:38:00 +02:00 |
|
Krzysztof Żuraw
|
d7ccde30ee
|
feat: add getLayout to return type of withAuthorization (#82)
|
2022-10-13 09:22:49 +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
|
bb0786a544
|
Fix checking APL configuration state (#79)
|
2022-10-12 10:08:32 +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
|
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
|
ff0e25f8dd
|
Fix importing graphQL printer which failed inferWebhooks (#72)
|
2022-10-10 11:56:23 +02:00 |
|
Lukasz Ostrowski
|
1504036698
|
Fix export. Add async manifest factory (#67)
|
2022-10-05 15:07:07 +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
|
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
|
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 |
|
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
|
423495970b
|
Add additional test and fix debug message
|
2022-09-06 16:02:24 +02:00 |
|
Krzysztof Wolski
|
027b239114
|
Use APL debug util
|
2022-09-05 11:09:06 +02:00 |
|
Krzysztof Wolski
|
668b96ac4c
|
Update names to kebab case
|
2022-09-05 10:31:31 +02:00 |
|
Krzysztof Wolski
|
2fc57718a6
|
Code review changes
|
2022-09-05 10:18:12 +02:00 |
|
Krzysztof Wolski
|
3b81151cca
|
Rename helper function
|
2022-09-05 10:18:12 +02:00 |
|
Krzysztof Wolski
|
ace6efbdba
|
Change default file name for FileAPL
|
2022-09-05 10:18:12 +02:00 |
|
Krzysztof Wolski
|
6adabd1cba
|
Introduce debug namespaces
|
2022-09-05 10:18:12 +02:00 |
|
Krzysztof Wolski
|
5b7bb5d878
|
Add util function docstring
|
2022-09-05 10:18:12 +02:00 |
|
Krzysztof Wolski
|
b2f84b51c8
|
Reduce duplication in the test code
|
2022-09-05 10:18:12 +02:00 |
|
Krzysztof Wolski
|
10b3171b9d
|
Fix delete test
|
2022-09-05 10:18:12 +02:00 |
|
Krzysztof Wolski
|
b41f54ad4c
|
Split APL into single purpose ones, fix module export issue
|
2022-09-05 10:18:12 +02:00 |
|
Krzysztof Wolski
|
18bdeff68b
|
Add localEnv apl
|
2022-09-05 10:18:12 +02:00 |
|
Lukasz Ostrowski
|
47e7865dc5
|
Add debug messages to middlewares
Add debug messages to middlewares
Apply suggestions from code review
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
better debug messages
Add experimental debug middleware
|
2022-09-05 10:13:46 +02:00 |
|
Krzysztof Wolski
|
c745de5a2c
|
Ignore type warning on log message
|
2022-09-02 16:55:14 +02:00 |
|
Krzysztof Wolski
|
14b5fb6460
|
Mark event type as unknown
|
2022-09-02 16:53:40 +02:00 |
|
Krzysztof Wolski
|
eb062c6b10
|
Update types on headers util
|
2022-09-02 16:52:44 +02:00 |
|
Lukasz Ostrowski
|
69c985bdc1
|
Merge pull request #39 from saleor/change-debug-import
Change "debug" package import to use default
|
2022-08-30 11:56:57 +02:00 |
|
Krzysztof Wolski
|
9b541cf318
|
Merge pull request #36 from saleor/fix-manifest-type
Fix manifest type to use `asyncEvents` and `syncEvents`
|
2022-08-30 11:02:25 +02:00 |
|
Krzysztof Wolski
|
ff0a03c215
|
Fix export from new modules
|
2022-08-30 09:17:11 +02:00 |
|
Lukasz Ostrowski
|
d6366e2ef1
|
Change "debug" package import to use default
This is rquired because app-template broke when using app-sdk with previous
named import
|
2022-08-30 09:15:11 +02:00 |
|
Jonatan Witoszek
|
8ae80269ea
|
Fix manifest type to use asyncEvents and syncEvents
|
2022-08-29 14:53:20 +02:00 |
|
Lukasz Ostrowski
|
d087bbf2ed
|
Merge pull request #25 from saleor/merge-bridge
Include app-bridge package into app-sdk
|
2022-08-29 11:52:44 +02:00 |
|
Lukasz Ostrowski
|
915f6496f1
|
Fix legacy createApp factory to not override targetDomain
|
2022-08-29 09:01:16 +02:00 |
|
Krzysztof Wolski
|
4a514103b6
|
Merge pull request #32 from saleor/refactor-middlewares
Refactor and test middleware
|
2022-08-26 12:29:19 +02:00 |
|
Lukasz Ostrowski
|
6de0675784
|
Install debug package and add debug messages to AppBridge
|
2022-08-26 09:24:56 +02:00 |
|
Lukasz Ostrowski
|
710210cdf5
|
Merge branch 'main' into merge-bridge
|
2022-08-26 08:46:11 +02:00 |
|
Krzysztof Wolski
|
f84d53465f
|
Merge pull request #28 from saleor/apl-interface
Introduce APL interface
|
2022-08-25 19:45:40 +02:00 |
|
Krzysztof Wolski
|
e1dc4c0344
|
Test withAuthTokenRequired
|
2022-08-25 17:29:32 +02:00 |
|
Krzysztof Wolski
|
0882c7e408
|
Test withSaleorEventMatch
|
2022-08-25 17:22:53 +02:00 |
|
Krzysztof Wolski
|
d90abdceac
|
Test withSaleorDomainPresent
|
2022-08-25 17:10:49 +02:00 |
|
Krzysztof Wolski
|
158a40203e
|
Split middleware into separate files
|
2022-08-25 16:56:51 +02:00 |
|