biz-slide-core 1.2.38 → 1.2.40

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,7 +18,11 @@ var PPTSchema = new mongoose_1.Schema({
18
18
  prompt: { type: String, default: null },
19
19
  templateId: { type: mongoose_1.Schema.Types.ObjectId, ref: 'template' },
20
20
  hasError: { type: Boolean, default: false },
21
- slideRefs: { type: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'ppt-slide' }], default: [], _id: false }
21
+ slideRefs: { type: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'ppt-slide' }], default: [], _id: false },
22
+ version: { type: String, default: null },
23
+ noOfSlides: { type: Number, default: null },
24
+ trackIP: { type: String, default: null },
25
+ sessionId: { type: String, default: null }
22
26
  }, {
23
27
  timestamps: true,
24
28
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz-slide-core",
3
- "version": "1.2.38",
3
+ "version": "1.2.40",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -63,7 +63,7 @@ function callWithRetries(retryCount, failedMessage, functionRef) {
63
63
  error_1 = _a.sent();
64
64
  if (retryCount <= 0)
65
65
  throw error_1;
66
- console.log("callWithRetries", error_1 === null || error_1 === void 0 ? void 0 : error_1.message);
66
+ console.log("callWithRetries", (error_1 === null || error_1 === void 0 ? void 0 : error_1.message) || error_1);
67
67
  return [2 /*return*/, callWithRetries.apply(void 0, __spreadArray([retryCount - 1, failedMessage, functionRef], args, false))];
68
68
  case 3: return [2 /*return*/];
69
69
  }