Hazem Khaled
b743987e4a
Import types from the right path ( #184 )
2023-02-26 18:37:19 +01:00
Lukasz Ostrowski
020d6aaa39
Remove Vercel APL ( #170 )
2023-02-26 18:35:04 +01:00
Lukasz Ostrowski
745cb49cbf
Add note about protected handler ( #182 )
2023-02-20 10:50:33 +01:00
Lukasz Ostrowski
258a203c5c
Update README.md
2023-02-15 12:07:55 +01:00
Lukasz Ostrowski
d86bbb85fa
Disabled dry run push
2023-02-15 12:06:39 +01:00
Lukasz Ostrowski
3292b5d172
Fix pnpm action
2023-02-15 11:54:44 +01:00
Lukasz Ostrowski
a6c26bbb6e
Release 0.29.0
2023-02-15 11:30:20 +01:00
Lukasz Ostrowski
cbe2710137
Release 0.29.0-1
2023-02-15 11:09:06 +01:00
Lukasz Ostrowski
70719324f8
Setup pnpm action in release workflow ( #181 )
2023-02-15 11:08:22 +01:00
Lukasz Ostrowski
4f9c9c2816
Add req and res to onError callback for AsyncWebhook ( #180 )
2023-02-15 11:08:09 +01:00
Lukasz Ostrowski
dffd4f5318
Install changesets ( #179 )
...
* Install changesets
* Add CICD workflows
2023-02-15 09:29:12 +01:00
Lukasz Ostrowski
48350910bd
Release 0.29.0-0
2023-02-14 16:21:01 +01:00
Lukasz Ostrowski
ea65d37474
Add better error handling for async webhook factory ( #176 )
...
* Add better error handling for async webhook factory
* Add docs, make formatter function async
* Add docs, make formatter function async
2023-02-14 16:19:07 +01:00
Lukasz Ostrowski
652833146f
Expose verify-jwks and remove legacy domain usage instead of api url ( #173 )
...
* Expose verify-jwks and remove legacy domain usage instead of api url
* Update src/verify-signature.ts
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
---------
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2023-02-14 16:18:46 +01:00
Lukasz Ostrowski
a15d72602f
Add more debug messages to SaleorCloudAPL ( #175 )
...
* Add more debug messages to SaleorCloudAPL
* Refactor error message extraction
2023-02-14 13:00:46 +01:00
Lukasz Ostrowski
24778df592
Add strict type literal unions for Sync and Async Events enums ( #174 )
...
* Add strict type literal unions for Sync and Async Events enums
* Fix manifest structure
2023-02-14 12:46:29 +01:00
Lukasz Ostrowski
e573bd1c11
Release 0.28.0
2023-02-07 11:50:58 +01:00
Lukasz Ostrowski
7413de221b
Add user email and permissions to app bridge ( #167 )
...
* Add user email and permissions to app bridge
* Update src/app-bridge/app-bridge-state.ts
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* Fix permissions name
---------
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2023-02-07 09:30:46 +01:00
Lukasz Ostrowski
450a3ce741
Remove inferWebhooks ( #168 )
2023-02-07 08:04:39 +01:00
Krzysztof Wolski
5e6fb46efd
Release 0.27.1
2023-01-25 12:05:04 +01:00
Krzysztof Wolski
bb3396dde6
Permission check for the protected handler ( #161 )
...
* Permission check for the protected handler
* Add tests
2023-01-25 12:00:22 +01:00
Lukasz Ostrowski
6ffaba2dab
Allow setting initial theme from constructor in AppBridge ( #162 )
...
* Allow passing initial theme value, change initial notifyOnReady
* Update doc
2023-01-24 19:21:05 +01:00
Krzysztof Wolski
b32f1ff104
Release 0.27.0
2023-01-23 15:42:59 +01:00
Krzysztof Wolski
51284efa00
Handle missing encryption key for the EncryptedMetadataManager ( #159 )
...
* Handle missing encryption key for the EncryptedMetadataManager
* Fancy up the documentation
* Throw an error instead of process exit
2023-01-23 15:39:42 +01:00
Krzysztof Wolski
5a4d316228
Update the codeowners file ( #160 )
2023-01-23 14:41:15 +01:00
Krzysztof Wolski
75eacaf49c
Bump vitest version ( #157 )
2023-01-23 09:35:49 +01:00
Krzysztof Wolski
b84049246b
Use b64url and fix incoming data validation ( #156 )
2023-01-23 09:35:31 +01:00
Lukasz Ostrowski
74e3f40ca5
Update doc for register handler ( #151 )
2023-01-19 14:17:36 +01:00
Lukasz Ostrowski
62a9c2b11f
Release 0.26.1
2023-01-19 12:03:47 +01:00
Adrian Pilarczyk
db1cd13919
feat: 🏷️ add handle_taxes permission type ( #153 )
2023-01-19 12:02:46 +01:00
Krzysztof Wolski
32c81446d1
Release 0.26.0
2023-01-13 17:33:25 +01:00
Lukasz Ostrowski
67cded2e2a
Add optional URL protection to createRegisterHandler ( #148 )
...
* validateAllowSaleorUrls impl
* Implement in handler and add test
* update codeowners
* Apply suggestions from code review
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* Rename param
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2023-01-13 17:29:38 +01:00
Krzysztof Wolski
715eb6abf0
Release 0.26.0-4
2023-01-13 16:37:00 +01:00
Krzysztof Wolski
8dccb00edd
Fix CloudAPL response parsing ( #149 )
...
* Fix CloudAPL response parsing
* Mock signature fetch
2023-01-13 16:35:16 +01:00
Krzysztof Wolski
99d7ac58e9
Release 0.26.0-3
2023-01-12 16:13:58 +01:00
Krzysztof Wolski
bc622dd3e1
Rename api url field in the Cloud APL ( #146 )
2023-01-12 16:13:27 +01:00
Krzysztof Wolski
887751a51e
Release 0.26.0-2
2023-01-12 13:50:39 +01:00
Krzysztof Wolski
1b5a152d1e
Export verify jwt ( #145 )
2023-01-12 13:49:59 +01:00
Krzysztof Wolski
9c344c1fcc
Release 0.26.0-1
2023-01-12 13:41:34 +01:00
Krzysztof Wolski
c4fa6a1c05
Rename apiUrl to saleorApiUrl for consistency ( #144 )
2023-01-12 13:39:49 +01:00
Krzysztof Wolski
62bdb80385
Implement APL 2.0 ( #143 )
...
* Implement APL 2.0
* Rename RestAPL to SaleorCloud APL
* Add mapping helper
* Modify Saleor APL documentation
* Update rest of the docs
* Update the node version in actions
* Update fetch mock
* Remove node-fetch pkg
* Remove console log
* Update test after the rebase
2023-01-11 16:55:10 +01:00
Krzysztof Wolski
fcc7bbba1e
Release 0.25.1
2023-01-11 12:56:11 +01:00
Krzysztof Wolski
58244a465f
Restrict VercelAPL reinstallations to the same domain ( #141 )
2022-12-19 13:44:08 +01:00
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