@forge/api

7.2.2-experimental-04cc2b98.0.0-next.0
out/api/endpoint.js
~out/api/endpoint.jsModified
+3−2
Index: package/out/api/endpoint.js
===================================================================
--- package/out/api/endpoint.js
+++ package/out/api/endpoint.js
@@ -1,8 +1,7 @@
 "use strict";
 Object.defineProperty(exports, "__esModule", { value: true });
-exports.invokeRemote = invokeRemote;
-exports.invokeService = invokeService;
+exports.invokeService = exports.invokeRemote = void 0;
 const errors_1 = require("./errors");
 const fetch_1 = require("./fetch");
 var InvokeType;
 (function (InvokeType) {
@@ -11,11 +10,13 @@
 })(InvokeType || (InvokeType = {}));
 async function invokeRemote(remoteKey, options) {
     return invokeEndpoint(remoteKey, options, InvokeType.REMOTE);
 }
+exports.invokeRemote = invokeRemote;
 async function invokeService(serviceKey, options) {
     return invokeEndpoint(serviceKey, options, InvokeType.CONTAINER);
 }
+exports.invokeService = invokeService;
 async function invokeEndpoint(key, options, type) {
     const { path, ...fetchOptions } = options;
     if (!key) {
         throw new Error(`Missing ${type.toLowerCase()} key provided to invoke${type}`);