senza-sdk 4.2.42 → 4.2.43

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "senza-sdk",
3
- "version": "4.2.42",
3
+ "version": "4.2.43",
4
4
  "main": "./src/api.js",
5
5
  "description": "API for Senza application",
6
6
  "license": "MIT",
@@ -41,8 +41,8 @@
41
41
  ],
42
42
  "coverageThreshold": {
43
43
  "global": {
44
- "branches": 87,
45
- "functions": 92.5,
44
+ "branches": 88,
45
+ "functions": 93,
46
46
  "lines": 94,
47
47
  "statements": 94
48
48
  }
@@ -69,6 +69,7 @@ class DeviceManager extends EventTarget {
69
69
  /**
70
70
  * @property {object} DeviceInfo
71
71
  * @property {string} DeviceInfo.deviceId
72
+ * @property {string} DeviceInfo.modelNumber
72
73
  * @property {string} DeviceInfo.connectionId
73
74
  * @property {string} DeviceInfo.community
74
75
  * @property {string} DeviceInfo.tenant
@@ -81,6 +82,7 @@ class DeviceManager extends EventTarget {
81
82
  if (isRunningE2E() && sessionInfoObj) {
82
83
  return {
83
84
  deviceId: sessionInfoObj.deviceId,
85
+ modelNumber: sessionInfoObj.modelNumber,
84
86
  connectionId: sessionInfoObj.connectionId,
85
87
  community: sessionInfoObj.community,
86
88
  tenant: sessionInfoObj.tenant,
@@ -92,6 +94,7 @@ class DeviceManager extends EventTarget {
92
94
  sdkLogger.log("getDeviceInfo running locally, returning dummy info");
93
95
  return {
94
96
  deviceId: "123456789",
97
+ modelNumber: "ABC",
95
98
  connectionId: "dummy",
96
99
  community: "LocalDev",
97
100
  tenant: "XXXXXX",