Skip to content

Commit 9c2a68c

Browse files
committed
update authorizer invalid signature
1 parent 435da5d commit 9c2a68c

File tree

12 files changed

+7197
-24
lines changed

12 files changed

+7197
-24
lines changed

CHANGELOG.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html)
66

7-
## [1.0.0]  (2019-09-01)
7+
## [1.0.1]  (2019-09-04)
8+
9+
### Fixed
10+
11+
- Update authorizer wrapper invalid response with correct signature
12+
13+
## [1.0.0]  (2019-09-04)
814

915
### Added
1016

@@ -26,4 +32,5 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/),
2632
- Update older libraries
2733
- Now publish from Git tags instead of master pushes
2834

29-
<!-- [1.0.0]: https://github.com/manwaring/lambda-wrapper/compare/v0.3.8...v1.0.0 -->
35+
[1.0.1]: https://github.com/manwaring/lambda-wrapper/compare/v1.0.0...v1.0.1
36+
[1.0.0]: https://github.com/manwaring/lambda-wrapper/compare/v0.3.8...v1.0.0

examples/typescript/handler.ts

Lines changed: 0 additions & 12 deletions
This file was deleted.

examples/typescript/handlers/api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { api, ApiSignature } from '@manwaring/lambda-wrapper';
2+
import 'source-map-support/register';
23

34
export const handler = api(async ({ event, success, error }: ApiSignature) => {
45
try {

examples/typescript/handlers/authorizer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { authorizer, AuthorizerSignature } from '@manwaring/lambda-wrapper';
2+
import 'source-map-support/register';
23

34
export const handler = authorizer(async ({ token, valid, invalid, error }: AuthorizerSignature) => {
45
try {

examples/typescript/handlers/cloudformation.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { S3 } from 'aws-sdk';
22
import { cloudFormation, CloudFormationSignature } from '@manwaring/lambda-wrapper';
3+
import 'source-map-support/register';
34

45
const s3 = new S3({ apiVersion: '2006-03-01', region: 'us-east-1' });
56

examples/typescript/handlers/dynamodb.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { dynamodbStream } from '@manwaring/lambda-wrapper';
1+
import { dynamodbStream, DynamoDBStreamSignature } from '@manwaring/lambda-wrapper';
2+
import 'source-map-support/register';
23

34
export const handler = dynamodbStream(async ({ success, error }: DynamoDBStreamSignature) => {
45
try {

examples/typescript/handlers/sns.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { sns, SnsSignature } from '@manwaring/lambda-wrapper';
2+
import 'source-map-support/register';
23

3-
export const handler = sns(async ({ event, success, error }: SnsSignature) => {
4+
export const handler = sns(async ({ success, error }: SnsSignature) => {
45
try {
56
return success();
67
} catch (err) {

0 commit comments

Comments
 (0)