@okf/ootils 1.5.0 → 1.5.2

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/dist/node.js CHANGED
@@ -348,7 +348,6 @@ var require_MongoConnector = __commonJS({
348
348
  var MongoConnector3 = class _MongoConnector {
349
349
  constructor(options) {
350
350
  __publicField(this, "initiateConnectionEventListeners", (CLUSTER_NAME) => {
351
- console.log("in initiate connection listeners");
352
351
  this.clusterConnections[CLUSTER_NAME].on("open", () => {
353
352
  console.log(`\u2705 Mongoose connection open to ${CLUSTER_NAME}`);
354
353
  });
@@ -1030,7 +1029,7 @@ var require_GET_GLOBAL_BULLMQ_CONFIG = __commonJS({
1030
1029
  ...acc,
1031
1030
  [key]: {
1032
1031
  ...BASE_BULLMQ_CONFIG2[key],
1033
- id: BASE_BULLMQ_CONFIG2[key].id + `_${env}`,
1032
+ id: BASE_BULLMQ_CONFIG2[key].id + `_${process.env.NODE_ENV !== "production" ? `local_${process.env.USER || process.env.USERNAME}` : env}`,
1034
1033
  // suffix env to queue to keep it unique for each environment
1035
1034
  queueConfig: {
1036
1035
  connection: redisConnectionForBullMQ,
package/dist/node.mjs CHANGED
@@ -353,7 +353,6 @@ var require_MongoConnector = __commonJS({
353
353
  var MongoConnector3 = class _MongoConnector {
354
354
  constructor(options) {
355
355
  __publicField(this, "initiateConnectionEventListeners", (CLUSTER_NAME) => {
356
- console.log("in initiate connection listeners");
357
356
  this.clusterConnections[CLUSTER_NAME].on("open", () => {
358
357
  console.log(`\u2705 Mongoose connection open to ${CLUSTER_NAME}`);
359
358
  });
@@ -1035,7 +1034,7 @@ var require_GET_GLOBAL_BULLMQ_CONFIG = __commonJS({
1035
1034
  ...acc,
1036
1035
  [key]: {
1037
1036
  ...BASE_BULLMQ_CONFIG2[key],
1038
- id: BASE_BULLMQ_CONFIG2[key].id + `_${env}`,
1037
+ id: BASE_BULLMQ_CONFIG2[key].id + `_${process.env.NODE_ENV !== "production" ? `local_${process.env.USER || process.env.USERNAME}` : env}`,
1039
1038
  // suffix env to queue to keep it unique for each environment
1040
1039
  queueConfig: {
1041
1040
  connection: redisConnectionForBullMQ,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.5.0",
6
+ "version": "1.5.2",
7
7
  "description": "Utility functions for both browser and Node.js",
8
8
  "main": "dist/index.js",
9
9
  "module": "dist/index.mjs",