quidproquo-actionprocessor-awslambda 0.0.121 → 0.0.122
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/lib/getActionProcessor/core/event/getLambdaCognitoCustomMessage.d.ts +12 -0
- package/lib/getActionProcessor/core/event/getLambdaCognitoCustomMessage.js +104 -0
- package/lib/getActionProcessor/core/index.d.ts +1 -0
- package/lib/getActionProcessor/core/index.js +3 -1
- package/lib/getActionProcessor/core/userDirectory/getUserDirectorySetPasswordActionProcessor.d.ts +5 -0
- package/lib/getActionProcessor/core/userDirectory/getUserDirectorySetPasswordActionProcessor.js +28 -0
- package/lib/getActionProcessor/core/userDirectory/index.d.ts +1 -1
- package/lib/getActionProcessor/core/userDirectory/index.js +2 -1
- package/package.json +12 -12
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { QPQConfig, MatchStoryResult, EventMatchStoryActionProcessor, EventTransformEventParamsActionProcessor, EventTransformResponseResultActionProcessor, EventAutoRespondActionProcessor } from 'quidproquo-core';
|
|
2
|
+
import { EmailSendEvent, EmailSendEventResponse } from 'quidproquo-webserver';
|
|
3
|
+
import { CustomMessageTriggerEvent, Context } from 'aws-lambda';
|
|
4
|
+
type EventInput = [CustomMessageTriggerEvent, Context];
|
|
5
|
+
type MatchResult = MatchStoryResult<any, any>;
|
|
6
|
+
declare const _default: (qpqConfig: QPQConfig) => {
|
|
7
|
+
"@quidproquo-core/event/TransformEventParams": EventTransformEventParamsActionProcessor<EventInput, EmailSendEvent>;
|
|
8
|
+
"@quidproquo-core/event/TransformResponseResult": EventTransformResponseResultActionProcessor<EmailSendEventResponse, EmailSendEvent, EmailSendEventResponse>;
|
|
9
|
+
"@quidproquo-core/event/AutoRespond": EventAutoRespondActionProcessor<EmailSendEvent, MatchResult, boolean>;
|
|
10
|
+
"@quidproquo-core/event/MatchStory": EventMatchStoryActionProcessor<EmailSendEvent, MatchResult>;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
const quidproquo_core_1 = require("quidproquo-core");
|
|
13
|
+
const quidproquo_webserver_1 = require("quidproquo-webserver");
|
|
14
|
+
// TODO: Don't use Globals like this
|
|
15
|
+
const GLOBAL_USER_DIRECTORY_NAME = process.env.userDirectoryName;
|
|
16
|
+
const getProcessTransformEventParams = (serviceName) => {
|
|
17
|
+
return ({ eventParams: [customMessageTriggerEvent, context] }) => __awaiter(void 0, void 0, void 0, function* () {
|
|
18
|
+
var _a;
|
|
19
|
+
const transformedEventParams = {
|
|
20
|
+
eventType: quidproquo_webserver_1.EmailSendEventType.VerifyEmail,
|
|
21
|
+
code: customMessageTriggerEvent.request.codeParameter,
|
|
22
|
+
link: customMessageTriggerEvent.request.linkParameter,
|
|
23
|
+
attributes: customMessageTriggerEvent.request.userAttributes,
|
|
24
|
+
username: customMessageTriggerEvent.request.usernameParameter,
|
|
25
|
+
};
|
|
26
|
+
switch (customMessageTriggerEvent.triggerSource) {
|
|
27
|
+
case 'CustomMessage_ForgotPassword': {
|
|
28
|
+
if (((_a = customMessageTriggerEvent.request.clientMetadata) === null || _a === void 0 ? void 0 : _a['userInitiated']) === 'true') {
|
|
29
|
+
transformedEventParams.eventType = quidproquo_webserver_1.EmailSendEventType.ResetPassword;
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
transformedEventParams.eventType = quidproquo_webserver_1.EmailSendEventType.ResetPasswordAdmin;
|
|
33
|
+
}
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
case 'CustomMessage_VerifyUserAttribute':
|
|
37
|
+
transformedEventParams.eventType = quidproquo_webserver_1.EmailSendEventType.VerifyEmail;
|
|
38
|
+
break;
|
|
39
|
+
}
|
|
40
|
+
return (0, quidproquo_core_1.actionResult)(transformedEventParams);
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
const getProcessTransformResponseResult = (qpqConfig) => {
|
|
44
|
+
// We might need to JSON.stringify the body.
|
|
45
|
+
return (payload) => __awaiter(void 0, void 0, void 0, function* () {
|
|
46
|
+
return (0, quidproquo_core_1.actionResult)({
|
|
47
|
+
subject: payload.response.subject,
|
|
48
|
+
body: payload.response.body,
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
const getProcessAutoRespond = (qpqConfig) => {
|
|
53
|
+
const userDirectoryConfig = quidproquo_core_1.qpqCoreUtils.getUserDirectories(qpqConfig).find(ud => ud.name === GLOBAL_USER_DIRECTORY_NAME);
|
|
54
|
+
return (payload) => __awaiter(void 0, void 0, void 0, function* () {
|
|
55
|
+
var _a, _b, _c, _d, _e, _f;
|
|
56
|
+
switch (payload.transformedEventParams.eventType) {
|
|
57
|
+
case quidproquo_webserver_1.EmailSendEventType.ResetPassword:
|
|
58
|
+
return (0, quidproquo_core_1.actionResult)(!((_a = userDirectoryConfig === null || userDirectoryConfig === void 0 ? void 0 : userDirectoryConfig.emailTemplates.resetPassword) === null || _a === void 0 ? void 0 : _a.src) &&
|
|
59
|
+
!((_b = userDirectoryConfig === null || userDirectoryConfig === void 0 ? void 0 : userDirectoryConfig.emailTemplates.resetPassword) === null || _b === void 0 ? void 0 : _b.runtime));
|
|
60
|
+
case quidproquo_webserver_1.EmailSendEventType.ResetPasswordAdmin:
|
|
61
|
+
return (0, quidproquo_core_1.actionResult)(!((_c = userDirectoryConfig === null || userDirectoryConfig === void 0 ? void 0 : userDirectoryConfig.emailTemplates.resetPasswordAdmin) === null || _c === void 0 ? void 0 : _c.src) &&
|
|
62
|
+
!((_d = userDirectoryConfig === null || userDirectoryConfig === void 0 ? void 0 : userDirectoryConfig.emailTemplates.resetPasswordAdmin) === null || _d === void 0 ? void 0 : _d.runtime));
|
|
63
|
+
case quidproquo_webserver_1.EmailSendEventType.VerifyEmail:
|
|
64
|
+
return (0, quidproquo_core_1.actionResult)(!((_e = userDirectoryConfig === null || userDirectoryConfig === void 0 ? void 0 : userDirectoryConfig.emailTemplates.verifyEmail) === null || _e === void 0 ? void 0 : _e.src) &&
|
|
65
|
+
!((_f = userDirectoryConfig === null || userDirectoryConfig === void 0 ? void 0 : userDirectoryConfig.emailTemplates.verifyEmail) === null || _f === void 0 ? void 0 : _f.runtime));
|
|
66
|
+
}
|
|
67
|
+
return (0, quidproquo_core_1.actionResult)(false);
|
|
68
|
+
});
|
|
69
|
+
};
|
|
70
|
+
const getProcessMatchStory = (qpqConfig) => {
|
|
71
|
+
const userDirectoryConfig = quidproquo_core_1.qpqCoreUtils.getUserDirectories(qpqConfig).find(ud => ud.name === GLOBAL_USER_DIRECTORY_NAME);
|
|
72
|
+
return (payload) => __awaiter(void 0, void 0, void 0, function* () {
|
|
73
|
+
var _a, _b, _c, _d, _e, _f;
|
|
74
|
+
switch (payload.transformedEventParams.eventType) {
|
|
75
|
+
case quidproquo_webserver_1.EmailSendEventType.ResetPassword:
|
|
76
|
+
return (0, quidproquo_core_1.actionResult)({
|
|
77
|
+
src: (_a = userDirectoryConfig === null || userDirectoryConfig === void 0 ? void 0 : userDirectoryConfig.emailTemplates.resetPassword) === null || _a === void 0 ? void 0 : _a.src,
|
|
78
|
+
runtime: (_b = userDirectoryConfig === null || userDirectoryConfig === void 0 ? void 0 : userDirectoryConfig.emailTemplates.resetPassword) === null || _b === void 0 ? void 0 : _b.runtime
|
|
79
|
+
});
|
|
80
|
+
case quidproquo_webserver_1.EmailSendEventType.ResetPasswordAdmin:
|
|
81
|
+
return (0, quidproquo_core_1.actionResult)({
|
|
82
|
+
src: (_c = userDirectoryConfig === null || userDirectoryConfig === void 0 ? void 0 : userDirectoryConfig.emailTemplates.resetPasswordAdmin) === null || _c === void 0 ? void 0 : _c.src,
|
|
83
|
+
runtime: (_d = userDirectoryConfig === null || userDirectoryConfig === void 0 ? void 0 : userDirectoryConfig.emailTemplates.resetPasswordAdmin) === null || _d === void 0 ? void 0 : _d.runtime
|
|
84
|
+
});
|
|
85
|
+
case quidproquo_webserver_1.EmailSendEventType.VerifyEmail:
|
|
86
|
+
return (0, quidproquo_core_1.actionResult)({
|
|
87
|
+
src: (_e = userDirectoryConfig === null || userDirectoryConfig === void 0 ? void 0 : userDirectoryConfig.emailTemplates.verifyEmail) === null || _e === void 0 ? void 0 : _e.src,
|
|
88
|
+
runtime: (_f = userDirectoryConfig === null || userDirectoryConfig === void 0 ? void 0 : userDirectoryConfig.emailTemplates.verifyEmail) === null || _f === void 0 ? void 0 : _f.runtime
|
|
89
|
+
});
|
|
90
|
+
default:
|
|
91
|
+
return (0, quidproquo_core_1.actionResultError)(quidproquo_core_1.ErrorTypeEnum.NotFound, `Email lambda not implemented for ${payload.transformedEventParams.eventType}`);
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
};
|
|
95
|
+
exports.default = (qpqConfig) => {
|
|
96
|
+
// TODO: Make this aware of the API that we are eventing
|
|
97
|
+
const serviceName = quidproquo_core_1.qpqCoreUtils.getApplicationModuleName(qpqConfig);
|
|
98
|
+
return {
|
|
99
|
+
[quidproquo_core_1.EventActionType.TransformEventParams]: getProcessTransformEventParams(serviceName),
|
|
100
|
+
[quidproquo_core_1.EventActionType.TransformResponseResult]: getProcessTransformResponseResult(qpqConfig),
|
|
101
|
+
[quidproquo_core_1.EventActionType.AutoRespond]: getProcessAutoRespond(qpqConfig),
|
|
102
|
+
[quidproquo_core_1.EventActionType.MatchStory]: getProcessMatchStory(qpqConfig),
|
|
103
|
+
};
|
|
104
|
+
};
|
|
@@ -6,6 +6,7 @@ export { default as getCloudFrontOriginRequestEventActionProcessor } from './eve
|
|
|
6
6
|
export { default as getSQSEventRecordActionProcessor } from './event/getSQSEventRecordActionProcessor';
|
|
7
7
|
export { default as getServiceFunctionExecuteEventActionProcessor } from './event/getServiceFunctionExecuteEventActionProcessor';
|
|
8
8
|
export { default as getEventBridgeEventActionProcessor } from './event/getEventBridgeEventActionProcessor';
|
|
9
|
+
export { default as getLambdaCognitoCustomMessage } from './event/getLambdaCognitoCustomMessage';
|
|
9
10
|
export { default as getSystemActionProcessor } from './system';
|
|
10
11
|
export { default as getFileActionProcessor } from './file';
|
|
11
12
|
export { default as getKeyValueStoreActionProcessor } from './keyValueStore';
|
|
@@ -3,7 +3,7 @@ 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.getEventBusActionProcessor = exports.getUserDirectoryActionProcessor = exports.getQueueActionProcessor = exports.getKeyValueStoreActionProcessor = exports.getFileActionProcessor = exports.getSystemActionProcessor = exports.getEventBridgeEventActionProcessor = exports.getServiceFunctionExecuteEventActionProcessor = exports.getSQSEventRecordActionProcessor = exports.getCloudFrontOriginRequestEventActionProcessor = exports.getAPIGatewayEventActionProcessor = exports.getConfigGetParametersActionProcessor = exports.getConfigGetParameterActionProcessor = exports.getConfigGetSecretActionProcessor = void 0;
|
|
6
|
+
exports.getEventBusActionProcessor = exports.getUserDirectoryActionProcessor = exports.getQueueActionProcessor = exports.getKeyValueStoreActionProcessor = exports.getFileActionProcessor = exports.getSystemActionProcessor = exports.getLambdaCognitoCustomMessage = exports.getEventBridgeEventActionProcessor = exports.getServiceFunctionExecuteEventActionProcessor = exports.getSQSEventRecordActionProcessor = exports.getCloudFrontOriginRequestEventActionProcessor = exports.getAPIGatewayEventActionProcessor = exports.getConfigGetParametersActionProcessor = exports.getConfigGetParameterActionProcessor = exports.getConfigGetSecretActionProcessor = void 0;
|
|
7
7
|
var getConfigGetSecretActionProcessor_1 = require("./config/getConfigGetSecretActionProcessor");
|
|
8
8
|
Object.defineProperty(exports, "getConfigGetSecretActionProcessor", { enumerable: true, get: function () { return __importDefault(getConfigGetSecretActionProcessor_1).default; } });
|
|
9
9
|
var getConfigGetParameterActionProcessor_1 = require("./config/getConfigGetParameterActionProcessor");
|
|
@@ -20,6 +20,8 @@ var getServiceFunctionExecuteEventActionProcessor_1 = require("./event/getServic
|
|
|
20
20
|
Object.defineProperty(exports, "getServiceFunctionExecuteEventActionProcessor", { enumerable: true, get: function () { return __importDefault(getServiceFunctionExecuteEventActionProcessor_1).default; } });
|
|
21
21
|
var getEventBridgeEventActionProcessor_1 = require("./event/getEventBridgeEventActionProcessor");
|
|
22
22
|
Object.defineProperty(exports, "getEventBridgeEventActionProcessor", { enumerable: true, get: function () { return __importDefault(getEventBridgeEventActionProcessor_1).default; } });
|
|
23
|
+
var getLambdaCognitoCustomMessage_1 = require("./event/getLambdaCognitoCustomMessage");
|
|
24
|
+
Object.defineProperty(exports, "getLambdaCognitoCustomMessage", { enumerable: true, get: function () { return __importDefault(getLambdaCognitoCustomMessage_1).default; } });
|
|
23
25
|
var system_1 = require("./system");
|
|
24
26
|
Object.defineProperty(exports, "getSystemActionProcessor", { enumerable: true, get: function () { return __importDefault(system_1).default; } });
|
|
25
27
|
var file_1 = require("./file");
|
package/lib/getActionProcessor/core/userDirectory/getUserDirectorySetPasswordActionProcessor.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
const quidproquo_core_1 = require("quidproquo-core");
|
|
13
|
+
const awsNamingUtils_1 = require("../../../awsNamingUtils");
|
|
14
|
+
const getExportedValue_1 = require("../../../logic/cloudformation/getExportedValue");
|
|
15
|
+
const setUserPassword_1 = require("../../../logic/cognito/setUserPassword");
|
|
16
|
+
const getUserDirectorySetPasswordActionProcessor = (qpqConfig) => {
|
|
17
|
+
return ({ userDirectoryName, newPassword, username }, session) => __awaiter(void 0, void 0, void 0, function* () {
|
|
18
|
+
const region = quidproquo_core_1.qpqCoreUtils.getApplicationModuleDeployRegion(qpqConfig);
|
|
19
|
+
const userPoolId = yield (0, getExportedValue_1.getExportedValue)((0, awsNamingUtils_1.getCFExportNameUserPoolIdFromConfig)(userDirectoryName, qpqConfig), region);
|
|
20
|
+
yield (0, setUserPassword_1.setUserPassword)(region, userPoolId, username, newPassword);
|
|
21
|
+
return (0, quidproquo_core_1.actionResult)(void 0);
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
exports.default = (qpqConfig) => {
|
|
25
|
+
return {
|
|
26
|
+
[quidproquo_core_1.UserDirectoryActionType.SetPassword]: getUserDirectorySetPasswordActionProcessor(qpqConfig),
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { QPQConfig } from 'quidproquo-core';
|
|
2
2
|
declare const _default: (qpqConfig: QPQConfig) => {
|
|
3
3
|
"@quidproquo-core/UserDirectory/SetUserAttributes": import("quidproquo-core").UserDirectorySetUserAttributesActionProcessor;
|
|
4
|
+
"@quidproquo-core/UserDirectory/ChangePassword": import("quidproquo-core").UserDirectorySetPasswordActionProcessor;
|
|
4
5
|
"@quidproquo-core/UserDirectory/RespondToAuthChallenge": import("quidproquo-core").UserDirectoryRespondToAuthChallengeActionProcessor;
|
|
5
6
|
"@quidproquo-core/UserDirectory/RequestEmailVerification": import("quidproquo-core").UserDirectoryRequestEmailVerificationActionProcessor;
|
|
6
7
|
"@quidproquo-core/UserDirectory/RefreshToken": import("quidproquo-core").UserDirectoryRefreshTokenActionProcessor;
|
|
@@ -12,7 +13,6 @@ declare const _default: (qpqConfig: QPQConfig) => {
|
|
|
12
13
|
"@quidproquo-core/UserDirectory/CreateUser": import("quidproquo-core").UserDirectoryCreateUserActionProcessor;
|
|
13
14
|
"@quidproquo-core/UserDirectory/ConfirmForgotPassword": import("quidproquo-core").UserDirectoryConfirmForgotPasswordActionProcessor;
|
|
14
15
|
"@quidproquo-core/UserDirectory/ConfirmEmailVerification": import("quidproquo-core").UserDirectoryConfirmEmailVerificationActionProcessor;
|
|
15
|
-
"@quidproquo-core/UserDirectory/ChangePassword": import("quidproquo-core").UserDirectoryChangePasswordActionProcessor;
|
|
16
16
|
"@quidproquo-core/UserDirectory/AuthenticateUser": import("quidproquo-core").UserDirectoryAuthenticateUserActionProcessor;
|
|
17
17
|
};
|
|
18
18
|
export default _default;
|
|
@@ -16,5 +16,6 @@ const getUserDirectoryReadAccessTokenActionProcessor_1 = __importDefault(require
|
|
|
16
16
|
const getUserDirectoryRefreshTokenActionProcessor_1 = __importDefault(require("./getUserDirectoryRefreshTokenActionProcessor"));
|
|
17
17
|
const getUserDirectoryRequestEmailVerificationActionProcessor_1 = __importDefault(require("./getUserDirectoryRequestEmailVerificationActionProcessor"));
|
|
18
18
|
const getUserDirectoryRespondToAuthChallengeActionProcessor_1 = __importDefault(require("./getUserDirectoryRespondToAuthChallengeActionProcessor"));
|
|
19
|
+
const getUserDirectorySetPasswordActionProcessor_1 = __importDefault(require("./getUserDirectorySetPasswordActionProcessor"));
|
|
19
20
|
const getUserDirectorySetUserAttributesActionProcessor_1 = __importDefault(require("./getUserDirectorySetUserAttributesActionProcessor"));
|
|
20
|
-
exports.default = (qpqConfig) => (Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (0, getUserDirectoryAuthenticateUserActionProcessor_1.default)(qpqConfig)), (0, getUserDirectoryChangePasswordActionProcessor_1.default)(qpqConfig)), (0, getUserDirectoryConfirmEmailVerificationActionProcessor_1.default)(qpqConfig)), (0, getUserDirectoryConfirmForgetPasswordActionProcessor_1.default)(qpqConfig)), (0, getUserDirectoryCreateUserActionProcessor_1.default)(qpqConfig)), (0, getUserDirectoryDecodeAccessTokenActionProcessor_1.default)(qpqConfig)), (0, getUserDirectoryForgetPasswordActionProcessor_1.default)(qpqConfig)), (0, getUserDirectoryGetUserAttributesActionProcessor_1.default)(qpqConfig)), (0, getUserDirectoryGetUserAttributesByUserIdActionProcessor_1.default)(qpqConfig)), (0, getUserDirectoryReadAccessTokenActionProcessor_1.default)(qpqConfig)), (0, getUserDirectoryRefreshTokenActionProcessor_1.default)(qpqConfig)), (0, getUserDirectoryRequestEmailVerificationActionProcessor_1.default)(qpqConfig)), (0, getUserDirectoryRespondToAuthChallengeActionProcessor_1.default)(qpqConfig)), (0, getUserDirectorySetUserAttributesActionProcessor_1.default)(qpqConfig)));
|
|
21
|
+
exports.default = (qpqConfig) => (Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (0, getUserDirectoryAuthenticateUserActionProcessor_1.default)(qpqConfig)), (0, getUserDirectoryChangePasswordActionProcessor_1.default)(qpqConfig)), (0, getUserDirectoryConfirmEmailVerificationActionProcessor_1.default)(qpqConfig)), (0, getUserDirectoryConfirmForgetPasswordActionProcessor_1.default)(qpqConfig)), (0, getUserDirectoryCreateUserActionProcessor_1.default)(qpqConfig)), (0, getUserDirectoryDecodeAccessTokenActionProcessor_1.default)(qpqConfig)), (0, getUserDirectoryForgetPasswordActionProcessor_1.default)(qpqConfig)), (0, getUserDirectoryGetUserAttributesActionProcessor_1.default)(qpqConfig)), (0, getUserDirectoryGetUserAttributesByUserIdActionProcessor_1.default)(qpqConfig)), (0, getUserDirectoryReadAccessTokenActionProcessor_1.default)(qpqConfig)), (0, getUserDirectoryRefreshTokenActionProcessor_1.default)(qpqConfig)), (0, getUserDirectoryRequestEmailVerificationActionProcessor_1.default)(qpqConfig)), (0, getUserDirectoryRespondToAuthChallengeActionProcessor_1.default)(qpqConfig)), (0, getUserDirectorySetPasswordActionProcessor_1.default)(qpqConfig)), (0, getUserDirectorySetUserAttributesActionProcessor_1.default)(qpqConfig)));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "quidproquo-actionprocessor-awslambda",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.122",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.js",
|
|
@@ -25,17 +25,17 @@
|
|
|
25
25
|
},
|
|
26
26
|
"homepage": "https://github.com/joe-coady/quidproquo#readme",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/client-api-gateway": "^3.
|
|
29
|
-
"@aws-sdk/client-cloudformation": "^3.
|
|
30
|
-
"@aws-sdk/client-cloudfront": "^3.
|
|
31
|
-
"@aws-sdk/client-cognito-identity-provider": "^3.
|
|
32
|
-
"@aws-sdk/client-dynamodb": "^3.
|
|
33
|
-
"@aws-sdk/client-lambda": "^3.
|
|
34
|
-
"@aws-sdk/client-s3": "^3.
|
|
35
|
-
"@aws-sdk/client-secrets-manager": "^3.
|
|
36
|
-
"@aws-sdk/client-sns": "^3.
|
|
37
|
-
"@aws-sdk/client-sqs": "^3.
|
|
38
|
-
"@aws-sdk/client-ssm": "^3.
|
|
28
|
+
"@aws-sdk/client-api-gateway": "^3.379.1",
|
|
29
|
+
"@aws-sdk/client-cloudformation": "^3.379.1",
|
|
30
|
+
"@aws-sdk/client-cloudfront": "^3.379.1",
|
|
31
|
+
"@aws-sdk/client-cognito-identity-provider": "^3.379.1",
|
|
32
|
+
"@aws-sdk/client-dynamodb": "^3.379.1",
|
|
33
|
+
"@aws-sdk/client-lambda": "^3.379.1",
|
|
34
|
+
"@aws-sdk/client-s3": "^3.379.1",
|
|
35
|
+
"@aws-sdk/client-secrets-manager": "^3.379.1",
|
|
36
|
+
"@aws-sdk/client-sns": "^3.379.1",
|
|
37
|
+
"@aws-sdk/client-sqs": "^3.379.1",
|
|
38
|
+
"@aws-sdk/client-ssm": "^3.379.1",
|
|
39
39
|
"aws-jwt-verify": "^3.4.0",
|
|
40
40
|
"aws-sdk": "^2.1322.0",
|
|
41
41
|
"busboy": "^1.6.0",
|