@wbce-d9/api 10.1.0 → 10.3.0
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/constants.js +1 -1
- package/package.json +6 -6
package/dist/constants.js
CHANGED
|
@@ -57,7 +57,7 @@ export const COOKIE_OPTIONS = {
|
|
|
57
57
|
};
|
|
58
58
|
export const GET_SET_HEADER = (cookieValue) => {
|
|
59
59
|
const domainHeader = env['REFRESH_TOKEN_COOKIE_DOMAIN'] ? ` Domain=${env['REFRESH_TOKEN_COOKIE_DOMAIN']};` : '';
|
|
60
|
-
const partitionedHeader = env['REFRESH_TOKEN_COOKIE_PARTITIONED'] ==
|
|
60
|
+
const partitionedHeader = env['REFRESH_TOKEN_COOKIE_PARTITIONED'] == true ? ' Partitioned;' : '';
|
|
61
61
|
const cookieHeaderValue = `${env['REFRESH_TOKEN_COOKIE_NAME']}=${cookieValue}; HttpOnly; Max-Age=${getMilliseconds(env['REFRESH_TOKEN_TTL'])}; Secure=${env['REFRESH_TOKEN_COOKIE_SECURE'] ?? false}; SameSite=${env['REFRESH_TOKEN_COOKIE_SAME_SITE'] || 'strict'}; Path=/;${domainHeader}${partitionedHeader}`;
|
|
62
62
|
return cookieHeaderValue;
|
|
63
63
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wbce-d9/api",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.3.0",
|
|
4
4
|
"description": "Directus is a real-time API and App dashboard for managing SQL database content",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -146,17 +146,17 @@
|
|
|
146
146
|
"@wbce-d9/app": "9.29.0",
|
|
147
147
|
"@wbce-d9/constants": "9.26.3",
|
|
148
148
|
"@wbce-d9/exceptions": "9.26.3",
|
|
149
|
-
"@wbce-d9/schema": "9.26.3",
|
|
150
149
|
"@wbce-d9/extensions-sdk": "9.26.5",
|
|
150
|
+
"@wbce-d9/schema": "9.26.3",
|
|
151
|
+
"@wbce-d9/storage-driver-azure": "9.26.5",
|
|
151
152
|
"@wbce-d9/specs": "9.26.3",
|
|
152
153
|
"@wbce-d9/storage": "9.26.3",
|
|
153
|
-
"@wbce-d9/storage-driver-azure": "9.26.5",
|
|
154
154
|
"@wbce-d9/storage-driver-cloudinary": "9.26.5",
|
|
155
|
-
"@wbce-d9/storage-driver-
|
|
155
|
+
"@wbce-d9/storage-driver-gcs": "9.26.5",
|
|
156
156
|
"@wbce-d9/storage-driver-s3": "9.26.7",
|
|
157
|
+
"@wbce-d9/update-check": "9.26.3",
|
|
157
158
|
"@wbce-d9/utils": "9.28.0",
|
|
158
|
-
"@wbce-d9/storage-driver-
|
|
159
|
-
"@wbce-d9/update-check": "9.26.3"
|
|
159
|
+
"@wbce-d9/storage-driver-local": "9.26.5"
|
|
160
160
|
},
|
|
161
161
|
"devDependencies": {
|
|
162
162
|
"@ngneat/falso": "6.4.0",
|