diff --git a/package-lock.json b/package-lock.json index bb37b9b654..d3f46be1a9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,7 +28,6 @@ "koncorde": "4.3.0", "kuzzle-plugin-auth-passport-local": "6.4.0", "kuzzle-plugin-logger": "3.0.3", - "kuzzle-sdk": "7.11.1", "kuzzle-vault": "2.0.4", "lodash": "4.17.21", "long": "5.2.3", @@ -74,6 +73,7 @@ "ergol": "1.0.2", "eslint-plugin-kuzzle": "0.0.12", "jest": "29.7.0", + "kuzzle-sdk": "^7.11.3", "mocha": "10.2.0", "mock-require": "3.0.3", "mqtt": "5.3.0", @@ -94,6 +94,9 @@ }, "engines": { "node": ">= 12.13.0" + }, + "peerDependencies": { + "kuzzle-sdk": ">=7.11.1 <8" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -10325,9 +10328,10 @@ } }, "node_modules/kuzzle-sdk": { - "version": "7.11.1", - "resolved": "https://registry.npmjs.org/kuzzle-sdk/-/kuzzle-sdk-7.11.1.tgz", - "integrity": "sha512-1nPZmekFE2Q1gNhPisn9kg1/LsDRzDnl4GIYGdjIHISK5BhiAICMEsmMMyTiYqja42/mdMqm+M5bFx4p3wMJdQ==", + "version": "7.11.3", + "resolved": "https://registry.npmjs.org/kuzzle-sdk/-/kuzzle-sdk-7.11.3.tgz", + "integrity": "sha512-YHPSE99GRg1GT9UD5hOuJnt5vc/Gqmp705id4sCjyRJNRaq9uf3j3OzM6bvD+4YPZB7LTim53z66CFQP7IV7Qg==", + "dev": true, "dependencies": { "min-req-promise": "^1.0.1", "ws": "^8.13.0" @@ -11452,7 +11456,8 @@ "node_modules/min-req-promise": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/min-req-promise/-/min-req-promise-1.0.1.tgz", - "integrity": "sha512-PD2LObOGZPBPk3EMiuxc4Te0a0T0C6ZZni4m6eNl1zgxqJh+jThM026TmxV6IcJM8MWPHagJm3Q+zm2CNOAiDg==" + "integrity": "sha512-PD2LObOGZPBPk3EMiuxc4Te0a0T0C6ZZni4m6eNl1zgxqJh+jThM026TmxV6IcJM8MWPHagJm3Q+zm2CNOAiDg==", + "dev": true }, "node_modules/minimatch": { "version": "3.1.2", @@ -21315,6 +21320,7 @@ "version": "8.16.0", "resolved": "https://registry.npmjs.org/ws/-/ws-8.16.0.tgz", "integrity": "sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==", + "dev": true, "engines": { "node": ">=10.0.0" }, diff --git a/package.json b/package.json index 24acd50d51..68a4fed139 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,9 @@ "directories": { "lib": "lib" }, + "peerDependencies": { + "kuzzle-sdk": ">=7.11.1 <8" + }, "dependencies": { "@elastic/elasticsearch": "https://github.com/elastic/elasticsearch-js/archive/refs/tags/v7.13.0.tar.gz", "aedes": "0.46.3", @@ -48,7 +51,6 @@ "koncorde": "4.3.0", "kuzzle-plugin-auth-passport-local": "6.4.0", "kuzzle-plugin-logger": "3.0.3", - "kuzzle-sdk": "7.11.1", "kuzzle-vault": "2.0.4", "lodash": "4.17.21", "long": "5.2.3", @@ -95,6 +97,7 @@ "ergol": "1.0.2", "eslint-plugin-kuzzle": "0.0.12", "jest": "29.7.0", + "kuzzle-sdk": "^7.11.3", "mocha": "10.2.0", "mock-require": "3.0.3", "mqtt": "5.3.0",