shuttlepro-shared 1.3.75 → 1.3.76

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/models/Product.js CHANGED
@@ -171,7 +171,8 @@ const transformProductData = async (product) => {
171
171
  const updateNewProduct = async (doc, next) => {
172
172
  try {
173
173
  // Skip if document is marked as deleted
174
- if (doc.isDeleted) return;
174
+ console.log("doc", doc);
175
+ if (doc?.isDeleted) return;
175
176
 
176
177
  // Transform and upsert product data
177
178
  const newProductData = await transformProductData(doc);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shuttlepro-shared",
3
- "version": "1.3.75",
3
+ "version": "1.3.76",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {