@wraps.dev/cli 2.2.6 → 2.2.7
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.
- package/dist/cli.js +1 -14
- package/dist/cli.js.map +1 -1
- package/dist/lambda/event-processor/.bundled +1 -0
- package/dist/lambda/event-processor/index.mjs +1 -0
- package/dist/lambda/event-processor/index.ts +214 -0
- package/dist/lambda/sms-event-processor/.bundled +1 -0
- package/dist/lambda/sms-event-processor/index.mjs +1 -0
- package/dist/lambda/sms-event-processor/index.ts +145 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -147,7 +147,7 @@ var require_package = __commonJS({
|
|
|
147
147
|
"package.json"(exports, module) {
|
|
148
148
|
module.exports = {
|
|
149
149
|
name: "@wraps.dev/cli",
|
|
150
|
-
version: "2.2.
|
|
150
|
+
version: "2.2.7",
|
|
151
151
|
description: "CLI for deploying Wraps email infrastructure to your AWS account",
|
|
152
152
|
type: "module",
|
|
153
153
|
main: "./dist/cli.js",
|
|
@@ -3272,18 +3272,6 @@ async function findEventSourceMapping(functionName, queueArn) {
|
|
|
3272
3272
|
}
|
|
3273
3273
|
}
|
|
3274
3274
|
async function getLambdaCode(functionName) {
|
|
3275
|
-
if (functionName === "event-processor") {
|
|
3276
|
-
const coreBundleMarker = join4(LAMBDA_EVENT_PROCESSOR_PATH, ".bundled");
|
|
3277
|
-
if (existsSync4(coreBundleMarker)) {
|
|
3278
|
-
return LAMBDA_EVENT_PROCESSOR_PATH;
|
|
3279
|
-
}
|
|
3280
|
-
}
|
|
3281
|
-
if (functionName === "sms-event-processor") {
|
|
3282
|
-
const coreBundleMarker = join4(LAMBDA_SMS_EVENT_PROCESSOR_PATH, ".bundled");
|
|
3283
|
-
if (existsSync4(coreBundleMarker)) {
|
|
3284
|
-
return LAMBDA_SMS_EVENT_PROCESSOR_PATH;
|
|
3285
|
-
}
|
|
3286
|
-
}
|
|
3287
3275
|
const packageRoot = getPackageRoot();
|
|
3288
3276
|
const distLambdaPath = join4(packageRoot, "dist", "lambda", functionName);
|
|
3289
3277
|
const distBundleMarker = join4(distLambdaPath, ".bundled");
|
|
@@ -3458,7 +3446,6 @@ var init_lambda = __esm({
|
|
|
3458
3446
|
"src/infrastructure/resources/lambda.ts"() {
|
|
3459
3447
|
"use strict";
|
|
3460
3448
|
init_esm_shims();
|
|
3461
|
-
init_dist();
|
|
3462
3449
|
}
|
|
3463
3450
|
});
|
|
3464
3451
|
|