@8ms/helpers 1.1.16 → 1.1.17
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.
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var getHandlerPath = function (_a) {
|
|
4
|
+
var context = _a.context;
|
|
5
|
+
return "".concat(context.split(process.cwd())[1].substring(1)
|
|
6
|
+
.replace(/\\/g, '/'));
|
|
7
|
+
};
|
|
8
|
+
exports.default = getHandlerPath;
|
package/dist/aws/lambda/index.js
CHANGED
|
@@ -3,8 +3,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.invoke = exports.getClient = void 0;
|
|
6
|
+
exports.invoke = exports.getHandlerPath = exports.getClient = void 0;
|
|
7
7
|
var getClient_1 = __importDefault(require("./getClient"));
|
|
8
8
|
exports.getClient = getClient_1.default;
|
|
9
|
+
var getHandlerPath_1 = __importDefault(require("./getHandlerPath"));
|
|
10
|
+
exports.getHandlerPath = getHandlerPath_1.default;
|
|
9
11
|
var invoke_1 = __importDefault(require("./invoke"));
|
|
10
12
|
exports.invoke = invoke_1.default;
|