shuttlepro-shared 1.4.59 → 1.4.61

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
@@ -52,6 +52,7 @@ const ProductSchema = new Schema(
52
52
  presentedName: { type: String, default: "" },
53
53
  presentedCurrency: { type: String, default: "" },
54
54
  presentedCurrencySymbol: { type: String, default: "" },
55
+ embedded:{ type: Boolean, default: false },
55
56
  websiteId: {
56
57
  type: Schema.Types.ObjectId,
57
58
  ref: "Website",
@@ -192,7 +193,7 @@ const updateNewProduct = async (doc, next) => {
192
193
  newProductData,
193
194
  { upsert: true, new: true }
194
195
  );
195
- await updateEmbedding(newProductData.id, newProductData.workspaceId);
196
+ // await updateEmbedding(newProductData.id, newProductData.workspaceId);
196
197
  }
197
198
  } catch (error) {
198
199
  console.error("Error updating NewProduct:", error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shuttlepro-shared",
3
- "version": "1.4.59",
3
+ "version": "1.4.61",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {