@genie-solutions/lambda-toolbelt
Advanced tools
Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "@genie-solutions/lambda-toolbelt", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Toolbelt for creating Lambda functions", | ||
@@ -5,0 +5,0 @@ "access": "public", |
@@ -6,3 +6,3 @@ # Genie Lambda Toolbelt | ||
```typescript | ||
import { applyMiddleware, httpHandler, withJSONBody, HTTPEvent, HTTPContext } from 'genie-lambda-toolbelt'; | ||
import { applyMiddleware, httpHandler, withJSONBody, HTTPEvent, HTTPContext } from '@genie-solutions/lambda-toolbelt'; | ||
@@ -24,3 +24,3 @@ const myHelloWorldFunction = async (event: HTTPEvent, context: HTTPContext): Promise<object> => { | ||
```javascript | ||
import { createParameterStore, applyMiddleware, httpHandler, withJWTPayload } from 'genie-lambda-toolbelt'; | ||
import { createParameterStore, applyMiddleware, httpHandler, withJWTPayload } from '@genie-solutions/lambda-toolbelt'; | ||
@@ -58,3 +58,3 @@ const mySuperSecretFunction = async (event: HTTPEvent, context: HTTPContext): Promise<object> => { | ||
HTTPContext | ||
} from 'genie-lambda-toolbelt'; | ||
} from '@genie-solutions/lambda-toolbelt'; | ||
@@ -110,3 +110,3 @@ // These interfaces should be in type.ts, here is just quick example | ||
```typescript | ||
import { applyMiddleware, httpHandler, withClientId, withJSONBody, HTTPContext, ClientIdContext } from 'genie-lambda-toolbelt'; | ||
import { applyMiddleware, httpHandler, withClientId, withJSONBody, HTTPContext, ClientIdContext } from '@genie-solutions/lambda-toolbelt'; | ||
@@ -144,3 +144,3 @@ // These interfaces should be in type.ts, here is just quick example | ||
ClientIdContext | ||
} from 'genie-lambda-toolbelt'; | ||
} from '@genie-solutions/lambda-toolbelt'; | ||
@@ -147,0 +147,0 @@ interface MyBodyContext { |
9815109
34
24634