@forge/bridge
5.17.0-experimental-04cc2b95.18.0-next.0
out/invoke/invoke.js~
out/invoke/invoke.jsModified+3−2
Index: package/out/invoke/invoke.js
===================================================================
--- package/out/invoke/invoke.js
+++ package/out/invoke/invoke.js
@@ -1,8 +1,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-exports.invoke = invoke;
-exports.makeInvoke = makeInvoke;
+exports.makeInvoke = exports.invoke = void 0;
const bridge_1 = require("../bridge");
const errors_1 = require("../errors");
const utils_1 = require("../utils");
const callBridge = (0, bridge_1.getCallBridge)();
@@ -26,12 +25,14 @@
*/
function invoke(functionKey, payload) {
return limitedInvoke(functionKey, payload);
}
+exports.invoke = invoke;
/**
* Specialises the invoke function to a given Definitions type.
*
* @returns An invoke function that can be used to call backend functions.
*/
function makeInvoke() {
return invoke;
}
+exports.makeInvoke = makeInvoke;