lambder 15.0.2 → 16.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +118 -0
  2. package/README.md +4 -4
  3. package/dist/api/LambderApiDeclarations.d.ts +21 -5
  4. package/dist/api/LambderApiDeclarations.js +21 -3
  5. package/dist/api/LambderApiGuards.d.ts +23 -3
  6. package/dist/api/LambderApiGuards.js +50 -25
  7. package/dist/api/LambderApiModules.d.ts +50 -0
  8. package/dist/api/LambderApiModules.js +36 -0
  9. package/dist/api/LambderApiPipeline.d.ts +27 -4
  10. package/dist/api/LambderApiPipeline.js +71 -5
  11. package/dist/api/LambderApiRateLimits.d.ts +35 -4
  12. package/dist/api/LambderApiRateLimits.js +74 -35
  13. package/dist/core/Lambder.d.ts +68 -93
  14. package/dist/core/Lambder.js +147 -71
  15. package/dist/core/LambderApiBuilders.d.ts +105 -0
  16. package/dist/core/LambderApiBuilders.js +12 -0
  17. package/dist/core/LambderApiModule.d.ts +106 -0
  18. package/dist/core/LambderApiModule.js +45 -0
  19. package/dist/core/LambderCallSummary.d.ts +11 -9
  20. package/dist/core/LambderCreateOptions.d.ts +29 -24
  21. package/dist/core/LambderInvocationScope.d.ts +9 -3
  22. package/dist/core/LambderRouting.d.ts +9 -0
  23. package/dist/core/LambderRouting.js +20 -0
  24. package/dist/index.d.ts +10 -5
  25. package/dist/index.js +2 -0
  26. package/dist/mock/LambderMockApiModule.d.ts +70 -0
  27. package/dist/mock/LambderMockApiModule.js +34 -0
  28. package/dist/mock/LambderMockApp.d.ts +53 -8
  29. package/dist/mock/LambderMockApp.js +104 -28
  30. package/dist/mock/LambderMockCreateOptions.d.ts +18 -18
  31. package/dist/mock/LambderMockTypes.d.ts +46 -26
  32. package/dist/mock.d.ts +4 -1
  33. package/dist/mock.js +2 -0
  34. package/dist/shared/util/LambderTypeUtilities.d.ts +1 -1
  35. package/dist/testing/LambderTestApp.d.ts +4 -3
  36. package/dist/testing/LambderTestApp.js +4 -3
  37. package/package.json +1 -1
@@ -153,9 +153,10 @@ export declare class LambderTestApp<TContract extends LambderApiContractShape =
153
153
  */
154
154
  get crashes(): readonly Error[];
155
155
  /**
156
- * The summary of every API call the app answered since the last reset,
157
- * in order (see LambderCallSummary): what its callSummary option would
158
- * have been handed, collected here instead of written to stdout.
156
+ * The summary of every API call, and every request a route answered,
157
+ * since the last reset, in order (see LambderCallSummary): what the app's
158
+ * callSummary option would have been handed, collected here instead of
159
+ * written to stdout.
159
160
  */
160
161
  get callSummaries(): readonly LambderCallSummary[];
161
162
  /**
@@ -183,9 +183,10 @@ export class LambderTestApp {
183
183
  return this.crashList;
184
184
  }
185
185
  /**
186
- * The summary of every API call the app answered since the last reset,
187
- * in order (see LambderCallSummary): what its callSummary option would
188
- * have been handed, collected here instead of written to stdout.
186
+ * The summary of every API call, and every request a route answered,
187
+ * since the last reset, in order (see LambderCallSummary): what the app's
188
+ * callSummary option would have been handed, collected here instead of
189
+ * written to stdout.
189
190
  */
190
191
  get callSummaries() {
191
192
  return this.callSummaryList;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lambder",
3
- "version": "15.0.2",
3
+ "version": "16.0.1",
4
4
  "sideEffects": false,
5
5
  "description": "Opinionated serverless web framework for TypeScript on AWS Lambda: type-safe APIs from Zod schemas, DynamoDB sessions, and declarative rate limits, authorization guards and idempotency.",
6
6
  "keywords": [