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 |
|
Krzysztof Wolski
|
43f81f1af6
|
Introduce APL interface
|
2022-08-25 16:49:54 +02:00 |
|
Jonatan Witoszek
|
4ce0cd8d56
|
Add app manifest types
|
2022-08-25 15:40:59 +02:00 |
|
Lukasz Ostrowski
|
53561452d4
|
Fix constructuring url with missing referrer
|
2022-08-23 09:22:40 +02:00 |
|
Lukasz Ostrowski
|
ef5ad07c1e
|
Fix test
|
2022-08-22 15:53:03 +02:00 |
|
Lukasz Ostrowski
|
683f19b5c0
|
Add docs and test
|
2022-08-22 15:47:40 +02:00 |
|
Lukasz Ostrowski
|
c4d672683c
|
Fix exports
|
2022-08-22 11:37:42 +02:00 |
|
Lukasz Ostrowski
|
d445653c2d
|
Refactors and tests
|
2022-08-11 23:14:41 +02:00 |
|
Lukasz Ostrowski
|
983dba1126
|
Refactor app bridge state container
|
2022-08-11 22:19:11 +02:00 |
|
Lukasz Ostrowski
|
af68bedfb3
|
Tests for actions
|
2022-08-11 20:51:02 +02:00 |
|
Lukasz Ostrowski
|
8110818251
|
move app-bridge code and tests to app-sdk
|
2022-08-11 14:03:51 +02:00 |
|
Lukasz Ostrowski
|
c15caef702
|
Adds middleware test
|
2022-08-08 17:10:42 +02:00 |
|