@autofleet/settings 1.0.11-beta.2 → 1.1.1

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/dist/index.js CHANGED
@@ -78,7 +78,7 @@ class SettingsManager {
78
78
  this.settingsCache.set(cacheKey, waitingToNetwork, this.ttl);
79
79
  const networkResponse = yield this.network.get(`/api/v1/settings/get-setting/${key}`, {
80
80
  params: {
81
- labels: labels.map((label) => JSON.stringify(label)),
81
+ labels,
82
82
  },
83
83
  timeout,
84
84
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autofleet/settings",
3
- "version": "1.0.11-beta.2",
3
+ "version": "1.1.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -14,16 +14,14 @@
14
14
  "dev": "nodemon"
15
15
  },
16
16
  "dependencies": {
17
- "@autofleet/logger": "^1.0.0",
18
- "@autofleet/network": "^1.2.1",
17
+ "@autofleet/logger": "^1.1.0",
18
+ "@autofleet/network": "^1.3.4",
19
19
  "@types/jest": "^22.0.0",
20
- "@types/qs": "^6.9.7",
21
20
  "bluebird": "^3.7.2",
22
21
  "dotenv": "^8.2.0",
23
22
  "jest": "^22.4.4",
24
23
  "nock": "^10.0.2",
25
- "node-cache": "^5.1.2",
26
- "qs": "^6.5.2"
24
+ "node-cache": "^5.1.2"
27
25
  },
28
26
  "devDependencies": {
29
27
  "@typescript-eslint/eslint-plugin": "^4.8.1",
package/src/index.ts CHANGED
@@ -113,7 +113,7 @@ class SettingsManager {
113
113
  this.settingsCache.set(cacheKey, waitingToNetwork, this.ttl);
114
114
  const networkResponse = await this.network.get(`/api/v1/settings/get-setting/${key}`, {
115
115
  params: {
116
- labels: labels.map((label) => JSON.stringify(label)),
116
+ labels,
117
117
  },
118
118
  timeout,
119
119
  });