@webda/core 3.18.0 → 3.18.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/package.json +2 -2
- package/webda.module.json +18 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webda/core",
|
|
3
|
-
"version": "3.18.
|
|
3
|
+
"version": "3.18.1",
|
|
4
4
|
"description": "Expose API with Lambda",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -113,5 +113,5 @@
|
|
|
113
113
|
"engines": {
|
|
114
114
|
"node": ">=18.0.0"
|
|
115
115
|
},
|
|
116
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "1f7922b43dc46514e644e94c88f4c354a51bf4a1"
|
|
117
117
|
}
|
package/webda.module.json
CHANGED
|
@@ -894,6 +894,8 @@
|
|
|
894
894
|
"type": "object",
|
|
895
895
|
"properties": {
|
|
896
896
|
"encode": {
|
|
897
|
+
"type": "object",
|
|
898
|
+
"properties": {},
|
|
897
899
|
"description": "Specifies a function that will be used to encode a [cookie-value](https://datatracker.ietf.org/doc/html/rfc6265#section-4.1.1). Since value of a cookie has a limited character set (and must be a simple string), this function can be used to encode a value into a string suited for a cookie's value, and should mirror `decode` when parsing.",
|
|
898
900
|
"default": "encodeURIComponent"
|
|
899
901
|
},
|
|
@@ -904,8 +906,7 @@
|
|
|
904
906
|
"default": "86400 * 7"
|
|
905
907
|
},
|
|
906
908
|
"expires": {
|
|
907
|
-
"type": "string"
|
|
908
|
-
"description": "Specifies the `Date` object to be the value for the [`Expires` `Set-Cookie` attribute](https://tools.ietf.org/html/rfc6265#section-5.2.1). When no expiration is set clients consider this a \"non-persistent cookie\" and delete it the current session is over.\n\nThe [cookie storage model specification](https://tools.ietf.org/html/rfc6265#section-5.3) states that if both `expires` and `maxAge` are set, then `maxAge` takes precedence, but it is possible not all clients by obey this, so if both are set, they should point to the same date and time."
|
|
909
|
+
"type": "string"
|
|
909
910
|
},
|
|
910
911
|
"path": {
|
|
911
912
|
"type": "string",
|
|
@@ -922,17 +923,23 @@
|
|
|
922
923
|
"description": "If not set will be true if https request and false otherwise If defined it will be set to the value"
|
|
923
924
|
},
|
|
924
925
|
"partitioned": {
|
|
925
|
-
"type": "boolean"
|
|
926
|
-
"description": "Enables the [`Partitioned` `Set-Cookie` attribute](https://tools.ietf.org/html/draft-cutler-httpbis-partitioned-cookies/). When enabled, clients will only send the cookie back when the current domain _and_ top-level domain matches.\n\nThis is an attribute that has not yet been fully standardized, and may change in the future. This also means clients may ignore this attribute until they understand it. More information about can be found in [the proposal](https://github.com/privacycg/CHIPS)."
|
|
926
|
+
"type": "boolean"
|
|
927
927
|
},
|
|
928
928
|
"priority": {
|
|
929
|
-
"
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
929
|
+
"anyOf": [
|
|
930
|
+
{
|
|
931
|
+
"type": "object",
|
|
932
|
+
"properties": {}
|
|
933
|
+
},
|
|
934
|
+
{
|
|
935
|
+
"type": "object",
|
|
936
|
+
"properties": {}
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
"type": "object",
|
|
940
|
+
"properties": {}
|
|
941
|
+
}
|
|
942
|
+
]
|
|
936
943
|
},
|
|
937
944
|
"sameSite": {
|
|
938
945
|
"type": "string",
|