@superblocksteam/library 2.0.41-next.8 → 2.0.41
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/index.d.ts.map +1 -1
- package/dist/index.js +205 -112
- package/dist/index.js.map +1 -1
- package/dist/root-store-DbFURfA3.js +4 -0
- package/dist/{root-store-D4uiJaOf.js → root-store-mvrXQD3h.js} +8 -4
- package/dist/{root-store-D4uiJaOf.js.map → root-store-mvrXQD3h.js.map} +1 -1
- package/package.json +3 -3
- package/dist/root-store-Q_vdc108.js +0 -4
|
@@ -993,7 +993,7 @@ var registry_default = EventRegistry;
|
|
|
993
993
|
|
|
994
994
|
//#endregion
|
|
995
995
|
//#region src/lib/triggers/run-event-handlers.ts
|
|
996
|
-
const getRootStore = () => import("./root-store-
|
|
996
|
+
const getRootStore = () => import("./root-store-DbFURfA3.js").then((module) => module.default);
|
|
997
997
|
const runEventHandlers = async ({ flow, name, scopeId, additionalContext }) => {
|
|
998
998
|
const context$1 = {
|
|
999
999
|
scopeId,
|
|
@@ -3716,7 +3716,7 @@ var ApiManager = class {
|
|
|
3716
3716
|
instanceId: oldName
|
|
3717
3717
|
});
|
|
3718
3718
|
}
|
|
3719
|
-
@action async runApi(apiName, scopeId,
|
|
3719
|
+
@action async runApi(apiName, scopeId, options = {}) {
|
|
3720
3720
|
await this.awaitInitApiIfNeeded();
|
|
3721
3721
|
const api = this.apisByName[scopeId][apiName];
|
|
3722
3722
|
editorBridge.setApiStarted(apiName);
|
|
@@ -3775,9 +3775,13 @@ var ApiManager = class {
|
|
|
3775
3775
|
}, "*");
|
|
3776
3776
|
});
|
|
3777
3777
|
if (authResult?.errors && authResult.errors.length > 0) console.error("API Authentication returned with errors", authResult.errors);
|
|
3778
|
+
const { traceHeaders,...restArgs } = options;
|
|
3778
3779
|
const syncResponse = await executeV2Api({
|
|
3779
3780
|
body: {
|
|
3780
|
-
inputs
|
|
3781
|
+
inputs: {
|
|
3782
|
+
...restArgs,
|
|
3783
|
+
...inputs
|
|
3784
|
+
},
|
|
3781
3785
|
fetchByPath: {
|
|
3782
3786
|
path: `/pages/${api.pageName}/apis/${apiName}/api.yaml`,
|
|
3783
3787
|
applicationId: this.rootStore.applicationId ?? "",
|
|
@@ -4556,4 +4560,4 @@ var root_store_default = new RootStore();
|
|
|
4556
4560
|
|
|
4557
4561
|
//#endregion
|
|
4558
4562
|
export { CLASS_NAMES, DEFAULT_ANONYMOUS_SOURCE_ID, DevTools, EventFlow, GLOBAL_SCOPE_ID, LazyFunction, NavigationEvent, Prop, PropsPanelCategory, RecordProp, Section, VALIDATORS, addNewPromise, colors, createInternalPropsList, createManagedPropsList, createPropertiesPanelDefinition, editorBridge, generateId, getEditStore, getName, iframeMessageHandler, isEditMode, isEmbeddedBySuperblocksFirstParty, isLocalLink, isName, isNameEqual, navigation, rejectById, resolveById, root_store_default, run_event_handlers_default, sendNotification, startEditorSync, system_error_default };
|
|
4559
|
-
//# sourceMappingURL=root-store-
|
|
4563
|
+
//# sourceMappingURL=root-store-mvrXQD3h.js.map
|