Commit graph

154 commits

Author SHA1 Message Date
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
e573bd1c11 Release 0.28.0 2023-02-07 11:50:58 +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
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
75eacaf49c
Bump vitest version (#157) 2023-01-23 09:35:49 +01:00
Lukasz Ostrowski
62a9c2b11f Release 0.26.1 2023-01-19 12:03:47 +01:00
Krzysztof Wolski
32c81446d1 Release 0.26.0 2023-01-13 17:33:25 +01:00
Krzysztof Wolski
715eb6abf0 Release 0.26.0-4 2023-01-13 16:37:00 +01:00
Krzysztof Wolski
99d7ac58e9 Release 0.26.0-3 2023-01-12 16:13:58 +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
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
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
Lukasz Ostrowski
f4bfec2b15 Release 0.24.0 2022-12-06 10:22:29 +01:00
Krzysztof Wolski
7d7ff1e562 Release 0.24.0-0 2022-11-29 18:44:56 +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
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
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
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
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
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
Krzysztof Wolski
f17e0a3d3d Release 0.16.0 2022-10-18 16:04:38 +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 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
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
658e7f0a23 Release 0.13.1 2022-10-11 16:10:56 +02:00
Lukasz Ostrowski
9dbb6cfceb Release 0.13.0 2022-10-11 09:41:35 +02:00
Lukasz Ostrowski
61f5ab6c3a Release 0.12.2 2022-10-10 11:59:38 +02:00
Lukasz Ostrowski
13776c65c1 Release 0.12.1 2022-10-05 15:09:06 +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
910b50a18a Release 0.11.0-0 2022-09-13 15:20:09 +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
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
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
Krzysztof Wolski
3651797c10 Release 0.10.0-0 2022-09-05 13:07:31 +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
0bd2be9a5f Release 0.9.1 2022-09-01 15:42:59 +02:00
Krzysztof Wolski
2f4efb5b10 Release 0.9.0 2022-09-01 12:26:14 +02:00
Krzysztof Wolski
0c4cabe229 Remove release-it/bumper package and bump release it version 2022-09-01 12:20:52 +02:00
Lukasz Ostrowski
ded5b5d955 Remove np package
0.9.0-0

Publish dist folder

cancel dist contents

0.9.0-1

Fix package dist exports

0.9.0-2

debug np

Bump version

Remove np package

rollback npm version
2022-09-01 09:39:05 +02:00
Lukasz Ostrowski
9602422dbe Install release-it 2022-08-30 11:55:37 +02:00
Krzysztof Wolski
ff0a03c215 Fix export from new modules 2022-08-30 09:17:11 +02:00
Lukasz Ostrowski
6de0675784 Install debug package and add debug messages to AppBridge 2022-08-26 09:24:56 +02:00
Lukasz Ostrowski
a627e876ad install debug pakcage 2022-08-26 09:06:49 +02:00
Lukasz Ostrowski
710210cdf5 Merge branch 'main' into merge-bridge 2022-08-26 08:46:11 +02:00
Krzysztof Wolski
43f81f1af6 Introduce APL interface 2022-08-25 16:49:54 +02:00
Lukasz Ostrowski
8110818251 move app-bridge code and tests to app-sdk 2022-08-11 14:03:51 +02:00
Zaiste
e12156d988
Update dependencies 2022-08-10 10:59:48 +02:00
Krzysztof Wolski
215545aec5 Drop unused package watchlist 2022-08-09 19:21:23 +02:00
Krzysztof Wolski
0524013a42
Merge pull request #20 from saleor/test-setup
Setup test with Vitest + example tests + CICD
2022-08-08 19:46:19 +02:00
Krzysztof Wolski
849302b740 Release 0.8.0 2022-08-08 15:55:49 +02:00
Lukasz Ostrowski
758e8646fc Install vitest, remove uvu 2022-08-08 14:57:00 +02:00
Krzysztof Wolski
60d824e351 Bump tsup and use it for the watch mode 2022-07-29 15:52:31 +02:00
Krzysztof Wolski
c48f02ca6f Configure eslint ts parser 2022-07-22 18:16:08 +02:00
Krzysztof Wolski
ebb0cfa01a Add husky/lint-staged 2022-07-20 16:33:03 +02:00
Krzysztof Wolski
e535b66b4a Add code formatting 2022-07-20 16:01:20 +02:00
Zaiste
c6307a8c1b
Release 0.7.0 2022-07-14 14:42:16 +02:00
Zaiste
41a4139943
Update dependencies 2022-07-14 14:41:37 +02:00
Zaiste
7a04785dcf
Release 0.6.1 2022-07-07 13:59:45 +02:00
Tomasz Magulski
0e1eb8f1e1 Fixing JWKS remove key resolving logic 2022-07-07 13:17:19 +02:00
Zaiste
8d75699f45
Release 0.6.0 2022-07-06 16:28:24 +02:00
Zaiste
391b5921f3
Update dependencies 2022-07-06 16:26:38 +02:00
Tomasz Magulski
cc13260ef6 Webhooks signature verification middleware 2022-07-06 16:05:36 +02:00
Zaiste
c3695a0cba
Release 0.5.0 2022-05-30 16:48:12 +02:00
Zaiste
11ab2af8cf
Fix the const subpath in exports 2022-05-30 16:14:54 +02:00
Zaiste
b71635a0f4
Release 0.4.1 2022-05-27 16:17:10 +02:00
Zaiste
38a5c33bd4
Release 0.4.0 2022-05-27 13:36:18 +02:00
Zaiste
9be9c1a6b2
Release 0.3.1 2022-05-26 22:51:28 +02:00
Zaiste
bbe8021be6
Release 0.3.0 2022-05-26 22:42:59 +02:00
Zaiste
2f70574b73
Release 0.2.0 2022-05-26 14:55:44 +02:00