@forge/bridge
6.0.0-next.36.0.0-next.4
out/invoke/invoke.js~
out/invoke/invoke.jsModified+2−3
Index: package/out/invoke/invoke.js
===================================================================
--- package/out/invoke/invoke.js
+++ package/out/invoke/invoke.js
@@ -1,7 +1,8 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-exports.makeInvoke = exports.invoke = void 0;
+exports.invoke = invoke;
+exports.makeInvoke = makeInvoke;
const bridge_1 = require("../bridge");
const errors_1 = require("../errors");
const utils_1 = require("../utils");
const callBridge = (0, bridge_1.getCallBridge)();
@@ -53,14 +54,12 @@
*/
function invoke(functionKey, payload, metadata) {
return limitedInvoke(functionKey, payload, metadata);
}
-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;