@opra/mongodb 0.32.0 → 0.32.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opra/mongodb",
3
- "version": "0.32.0",
3
+ "version": "0.32.2",
4
4
  "description": "Opra MongoDB adapter package",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
@@ -32,8 +32,8 @@
32
32
  "ts-gems": "^2.7.1"
33
33
  },
34
34
  "peerDependencies": {
35
- "@opra/common": "^0.32.0",
36
- "@opra/core": "^0.32.0",
35
+ "@opra/common": "^0.32.2",
36
+ "@opra/core": "^0.32.2",
37
37
  "mongodb": ">=6.x.x"
38
38
  },
39
39
  "type": "module",
@@ -79,7 +79,7 @@ export declare class MongoCollectionService<T extends mongodb.Document> extends
79
79
  * @param id
80
80
  * @param options
81
81
  */
82
- get(id: AnyId, options?: MongoCollectionService.FindOneOptions): Promise<PartialOutput<any>>;
82
+ get(id: AnyId, options?: MongoCollectionService.FindOneOptions): Promise<PartialOutput<T>>;
83
83
  /**
84
84
  * Updates a single document.
85
85
  * Returns updated document