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.
- package/CHANGELOG.md +118 -0
- package/README.md +4 -4
- package/dist/api/LambderApiDeclarations.d.ts +21 -5
- package/dist/api/LambderApiDeclarations.js +21 -3
- package/dist/api/LambderApiGuards.d.ts +23 -3
- package/dist/api/LambderApiGuards.js +50 -25
- package/dist/api/LambderApiModules.d.ts +50 -0
- package/dist/api/LambderApiModules.js +36 -0
- package/dist/api/LambderApiPipeline.d.ts +27 -4
- package/dist/api/LambderApiPipeline.js +71 -5
- package/dist/api/LambderApiRateLimits.d.ts +35 -4
- package/dist/api/LambderApiRateLimits.js +74 -35
- package/dist/core/Lambder.d.ts +68 -93
- package/dist/core/Lambder.js +147 -71
- package/dist/core/LambderApiBuilders.d.ts +105 -0
- package/dist/core/LambderApiBuilders.js +12 -0
- package/dist/core/LambderApiModule.d.ts +106 -0
- package/dist/core/LambderApiModule.js +45 -0
- package/dist/core/LambderCallSummary.d.ts +11 -9
- package/dist/core/LambderCreateOptions.d.ts +29 -24
- package/dist/core/LambderInvocationScope.d.ts +9 -3
- package/dist/core/LambderRouting.d.ts +9 -0
- package/dist/core/LambderRouting.js +20 -0
- package/dist/index.d.ts +10 -5
- package/dist/index.js +2 -0
- package/dist/mock/LambderMockApiModule.d.ts +70 -0
- package/dist/mock/LambderMockApiModule.js +34 -0
- package/dist/mock/LambderMockApp.d.ts +53 -8
- package/dist/mock/LambderMockApp.js +104 -28
- package/dist/mock/LambderMockCreateOptions.d.ts +18 -18
- package/dist/mock/LambderMockTypes.d.ts +46 -26
- package/dist/mock.d.ts +4 -1
- package/dist/mock.js +2 -0
- package/dist/shared/util/LambderTypeUtilities.d.ts +1 -1
- package/dist/testing/LambderTestApp.d.ts +4 -3
- package/dist/testing/LambderTestApp.js +4 -3
- 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
|
|
157
|
-
* in order (see LambderCallSummary): what
|
|
158
|
-
* have been handed, collected here instead of
|
|
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
|
|
187
|
-
* in order (see LambderCallSummary): what
|
|
188
|
-
* have been handed, collected here instead of
|
|
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": "
|
|
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": [
|