diff --git a/package-lock.json b/package-lock.json index 29fd61138..754367d7e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "kuzzle-sdk", - "version": "7.10.5", + "version": "7.10.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "kuzzle-sdk", - "version": "7.10.5", + "version": "7.10.6", "license": "Apache-2.0", "dependencies": { "min-req-promise": "^1.0.1", diff --git a/package.json b/package.json index 8e65472dc..d2f2e0e42 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kuzzle-sdk", - "version": "7.10.5", + "version": "7.10.6", "description": "Official Javascript SDK for Kuzzle", "author": "The Kuzzle Team ", "repository": { diff --git a/src/Kuzzle.ts b/src/Kuzzle.ts index 109f4161e..c474740bc 100644 --- a/src/Kuzzle.ts +++ b/src/Kuzzle.ts @@ -780,7 +780,7 @@ export class Kuzzle extends KuzzleEventEmitter { * @param req * @param opts - Optional arguments */ - query( + query( req: TRequest, opts: JSONObject = {} ): Promise> {