bun-plugin-stx 0.2.151 → 0.2.152
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/serve.js +1 -0
- package/package.json +1 -1
package/dist/serve.js
CHANGED
|
@@ -9216,6 +9216,7 @@ After installing: bun add bun-plugin-stx`);
|
|
|
9216
9216
|
const ip = reqCtx ? reqCtx.ip : activeServeIp;
|
|
9217
9217
|
context.__stxServeSearch = search;
|
|
9218
9218
|
globalThis.__stxServeSearch = search;
|
|
9219
|
+
context.query = Object.fromEntries(new URLSearchParams(search ?? ""));
|
|
9219
9220
|
if (host)
|
|
9220
9221
|
context.host = host;
|
|
9221
9222
|
context.cookies = cookies;
|
package/package.json
CHANGED