mosquito-transport 1.7.2 → 1.7.3

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.
Files changed (3) hide show
  1. package/TODO +2 -1
  2. package/lib/index.js +1 -1
  3. package/package.json +1 -1
package/TODO CHANGED
@@ -13,4 +13,5 @@
13
13
  - add `TIMESTAMP_OFFSET` ✅
14
14
  - add maxSimulatenousAuth
15
15
  - cross emailVerify
16
- - add revalidate and reverify method to auth-response
16
+ - add revalidate and reverify method to auth-response
17
+ - remove enforceVerifiedUser and validateUser to enforceUser
package/lib/index.js CHANGED
@@ -843,7 +843,7 @@ export default class MosquitoTransportServer {
843
843
  reqBody = JSON.parse(body);
844
844
  } catch (_) { }
845
845
  } else reqBody = body;
846
- } else if (req.headers['content-type'] === undefined && req.body) {
846
+ } else if (req.headers['entity-encoded'] === '1' && req.body) {
847
847
  reqBody = deserialize(req.body);
848
848
  }
849
849
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mosquito-transport",
3
- "version": "1.7.2",
3
+ "version": "1.7.3",
4
4
  "description": "Quickly spawn server infrastructure along robust authentication, database, storage, and cross-platform compatibility",
5
5
  "main": "lib/index.js",
6
6
  "type": "module",