@superblocksteam/library 2.0.96 → 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.
- package/dist/jsx-dev-runtime/index.js +1 -1
- package/dist/{jsx-wrapper-DdcywsRY.js → jsx-wrapper-esyZ2hyZ.js} +9 -4
- package/dist/jsx-wrapper-esyZ2hyZ.js.map +1 -0
- package/dist/lib/index.d.ts +28 -27
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/index.js +116 -21
- package/dist/lib/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/jsx-wrapper-DdcywsRY.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as root_store_default, t as makeWrappedComponent, x as api_hmr_tracker_default } from "../jsx-wrapper-
|
|
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
|
|
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-
|
|
3966
|
+
//# sourceMappingURL=jsx-wrapper-esyZ2hyZ.js.map
|