@awsless/awsless 0.0.33 → 0.0.34

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/bin.cjs CHANGED
@@ -1186,14 +1186,14 @@ ${imports.join("\n")}
1186
1186
 
1187
1187
  import { InvokeOptions } from '@awsless/lambda'
1188
1188
 
1189
- type InvokeOptions = Omit<InvokeOptions, 'name' | 'payload'>
1189
+ type Options = Omit<InvokeOptions, 'name' | 'payload'>
1190
1190
 
1191
1191
  type Invoke<Func extends (...args: any[]) => any> = {
1192
- (event: Parameters<Func>[0], options?: InvokeOptions): ReturnType<Func>
1192
+ (event: Parameters<Func>[0], options?: Options): ReturnType<Func>
1193
1193
  }
1194
1194
 
1195
1195
  declare module '@awsless/awsless' {
1196
- interface Function {
1196
+ interface FunctionResources {
1197
1197
  ${props.join("\n")}
1198
1198
  }
1199
1199
  }`
package/dist/bin.js CHANGED
@@ -1163,14 +1163,14 @@ ${imports.join("\n")}
1163
1163
 
1164
1164
  import { InvokeOptions } from '@awsless/lambda'
1165
1165
 
1166
- type InvokeOptions = Omit<InvokeOptions, 'name' | 'payload'>
1166
+ type Options = Omit<InvokeOptions, 'name' | 'payload'>
1167
1167
 
1168
1168
  type Invoke<Func extends (...args: any[]) => any> = {
1169
- (event: Parameters<Func>[0], options?: InvokeOptions): ReturnType<Func>
1169
+ (event: Parameters<Func>[0], options?: Options): ReturnType<Func>
1170
1170
  }
1171
1171
 
1172
1172
  declare module '@awsless/awsless' {
1173
- interface Function {
1173
+ interface FunctionResources {
1174
1174
  ${props.join("\n")}
1175
1175
  }
1176
1176
  }`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awsless/awsless",
3
- "version": "0.0.33",
3
+ "version": "0.0.34",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {