@gem-sdk/core 2.2.0-staging.48 → 2.2.0-staging.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -39,7 +39,7 @@ const getAppBlockConfig = (tag, appBlockId, settings)=>{
39
39
  tag,
40
40
  widgetType
41
41
  });
42
- const settingByWidget = appSetting.composeSettingsByWidgetType[tag][settings?.widgetType];
42
+ const settingByWidget = appSetting.composeSettingsByWidgetType?.[tag]?.[widgetType];
43
43
  const appSettings = appSetting.overrideSettings(tag, settingByWidget, settings);
44
44
  return {
45
45
  key: appBlockId,
@@ -37,7 +37,7 @@ const getAppBlockConfig = (tag, appBlockId, settings)=>{
37
37
  tag,
38
38
  widgetType
39
39
  });
40
- const settingByWidget = composeSettingsByWidgetType[tag][settings?.widgetType];
40
+ const settingByWidget = composeSettingsByWidgetType?.[tag]?.[widgetType];
41
41
  const appSettings = overrideSettings(tag, settingByWidget, settings);
42
42
  return {
43
43
  key: appBlockId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "2.2.0-staging.48",
3
+ "version": "2.2.0-staging.50",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",