@opra/mongodb 1.0.0-alpha.19 → 1.0.0-alpha.20
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 +3 -3
- package/types/mongo-service.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opra/mongodb",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.20",
|
|
4
4
|
"description": "Opra MongoDB adapter package",
|
|
5
5
|
"author": "Panates",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"ts-gems": "^3.4.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@opra/common": "^1.0.0-alpha.
|
|
41
|
-
"@opra/core": "^1.0.0-alpha.
|
|
40
|
+
"@opra/common": "^1.0.0-alpha.20",
|
|
41
|
+
"@opra/core": "^1.0.0-alpha.20",
|
|
42
42
|
"mongodb": ">= 6.0.0"
|
|
43
43
|
},
|
|
44
44
|
"type": "module",
|
package/types/mongo-service.d.ts
CHANGED
|
@@ -137,11 +137,11 @@ export interface MongoService {
|
|
|
137
137
|
* Interceptor function for handling callback execution with provided arguments.
|
|
138
138
|
* @type Function
|
|
139
139
|
* @param next - The callback function to be intercepted.
|
|
140
|
-
* @param {MongoService.CommandInfo}
|
|
140
|
+
* @param {MongoService.CommandInfo} command - The arguments object containing the following properties:
|
|
141
141
|
* @param _this - The reference to the current object.
|
|
142
142
|
* @returns - The promise that resolves to the result of the callback execution.
|
|
143
143
|
*/
|
|
144
|
-
interceptor?(next: () => any,
|
|
144
|
+
interceptor?(next: () => any, command: MongoService.CommandInfo, _this: any): Promise<any>;
|
|
145
145
|
}
|
|
146
146
|
/**
|
|
147
147
|
* Class representing a MongoDB service for interacting with a collection.
|