flexmonster-mongo-connector 2.9.58 → 2.9.60

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/README.md CHANGED
@@ -9,7 +9,7 @@ Flexmonster Pivot is a powerful JavaScript tool for interactive web reporting. I
9
9
 
10
10
  This package is a Flexmonster Connector for [MongoDB](https://www.mongodb.com/) applications.
11
11
 
12
- [Flexmonster MongoDB Connector](https://www.flexmonster.com/doc/introduction-to-the-flexmonster-mongodb-connector?r=mongo_connect) is a special server-side tool intended to help you retrieve the data from a MongoDB database to Flexmonster Pivot. It has to be embedded into a server that accepts requests for the data from Flexmonster and passes them to the Connector.
12
+ [Flexmonster MongoDB Connector](https://www.flexmonster.com/doc/introduction-to-the-flexmonster-mongodb-connector?r=mongo_connect) is a server-side tool that helps you retrieve the data from a MongoDB database to Flexmonster Pivot. The Connector has to be embedded into a server.
13
13
 
14
14
  Table of contents:
15
15
 
@@ -4,6 +4,6 @@ export declare class MongoQueryExecutor {
4
4
  private _mongoDBInstance;
5
5
  constructor();
6
6
  injectDBConnection(mongoDBInstance: Db): void;
7
- runShemaQuery(collection: CollectionName): Promise<void>;
7
+ runShemaQuery(collection: CollectionName): Promise<import("mongodb").WithId<import("bson").Document>>;
8
8
  runAggregateQuery(collection: CollectionName, pipeline: any[]): Promise<import("mongodb").AggregationCursor<import("bson").Document>>;
9
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flexmonster-mongo-connector",
3
- "version": "2.9.58",
3
+ "version": "2.9.60",
4
4
  "description": "Custom data source API implementation for MongoDB",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -29,10 +29,10 @@
29
29
  ],
30
30
  "license": "MIT",
31
31
  "peerDependencies": {
32
- "mongodb": "^4.4.0"
32
+ "mongodb": "^4.17.0"
33
33
  },
34
34
  "dependencies": {
35
- "mongodb": "^4.4.0"
35
+ "mongodb": "^4.17.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@types/node": "^12.12.6",