@itentialopensource/adapter-mockdevice 2.0.0 → 2.0.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/CHANGELOG.md CHANGED
@@ -1,4 +1,12 @@
1
1
 
2
+ ## 2.0.1 [08-11-2023]
3
+
4
+ * Add response code to getConfig
5
+
6
+ See merge request itentialopensource/adapters/adapter-mockdevice!13
7
+
8
+ ---
9
+
2
10
  ## 2.0.0 [06-01-2023]
3
11
 
4
12
  * Major/adapt 2666
package/adapter.js CHANGED
@@ -318,6 +318,7 @@ class MockDevice {
318
318
  });
319
319
  }
320
320
  return callback({
321
+ code: 200,
321
322
  device: deviceId,
322
323
  config: result.config
323
324
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-mockdevice",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "mock implementation of device broker",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -44,7 +44,7 @@
44
44
  "fs-extra": "^8.1.0",
45
45
  "package-json-validator": "^0.6.3",
46
46
  "readline-sync": "^1.4.10",
47
- "semver": "^7.3.2"
47
+ "semver": "^7.5.4"
48
48
  },
49
49
  "devDependencies": {
50
50
  "chai": "^4.3.4",
Binary file