Commit graph

215 commits

Author SHA1 Message Date
Lukasz Ostrowski
b91bbf3d4e Release 0.25.0 2022-12-12 11:53:21 +01:00
Lukasz Ostrowski
f612da9035
Add authenticated fetch (#138)
* Add authenticated fetch

* Add tests

* Update vitest

* setup node-fetch

* update lockfle

* change to global.fetch

* add mock fetch

* Change window.fetch to global.fetch
2022-12-12 11:47:23 +01:00
Krzysztof Wolski
e73b792496
Check app id during the registration (#136)
* Check the App ID before saving the auth data

* Update the test
2022-12-06 18:26:14 +01:00
Krzysztof Wolski
52c31f7d30
Add protected handler docs (#135) 2022-12-06 18:25:56 +01:00
Lukasz Ostrowski
f4bfec2b15 Release 0.24.0 2022-12-06 10:22:29 +01:00
Lukasz Ostrowski
95eac760ca
Add action that informs Dashboard that AppBridge is ready (#129)
* Add action that informs Dashboard that AppBridge is ready

* Allow AppBridge to disable automated notifyReady event

* Remove unused strategy field from RoutePropagator

* Apply suggestions from code review

Co-authored-by: Dawid <tarasiukdawid@gmail.com>

Co-authored-by: Dawid <tarasiukdawid@gmail.com>
2022-12-05 17:17:17 +01:00
Lukasz Ostrowski
b39081ed9a
Change AppBridge interval to timeout (#128) 2022-12-02 16:08:39 +01:00
Lukasz Ostrowski
063e56f345
Update app-bridge.ts (#127) 2022-12-01 10:17:02 +01:00
Krzysztof Wolski
7d7ff1e562 Release 0.24.0-0 2022-11-29 18:44:56 +01:00
Krzysztof Wolski
a0a19550c2
Add protected handlers for next (#121)
* Add protected handlers for next

* Remove unneeded awaits
2022-11-28 10:04:26 +01:00
Lukasz Ostrowski
d8b22bf583 Release 0.23.0 2022-11-23 17:45:11 +01:00
Lukasz Ostrowski
0d072d325c Fix npm bundle 2022-11-23 17:44:17 +01:00
Lukasz Ostrowski
a013457e02 Release 0.22.0 2022-11-23 17:40:51 +01:00
Lukasz Ostrowski
f4b0128175
Add links to docs from main readme (#123)
* Add links to docs from main readme

* Update README.md

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2022-11-23 14:58:38 +01:00
Lukasz Ostrowski
49b9c6e75b Release 0.21.0 2022-11-23 14:26:24 +01:00
Lukasz Ostrowski
0272a792c1
Copy readme on build (#119)
* test

* copy readme.md to dist folder
2022-11-23 13:17:17 +01:00
Lukasz Ostrowski
41fbca17f0 Release 0.21.0-0 2022-11-23 10:12:18 +01:00
Lukasz Ostrowski
ddd65dabf1
Add saleorApiUrl state param to AppBridge (#114)
* Add saleorApiUrl state param to AppBridge

* Apply payload verification check based on full api endpoint url

* Remove deprecation info

* Check if either domain or saleorApiUrl is provided
2022-11-23 10:08:04 +01:00
Lukasz Ostrowski
6fbf692a44
Add doc about SaleorAsyncWebhook (#109)
* Add doc about SaleorAsyncWebhook

* Apply suggestions from code review

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>

* Update docs/saleor-async-webhook.md

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2022-11-22 11:46:05 +01:00
Lukasz Ostrowski
6799c00098 Release 0.20.1 2022-11-22 09:53:11 +01:00
Lukasz Ostrowski
607fe73569
Update build config (#118)
* Ensure peer deps are excluded

* Release 0.20.1-0

* Change next router import to fix the build

* Release 0.20.1-1

* Restore releaseit config
2022-11-22 09:52:21 +01:00
Lukasz Ostrowski
030a65424c Release 0.20.0 2022-11-21 16:33:46 +01:00
Lukasz Ostrowski
9061c76df7
Install lint-staged in devDependency, so it doesnt require internet on precommit (#111) 2022-11-21 15:29:50 +01:00
Lukasz Ostrowski
b2acf676bc Release 0.20.0-0 2022-11-21 12:54:03 +01:00
Lukasz Ostrowski
b9aa9008e7
Add REST APL (#115)
* Add RestAPL

* Add docs
2022-11-21 11:32:36 +01:00
Lukasz Ostrowski
b4e0a053cb
Add routing changing actions and RoutePropagator (#110) 2022-11-21 11:32:18 +01:00
Łukasz Ostrowski
4ba2ada75c Release 0.19.0 2022-11-05 10:36:19 +01:00
Krzysztof Wolski
83ed6719d5
subscriptionQueryAst or query argument has to be specified for the event subscription (#107) 2022-11-05 10:35:01 +01:00
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