@discue/mongodb-resource-client
Advanced tools
Comparing version 0.28.0 to 0.29.0
@@ -54,2 +54,4 @@ const { createTracer } = require('@discue/open-telemetry-tracing') | ||
}) | ||
}).catch((e) => { | ||
console.error(`[mongodb-resource-client] Unable to create index for collection ${collectionName} in db ${databaseName}`, e) | ||
}) | ||
@@ -56,0 +58,0 @@ } |
@@ -15,3 +15,3 @@ /// <reference types="node" /> | ||
_collectionName: string; | ||
_eventEmitter: import("events"); | ||
_eventEmitter: import("events")<[never]>; | ||
_emitUsageEventEnabled: boolean; | ||
@@ -18,0 +18,0 @@ _emitUsageEvent: ({ context, resourceIds, before, after }: { |
@@ -99,2 +99,4 @@ const { MongoClient, Timestamp } = require('mongodb') | ||
}) | ||
}).catch((e) => { | ||
console.error(`[mongodb-resource-client] Unable to create index for collection ${this._collectionName} in db ${this._databaseName}`, e) | ||
}) | ||
@@ -101,0 +103,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "0.28.0", | ||
"version": "0.29.0", | ||
"description": "Simple wrapper around mongodb client allowing easier managing of resources", | ||
@@ -60,10 +60,10 @@ "main": "lib/index", | ||
"@types/mocha": "^10.0.6", | ||
"@types/node": "^20.11.17", | ||
"@types/node": "^20.11.24", | ||
"chai": "^4.3.10", | ||
"documentation": "^14.0.3", | ||
"eslint": "^8.56.0", | ||
"eslint": "^8.57.0", | ||
"mocha": "^10.3.0", | ||
"mongodb": "^6.3.0", | ||
"mongodb": "^6.4.0", | ||
"mongodb-memory-server": "^9.1.6", | ||
"nodemon": "^3.0.3", | ||
"nodemon": "^3.1.0", | ||
"standard-version": "^9.5.0", | ||
@@ -70,0 +70,0 @@ "typescript": "^5.3.3" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
119079
2982