@sdflc/backend-helpers 1.0.136 → 1.0.137

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.
@@ -90,6 +90,11 @@ const createContextDefault = async (args) => {
90
90
  authorization,
91
91
  fingerprint,
92
92
  authorizationToken,
93
+ // Parsed request cookies must be exposed on the context so callers can read
94
+ // `context.cookies` (e.g. cookie-based flows that don't use the JWT). This
95
+ // was dropped from sharedContext in an earlier refactor, leaving
96
+ // `context.cookies` undefined even though the cookie was parsed.
97
+ cookies,
93
98
  isExternalDb: !!inDb,
94
99
  // Rate limiting — undefined values are omitted so context stays clean when
95
100
  // neither is configured.
@@ -83,6 +83,11 @@ export const createContextDefault = async (args) => {
83
83
  authorization,
84
84
  fingerprint,
85
85
  authorizationToken,
86
+ // Parsed request cookies must be exposed on the context so callers can read
87
+ // `context.cookies` (e.g. cookie-based flows that don't use the JWT). This
88
+ // was dropped from sharedContext in an earlier refactor, leaving
89
+ // `context.cookies` undefined even though the cookie was parsed.
90
+ cookies,
86
91
  isExternalDb: !!inDb,
87
92
  // Rate limiting — undefined values are omitted so context stays clean when
88
93
  // neither is configured.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sdflc/backend-helpers",
3
- "version": "1.0.136",
3
+ "version": "1.0.137",
4
4
  "description": "Set of helper functions and classes to simplify building backend apps within @sdflc ecosystem",
5
5
  "type": "commonjs",
6
6
  "exports": {