@superblocksteam/library 2.0.96-next.0 → 2.0.97-next.0

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.
@@ -1,4 +1,4 @@
1
- import { _ as root_store_default, t as makeWrappedComponent, x as api_hmr_tracker_default } from "../jsx-wrapper-DdcywsRY.js";
1
+ import { _ as root_store_default, t as makeWrappedComponent, x as api_hmr_tracker_default } from "../jsx-wrapper-esyZ2hyZ.js";
2
2
  import { SOURCE_ID_ATTRIBUTE } from "@superblocksteam/library-shared";
3
3
  import * as ReactJsxDevRuntime from "react/jsx-dev-runtime";
4
4
 
@@ -2585,7 +2585,10 @@ var ApiManager = class {
2585
2585
  entryPoint
2586
2586
  };
2587
2587
  if (profile) body.profile = profile;
2588
- if (editMode$1 && branchName) body.branchName = branchName;
2588
+ if (editMode$1) {
2589
+ if (branchName) body.branchName = branchName;
2590
+ body.includeDiagnostics = true;
2591
+ }
2589
2592
  if (!editMode$1 && commitId) body.commitId = commitId;
2590
2593
  try {
2591
2594
  const response = await fetch(`${agentBaseUrl}v3/execute`, {
@@ -2621,11 +2624,13 @@ var ApiManager = class {
2621
2624
  error: {
2622
2625
  code: "EXECUTION_ERROR",
2623
2626
  message: result.errors[0].message
2624
- }
2627
+ },
2628
+ diagnostics: result.diagnostics
2625
2629
  };
2626
2630
  return {
2627
2631
  success: true,
2628
- output: result.output?.result
2632
+ output: result.output?.result,
2633
+ diagnostics: result.diagnostics
2629
2634
  };
2630
2635
  } catch (error) {
2631
2636
  return {
@@ -3958,4 +3963,4 @@ const useJSXContext = () => {
3958
3963
 
3959
3964
  //#endregion
3960
3965
  export { useSuperblocksProfiles as A, createManagedPropsList as B, rejectById as C, useSuperblocksContext as D, getAppMode as E, editorBridge as F, getEditStore as G, PropsCategory as H, iframeMessageHandler as I, isEmbeddedBySuperblocksFirstParty as L, generateId as M, sendNotification as N, useSuperblocksDataTags as O, colors as P, sendMessageImmediately as R, addNewPromise as S, SuperblocksContextProvider as T, Section as U, Prop as V, createPropertiesPanelDefinition as W, root_store_default as _, FixWithClarkButton as a, getContextFromTraceHeaders as b, ErrorContent as c, ErrorMessage as d, ErrorStack as f, StyledClarkIcon as g, SecondaryButton as h, getWidgetRectAnchorName as i, useSuperblocksUser as j, useSuperblocksGroups as k, ErrorDetails as l, ErrorTitle as m, useJSXContext as n, ActionsContainer as o, ErrorSummary as p, getWidgetAnchorName as r, ErrorContainer as s, makeWrappedComponent as t, ErrorIconContainer as u, startEditorSync as v, resolveById as w, api_hmr_tracker_default as x, createIframeSpan as y, isEditMode as z };
3961
- //# sourceMappingURL=jsx-wrapper-DdcywsRY.js.map
3966
+ //# sourceMappingURL=jsx-wrapper-esyZ2hyZ.js.map