@medusajs/medusa 1.1.44-next.0 → 1.1.44-next.1
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.
|
@@ -44,7 +44,7 @@ var ProductSearchSubscriber = function ProductSearchSubscriber(_ref) {
|
|
|
44
44
|
case 2:
|
|
45
45
|
product = _context.sent;
|
|
46
46
|
_context.next = 5;
|
|
47
|
-
return _this.
|
|
47
|
+
return _this.searchService_.addDocuments(_product["default"].IndexName, [product], _medusaCoreUtils.indexTypes.products);
|
|
48
48
|
|
|
49
49
|
case 5:
|
|
50
50
|
case "end":
|
|
@@ -98,7 +98,7 @@ var ProductSearchSubscriber = function ProductSearchSubscriber(_ref) {
|
|
|
98
98
|
case 2:
|
|
99
99
|
product = _context3.sent;
|
|
100
100
|
_context3.next = 5;
|
|
101
|
-
return _this.
|
|
101
|
+
return _this.searchService_.addDocuments(_product["default"].IndexName, [product], _medusaCoreUtils.indexTypes.products);
|
|
102
102
|
|
|
103
103
|
case 5:
|
|
104
104
|
case "end":
|
|
@@ -119,7 +119,7 @@ var ProductSearchSubscriber = function ProductSearchSubscriber(_ref) {
|
|
|
119
119
|
switch (_context4.prev = _context4.next) {
|
|
120
120
|
case 0:
|
|
121
121
|
_context4.next = 2;
|
|
122
|
-
return _this.
|
|
122
|
+
return _this.searchService_.deleteDocument(_product["default"].IndexName, data.id);
|
|
123
123
|
|
|
124
124
|
case 2:
|
|
125
125
|
case "end":
|
|
@@ -146,7 +146,7 @@ var ProductSearchSubscriber = function ProductSearchSubscriber(_ref) {
|
|
|
146
146
|
case 2:
|
|
147
147
|
product = _context5.sent;
|
|
148
148
|
_context5.next = 5;
|
|
149
|
-
return _this.
|
|
149
|
+
return _this.searchService_.addDocuments(_product["default"].IndexName, [product], _medusaCoreUtils.indexTypes.products);
|
|
150
150
|
|
|
151
151
|
case 5:
|
|
152
152
|
case "end":
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medusajs/medusa",
|
|
3
|
-
"version": "1.1.44-next.
|
|
3
|
+
"version": "1.1.44-next.1+116f85e7",
|
|
4
4
|
"description": "E-commerce for JAMstack",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"@babel/cli": "^7.14.3",
|
|
21
21
|
"@babel/core": "^7.14.3",
|
|
22
22
|
"@babel/preset-typescript": "^7.13.0",
|
|
23
|
-
"babel-preset-medusa-package": "^1.1.
|
|
23
|
+
"babel-preset-medusa-package": "^1.1.15",
|
|
24
24
|
"cross-env": "^5.2.1",
|
|
25
25
|
"eslint": "^6.8.0",
|
|
26
26
|
"jest": "^25.5.2",
|
|
27
|
-
"medusa-interfaces": "^1.1.
|
|
27
|
+
"medusa-interfaces": "^1.1.25",
|
|
28
28
|
"nodemon": "^2.0.1",
|
|
29
29
|
"prettier": "^1.19.1",
|
|
30
30
|
"sqlite3": "^5.0.2",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@hapi/joi": "^16.1.8",
|
|
48
|
-
"@medusajs/medusa-cli": "^1.1.
|
|
48
|
+
"@medusajs/medusa-cli": "^1.1.20",
|
|
49
49
|
"@types/lodash": "^4.14.168",
|
|
50
50
|
"awilix": "^4.2.3",
|
|
51
51
|
"body-parser": "^1.19.0",
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
"joi": "^17.3.0",
|
|
68
68
|
"joi-objectid": "^3.0.1",
|
|
69
69
|
"jsonwebtoken": "^8.5.1",
|
|
70
|
-
"medusa-core-utils": "^1.1.
|
|
71
|
-
"medusa-test-utils": "^1.1.
|
|
70
|
+
"medusa-core-utils": "^1.1.24",
|
|
71
|
+
"medusa-test-utils": "^1.1.27",
|
|
72
72
|
"morgan": "^1.9.1",
|
|
73
73
|
"multer": "^1.4.2",
|
|
74
74
|
"passport": "^0.4.0",
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"uuid": "^8.3.1",
|
|
88
88
|
"winston": "^3.2.1"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "116f85e7e1870c5a1e4a2e8b7288267614aa7883"
|
|
91
91
|
}
|