@mountainpass/waycharter 2.0.3 → 2.0.4
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 +6 -0
- package/README.md +1 -1
- package/dist/handler.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## <small>2.0.4 (2022-08-18)</small>
|
|
2
|
+
|
|
3
|
+
* fix(collections): fixed cardinality of page ([6bacd74](https://github.com/mountain-pass/waycharter/commit/6bacd74))
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
1
7
|
## <small>2.0.3 (2022-08-18)</small>
|
|
2
8
|
|
|
3
9
|
* test(collections): removed no longer relevant test ([38d937b](https://github.com/mountain-pass/waycharter/commit/38d937b))
|
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ This library is compatible with Node.js 10.x, 12.x and 14.x
|
|
|
13
13
|
|
|
14
14
|
<!-- [](https://www.codacy.com/gh/mountain-pass/waycharter/dashboard?utm_source=github.com&utm_medium=referral&utm_content=mountain-pass/waycharter&utm_campaign=Badge_Grade) [](https://www.codacy.com/gh/mountain-pass/waycharter/dashboard?utm_source=github.com&utm_medium=referral&utm_content=mountain-pass/waycharter&utm_campaign=Badge_Coverage) -->
|
|
15
15
|
|
|
16
|
-
[](https://snyk.io/test/github/mountain-pass/waycharter) [](https://snyk.io/test/github/mountain-pass/waycharter) [](https://snyk.io/test/npm/@mountainpass/waycharter/2.0.4)
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
[](https://conventionalcommits.org) [](https://github.com/prettier/prettier)
|
package/dist/handler.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export declare type HandlerParameters<ResponseBody> = {
|
|
|
12
12
|
};
|
|
13
13
|
export declare type Handler<ResponseBody> = (parameters: HandlerParameters<ResponseBody>) => Promise<void> | void;
|
|
14
14
|
export declare type CollectionHandlerParameters<ResponseBody> = HandlerParameters<ResponseBody> & {
|
|
15
|
-
page
|
|
15
|
+
page?: string;
|
|
16
16
|
};
|
|
17
17
|
export declare type CollectionHandler<ResponseBody> = (parameters: CollectionHandlerParameters<ResponseBody>) => Promise<void> | void;
|
|
18
18
|
export declare type ActionHandlerParameters<ResponseBody> = Omit<HandlerParameters<ResponseBody>, 'requestHeaders'> & {
|