Change AppBridge default autoNotifyReady to true (#185)
* Change AppBridge default autoNotifyReady to true * Add changeset
This commit is contained in:
parent
8beab201be
commit
9e22a49acc
2 changed files with 8 additions and 1 deletions
7
.changeset/sharp-yaks-rush.md
Normal file
7
.changeset/sharp-yaks-rush.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
"@saleor/app-sdk": minor
|
||||
---
|
||||
|
||||
Change default behaviour of autoNotifyReady option in AppBridge constructor to be "true"
|
||||
|
||||
This behavior is required by dashboard to send token in handshake in the response
|
|
@ -118,7 +118,7 @@ const getDefaultOptions = (): AppBridgeOptions => ({
|
|||
targetDomain: getDomainFromUrl(),
|
||||
saleorApiUrl: getSaleorApiUrlFromUrl(),
|
||||
initialLocale: getLocaleFromUrl() ?? "en",
|
||||
autoNotifyReady: false,
|
||||
autoNotifyReady: true,
|
||||
initialTheme: getThemeFromUrl() ?? undefined,
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue