@forge/api

8.0.0-next.28.0.0
out/api/endpoint.js
~out/api/endpoint.jsModified
+2−3
Index: package/out/api/endpoint.js
===================================================================
--- package/out/api/endpoint.js
+++ package/out/api/endpoint.js
@@ -1,7 +1,8 @@
 "use strict";
 Object.defineProperty(exports, "__esModule", { value: true });
-exports.invokeService = exports.invokeRemote = void 0;
+exports.invokeRemote = invokeRemote;
+exports.invokeService = invokeService;
 const errors_1 = require("./errors");
 const fetch_1 = require("./fetch");
 var InvokeType;
 (function (InvokeType) {
@@ -10,13 +11,11 @@
 })(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}`);