@pulse-editor/react-api 0.1.1-beta.77 → 0.1.1-beta.78

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.
package/dist/main.js CHANGED
@@ -6223,8 +6223,8 @@ function useOwnedAppView() {
6223
6223
  const runAppAction = useCallback(async (ownedAppViewModel, actionName, args) => {
6224
6224
  if (isReady) {
6225
6225
  const appViewId = ownedAppViewModel.viewId;
6226
- const preRegisteredActions = ownedAppViewModel.appConfig.preRegisteredActions || [];
6227
- const action = preRegisteredActions.find((a) => a.name === actionName);
6226
+ const skillActions = ownedAppViewModel.appConfig.actions || [];
6227
+ const action = skillActions.find((a) => a.name === actionName);
6228
6228
  if (!action) {
6229
6229
  throw new Error(`Action ${actionName} not found in owned app ${ownedAppViewModel.appConfig.id}`);
6230
6230
  }