Release to npm (#216)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2023-03-14 13:43:15 +01:00 committed by GitHub
parent 5744aa4ffd
commit f4e6bd6d18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 14 additions and 26 deletions

View file

@ -1,5 +0,0 @@
---
"@saleor/app-sdk": minor
---
Add EnvAPL which is a read-only single-tenant APL implementation. It can print AuthData from registration process, but the developer is responsible to configure ENV and pass data to the constructor.

View file

@ -1,5 +0,0 @@
---
"@saleor/app-sdk": minor
---
Added useAuthenticatedFetch hook with can construct decorated window.fetch with pre-defined headers with required AppBridge state. Can be used with createProtectedHandler

View file

@ -1,5 +0,0 @@
---
"@saleor/app-sdk": patch
---
"domain" field in AuthData is no longer required. It will be set by registerHandler, but if missing, domain can be resolved from saleorApiUrl

View file

@ -1,5 +0,0 @@
---
"@saleor/app-sdk": patch
---
JWKS field in AuthData is no longer required. registerHandler will try to set it for cache purposes, but not every time it is possible. If JWKS is not found, registerHandler will fetch it

View file

@ -1,5 +0,0 @@
---
"@saleor/app-sdk": patch
---
Remove MANAGE_APPS from possible permissions, because App should not have it. Mutations that requires MANAGE_APPS will not work with App Token even if permission is set

View file

@ -1,5 +1,18 @@
# @saleor/app-sdk # @saleor/app-sdk
## 0.35.0
### Minor Changes
- dfd632b: Add EnvAPL which is a read-only single-tenant APL implementation. It can print AuthData from registration process, but the developer is responsible to configure ENV and pass data to the constructor.
- f7d38dc: Added useAuthenticatedFetch hook with can construct decorated window.fetch with pre-defined headers with required AppBridge state. Can be used with createProtectedHandler
### Patch Changes
- dfd632b: "domain" field in AuthData is no longer required. It will be set by registerHandler, but if missing, domain can be resolved from saleorApiUrl
- dfd632b: JWKS field in AuthData is no longer required. registerHandler will try to set it for cache purposes, but not every time it is possible. If JWKS is not found, registerHandler will fetch it
- f7d38dc: Remove MANAGE_APPS from possible permissions, because App should not have it. Mutations that requires MANAGE_APPS will not work with App Token even if permission is set
## 0.34.2 ## 0.34.2
### Patch Changes ### Patch Changes

View file

@ -1,6 +1,6 @@
{ {
"name": "@saleor/app-sdk", "name": "@saleor/app-sdk",
"version": "0.34.2", "version": "0.35.0",
"description": "SDK for building great Saleor Apps", "description": "SDK for building great Saleor Apps",
"types": "index.d.ts", "types": "index.d.ts",
"main": "index.js", "main": "index.js",