@ikonintegration/ikapi 5.0.1-alpha.1 → 5.0.1

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.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@ikonintegration/ikapi",
3
- "version": "5.0.1-alpha.1",
3
+ "version": "5.0.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@ikonintegration/ikapi",
9
- "version": "5.0.1-alpha.1",
9
+ "version": "5.0.1",
10
10
  "license": "ISC",
11
11
  "dependencies": {
12
12
  "@aws-sdk/client-dynamodb": "^3.650.0",
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikonintegration/ikapi",
3
- "version": "5.0.1-alpha.1",
3
+ "version": "5.0.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -7,4 +7,4 @@ import Response from '../../API/Response.js';
7
7
  * @param {Context} context - The context for the handler.
8
8
  * @returns {Promise<Response<any>>} A promise that resolves to a response.
9
9
  */
10
- export type LaunchableHandlerType<Input> = (event: Input, context: Context) => Promise<Response<any>>;
10
+ export type LaunchableHandlerType<Input> = (event: Input, context: Context) => Promise<Response<any> | null>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikonintegration/ikapi",
3
- "version": "5.0.1-alpha.1",
3
+ "version": "5.0.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -12,4 +12,4 @@ import Response from '../../API/Response.js'
12
12
  export type LaunchableHandlerType<Input> = (
13
13
  event: Input,
14
14
  context: Context
15
- ) => Promise<Response<any>>
15
+ ) => Promise<Response<any> | null>