@edgeiq/edgeiq-api-js 1.11.1 → 1.11.3

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.
@@ -29,6 +29,7 @@ export interface GatewayCommandRequest {
29
29
  filepath?: string;
30
30
  file_id?: string;
31
31
  configuration_id?: string;
32
+ device_config_id?: string;
32
33
  retry_options?: RetryOptions;
33
34
  }
34
35
  export interface Lwm2mRequest extends GatewayCommandRequest {
@@ -27,7 +27,7 @@ const NetworkInterfaceReports = {
27
27
  var _a;
28
28
  try {
29
29
  const axios = EdgeIQAPI.getAxios();
30
- const result = yield axios.get(`network_interface_infos?device_id=${device_id}&interface_name=${interface_name}`);
30
+ const result = yield axios.get(`network_interface_infos?device_id=${device_id}${interface_name ? `&interface_name=${interface_name}` : ''}`);
31
31
  return (_a = result === null || result === void 0 ? void 0 : result.data) === null || _a === void 0 ? void 0 : _a[0];
32
32
  }
33
33
  catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edgeiq/edgeiq-api-js",
3
- "version": "1.11.1",
3
+ "version": "1.11.3",
4
4
  "author": "EdgeIQ",
5
5
  "license": "ISC",
6
6
  "description": "This project presents EdgeIQ API SDK.",