Commit graph

83 commits

Author SHA1 Message Date
ed04747def lint, fix redis creation 2023-10-04 17:28:33 +02:00
2c47290eff change redis for ioredis, add mocks during tests 2023-10-02 16:27:08 +02:00
2a1293ec7a add changeset 2023-09-30 22:26:03 +02:00
github-actions[bot]
3afdb4de64
Release to npm (#282)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Lukasz Ostrowski <lukasz.ostrowski@saleor.io>
2023-09-07 12:37:30 +02:00
dependabot[bot]
e04d6c0252
Bump semver from 5.7.1 to 5.7.2 (#270)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lukasz Ostrowski <lukasz.ostrowski@saleor.io>
2023-09-07 12:25:41 +02:00
Lukasz Ostrowski
8ff42af48c
Add missing entry point for generic typings (#284) 2023-09-07 12:18:37 +02:00
Lukasz Ostrowski
58e6129f13 Fix changeset severity 2023-09-06 09:46:26 +02:00
Lukasz Ostrowski
3e31b3a42f
Mark query in manifest required (#280)
* Mark query in manifest required

* Update tender-news-do.md
2023-09-06 09:30:56 +02:00
github-actions[bot]
64e97ffb2b
Release to npm (#278)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-04 14:42:25 +02:00
Lukasz Ostrowski
8db1d567ad
Update dependencies (#279) 2023-08-29 13:41:42 +02:00
Lukasz Ostrowski
357557a1f7
remove package json index and typings fields (#277)
* remove package json index and typings fields

* add missing util export

* Remove legacy util export
2023-08-24 13:18:37 +02:00
github-actions[bot]
5c56cf566d
Release to npm (#267)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-25 09:14:14 +02:00
Lukasz Ostrowski
1118ea9c0b
Added RequestPermission event (#261)
* add action

* add event

* changeset

* Remove eve

* remove event

* Cleanup

* remove commnets
2023-07-25 09:11:34 +02:00
github-actions[bot]
8eae1614f2
Release to npm (#266)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-24 15:57:10 +02:00
Lukasz Ostrowski
b8935a84c5
Expose headers file. Added AppPermissions extration into AppBridge (#265)
* Expose headers file. Added AppPermissions extration into appbridg

* fix imports
2023-07-24 13:45:57 +02:00
github-actions[bot]
2ddc7a36e4
Release to npm (#263)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-13 10:50:43 +02:00
Krzysztof Wolski
4b7875abaf
Update async events enum (#262)
* Update AsyncWebhookEventType enum

* Add changeset
2023-07-12 11:41:51 +02:00
github-actions[bot]
ec09ce9aa9
Release to npm (#259)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-27 17:23:25 +02:00
Lukasz Ostrowski
b365c7c830
Add saleor versions to app bridge (#260) 2023-06-22 15:46:16 +02:00
Lukasz Ostrowski
86d963e1e4
add request to createManifestHandler context (#258) 2023-06-22 11:32:11 +02:00
github-actions[bot]
989810fbc6
Release to npm (#256)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-14 15:49:35 +02:00
Lukasz Ostrowski
9fefd728a2
fixed duplicated ProtectedHandlerContext (#255) 2023-06-14 15:46:51 +02:00
github-actions[bot]
007d3a167e
Release to npm (#253)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-14 12:33:54 +02:00
Lukasz Ostrowski
1d08329651
Extend manifest to allow brand.logo.default field (#251)
* Extend manifest to allow brand.logo.default field

* Update grumpy-spies-sin.md
2023-06-14 12:30:43 +02:00
Lukasz Ostrowski
390fae2c97
Extend protectedHandler to contain user object with email and permissions (#252) 2023-06-13 14:52:53 +02:00
github-actions[bot]
215a410d58
Release to npm (#250)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-12 13:32:09 +02:00
Krzysztof Wolski
9056e7617a
Update async webhook enum (#249)
* Add new async webhook types to events enum

* Add changeset
2023-06-06 14:41:25 +02:00
github-actions[bot]
5e393d0137
Release to npm (#246)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-24 10:33:13 +02:00
Lukasz Ostrowski
1783f47b5d Add changeset to bump the version 2023-05-24 10:31:04 +02:00
github-actions[bot]
82cca4568a
Release to npm (#243)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-24 10:29:27 +02:00
Lukasz Ostrowski
f809368e4f
Add tokenRefresh event (#244)
* Add tokenRefresh event

* Create slow-oranges-serve.md

* update docs
2023-05-22 19:26:03 +02:00
Lukasz Ostrowski
d4169dc35a
Add delete method do settings manager and implement it metadata manager (#241)
* Add delete method do settings manager and implement it metadata manager

* Implement EncrypedMetadataManager.delete + changesets + docs

* Update src/settings-manager/metadata-manager.test.ts

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

* Fix test

---------

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2023-05-21 18:42:35 +02:00
github-actions[bot]
4e3bddabdd
Release to npm (#236)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-15 11:44:52 +02:00
Lukasz Ostrowski
c777275a64
Fix SaleorCloudAPL getAll method (#240)
* add debug log for not existing api url in register handler

* Fix SaleoCloudApl.getAll to map data properly
2023-05-15 11:43:04 +02:00
Lukasz Ostrowski
62e4c39335
Memo app bridge & improved registerHandler error message (#237)
* Add token exp validaiton

* revert lock

* Improved registerHandler error message and wrap useAuthenticatedFetch with memo
2023-05-08 09:29:47 +02:00
Lukasz Ostrowski
da351faae9
Add EXP field validation in JWT (#233)
* Add token exp validaiton

* revert lock
2023-04-26 14:09:50 +02:00
github-actions[bot]
463fffb66c
Release to npm (#232)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-26 13:40:05 +02:00
Lukasz Ostrowski
11b793be94
Change import from next/router to use wildcard (#234) 2023-04-26 13:38:13 +02:00
Lukasz Ostrowski
7c6c164a92
Improve debug logs in createAppRegisterHandler (#231) 2023-04-17 15:11:24 +02:00
github-actions[bot]
a7cad6a3ec
Release to npm (#226)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-14 12:07:54 +02:00
Krzysztof Wolski
5a68bec557
Fix data serialization in the UpstashAPL (#228) 2023-04-12 21:21:19 +02:00
Michał Miszczyszyn
5057d3491e
Support comma-delimited x-forwarded-proto (#227)
* Support comma-delimited x-forwarded-proto

* Changeset
2023-04-11 15:03:50 +02:00
Lukasz Ostrowski
ab24968b67
Require only partial of req - headers - in processProtectedHandler (#224)
* Require only partial of req - headers - in processProtectedHandler

* Update .changeset/tough-tips-judge.md

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

---------

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2023-04-11 10:55:51 +02:00
github-actions[bot]
73c9545f41
Release to npm (#223)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-31 14:11:05 +02:00
Michał Miszczyszyn
b108460435
Add types for payment webhooks (#212)
* Add types for payment webhooks

* Add transaction webhooks

* Update responses for transactions

* Create .changeset/gold-buses-warn.md

* Simplify returned values for some webhooks

* Update changesets

---------

Co-authored-by: Lukasz Ostrowski <lukasz@monolog.tech>
2023-03-30 14:23:12 +02:00
github-actions[bot]
0deb0fac22
Release to npm (#221)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-16 15:06:21 +01:00
Lukasz Ostrowski
96ffb925bd
Fix Permission / AppPermission (#220) 2023-03-16 15:03:35 +01:00
github-actions[bot]
7c790e44a2
Release to npm (#219)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-16 14:26:30 +01:00
Przemysław Łada
6e748e3c15
Add author field to AppManifest (#218)
* Add author field to AppManifest

* Create changeset/sharp-crabs-notice.md
2023-03-15 09:27:24 +01:00
github-actions[bot]
b49e901e4e
Release to npm (#217)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-14 14:14:23 +01:00