feat(medusa): cart context (#201)

- Adds a context field to Cart
- context is automatically populated with ip + user agent
- context can be updated via POST /store/cart/:id or set when creating via POST /store/cart
This commit is contained in:
Sebastian Rindom
2021-03-12 11:48:51 +01:00
committed by GitHub
parent a031f1f338
commit dd7b306333
20 changed files with 3499 additions and 657 deletions

View File

@@ -18,6 +18,7 @@
"cross-env": "^7.0.2",
"express": "^4.17.1",
"get-port": "^5.1.1",
"import-from": "^3.0.0",
"jest": "^26.6.3",
"lerna": "^3.22.1",
"mongoose": "^5.10.15",