cloud-ide-model-schema 1.1.39 → 1.1.40

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.
@@ -67,7 +67,7 @@ function connectDB() {
67
67
  // Event listner for success and error // pending
68
68
  var customUUID = function () {
69
69
  var _a, _b, _c;
70
- var key = (_c = "".concat((_b = (_a = (new mongoose.Types.ObjectId())) === null || _a === void 0 ? void 0 : _a.toHexString()) === null || _b === void 0 ? void 0 : _b.slice(0, 24))) === null || _c === void 0 ? void 0 : _c.toLowerCase();
70
+ var key = (_c = "".concat((_b = (_a = (new mongoose.Types.ObjectId())) === null || _a === void 0 ? void 0 : _a.toHexString()) === null || _b === void 0 ? void 0 : _b.slice(0, 21)).concat(process.env.UUID_PREFIX)) === null || _c === void 0 ? void 0 : _c.toLowerCase();
71
71
  console.log('Generated custom UUID:', key);
72
72
  return key;
73
73
  };
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript": "^5.8.3"
10
10
  },
11
11
  "name": "cloud-ide-model-schema",
12
- "version": "1.1.39",
12
+ "version": "1.1.40",
13
13
  "description": "Pachage for schema management of Cloud IDEsys LMS",
14
14
  "main": "lib/index.js",
15
15
  "types": "lib/index.d.ts",