@joystick.js/node-canary 0.0.0-canary.37 → 0.0.0-canary.39

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.
@@ -1,7 +1,5 @@
1
1
  import escapeKeyValuePair from "../../lib/escapeKeyValuePair.js";
2
2
  var sanitizeRequestParameters_default = (req, res, next) => {
3
- req.params = escapeKeyValuePair(req.params);
4
- req.query = escapeKeyValuePair(req.query);
5
3
  next();
6
4
  };
7
5
  export {
@@ -16,6 +16,9 @@ var registerGetters_default = (express, getters = [], context = {}, APIOptions =
16
16
  if (!isValidSession) {
17
17
  return;
18
18
  }
19
+ console.log({
20
+ query: req?.query
21
+ });
19
22
  const getterContext = await getAPIContext({ req, res }, context);
20
23
  const input = req?.query?.input ? JSON.parse(req?.query?.input) : null;
21
24
  const output = req?.query?.output ? JSON.parse(req?.query?.output) : null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joystick.js/node-canary",
3
- "version": "0.0.0-canary.37",
3
+ "version": "0.0.0-canary.39",
4
4
  "type": "module",
5
5
  "description": "A Node.js framework for building web apps.",
6
6
  "main": "./dist/index.js",