@resolveio/server-lib 9.2.5 → 9.2.6

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/fixtures/init.js CHANGED
@@ -39,8 +39,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.loadServerInit = void 0;
40
40
  var mongo_manager_1 = require("../managers/mongo.manager");
41
41
  var app_version_collection_1 = require("../collections/app-version.collection");
42
- var cron_job_collection_1 = require("../collections/cron-job.collection");
43
- var __1 = require("..");
44
42
  function loadServerInit() {
45
43
  return __awaiter(this, void 0, void 0, function () {
46
44
  var appVersion;
@@ -55,16 +53,6 @@ function loadServerInit() {
55
53
  version: 1
56
54
  });
57
55
  }
58
- cron_job_collection_1.CronJobs.deleteOne({ name: 'Method Queue' });
59
- if (__1.ResolveIOServer.getMainDB().collection('queue-flags')) {
60
- __1.ResolveIOServer.getMainDB().dropCollection('queue-flags');
61
- }
62
- if (__1.ResolveIOServer.getMainDB().collection('queue-methods')) {
63
- __1.ResolveIOServer.getMainDB().dropCollection('queue-methods');
64
- }
65
- if (__1.ResolveIOServer.getMainDB().collection('queue-responses')) {
66
- __1.ResolveIOServer.getMainDB().dropCollection('queue-responses');
67
- }
68
56
  return [2 /*return*/];
69
57
  }
70
58
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/fixtures/init.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2DAA8D;AAC9D,gFAAoE;AACpE,0EAA8D;AAC9D,wBAAqC;AAErC,SAAsB,cAAc;;;;;wBAClB,qBAAM,oCAAW,CAAC,OAAO,EAAE,EAAA;;oBAAxC,UAAU,GAAG,SAA2B;oBAE5C,IAAI,CAAC,UAAU,EAAE;wBAChB,oCAAW,CAAC,MAAM,CAAC;4BAClB,GAAG,EAAE,iCAAiB,EAAE;4BACxB,OAAO,EAAE,CAAC;yBACV,CAAC,CAAC;qBACH;oBAED,8BAAQ,CAAC,SAAS,CAAC,EAAC,IAAI,EAAE,cAAc,EAAC,CAAC,CAAC;oBAE3C,IAAI,mBAAe,CAAC,SAAS,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE;wBAC1D,mBAAe,CAAC,SAAS,EAAE,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;qBAC1D;oBAED,IAAI,mBAAe,CAAC,SAAS,EAAE,CAAC,UAAU,CAAC,eAAe,CAAC,EAAE;wBAC5D,mBAAe,CAAC,SAAS,EAAE,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC;qBAC5D;oBAED,IAAI,mBAAe,CAAC,SAAS,EAAE,CAAC,UAAU,CAAC,iBAAiB,CAAC,EAAE;wBAC9D,mBAAe,CAAC,SAAS,EAAE,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC;qBAC9D;;;;;CACD;AAvBD,wCAuBC","file":"init.js","sourcesContent":["import { objectIdHexString } from '../managers/mongo.manager';\nimport { AppVersions } from '../collections/app-version.collection';\nimport { CronJobs } from '../collections/cron-job.collection';\nimport { ResolveIOServer } from '..';\n\nexport async function loadServerInit() {\n\tlet appVersion = await AppVersions.findOne();\n\n\tif (!appVersion) {\n\t\tAppVersions.create({\n\t\t\t_id: objectIdHexString(),\n\t\t\tversion: 1\n\t\t});\n\t}\n\n\tCronJobs.deleteOne({name: 'Method Queue'});\n\t\n\tif (ResolveIOServer.getMainDB().collection('queue-flags')) {\n\t\tResolveIOServer.getMainDB().dropCollection('queue-flags');\n\t}\n\t\n\tif (ResolveIOServer.getMainDB().collection('queue-methods')) {\n\t\tResolveIOServer.getMainDB().dropCollection('queue-methods');\n\t}\n\t\n\tif (ResolveIOServer.getMainDB().collection('queue-responses')) {\n\t\tResolveIOServer.getMainDB().dropCollection('queue-responses');\n\t}\n}"]}
1
+ {"version":3,"sources":["../../src/fixtures/init.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2DAA8D;AAC9D,gFAAoE;AAIpE,SAAsB,cAAc;;;;;wBAClB,qBAAM,oCAAW,CAAC,OAAO,EAAE,EAAA;;oBAAxC,UAAU,GAAG,SAA2B;oBAE5C,IAAI,CAAC,UAAU,EAAE;wBAChB,oCAAW,CAAC,MAAM,CAAC;4BAClB,GAAG,EAAE,iCAAiB,EAAE;4BACxB,OAAO,EAAE,CAAC;yBACV,CAAC,CAAC;qBACH;;;;;CACD;AATD,wCASC","file":"init.js","sourcesContent":["import { objectIdHexString } from '../managers/mongo.manager';\nimport { AppVersions } from '../collections/app-version.collection';\nimport { CronJobs } from '../collections/cron-job.collection';\nimport { ResolveIOServer } from '..';\n\nexport async function loadServerInit() {\n\tlet appVersion = await AppVersions.findOne();\n\n\tif (!appVersion) {\n\t\tAppVersions.create({\n\t\t\t_id: objectIdHexString(),\n\t\t\tversion: 1\n\t\t});\n\t}\n}"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resolveio/server-lib",
3
- "version": "9.2.5",
3
+ "version": "9.2.6",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "scripts": {