cocoro-sdk
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -232,3 +232,3 @@ "use strict"; | ||
_b = _a[_i], k = _b[0], v = _b[1]; | ||
for (i = 0; i <= device.status.length; i++) { | ||
for (i = 0; i < device.status.length; i++) { | ||
if (device.status[i].statusCode === k) { | ||
@@ -235,0 +235,0 @@ device.status[i] = v; |
@@ -9,4 +9,4 @@ import { Property, PropertyStatus, StatusCode, ValueSingle } from './properties'; | ||
echonetObject: string; | ||
properties: [Property]; | ||
status: [PropertyStatus]; | ||
properties: Property[]; | ||
status: PropertyStatus[]; | ||
maker: string; | ||
@@ -29,4 +29,4 @@ model: string; | ||
echonetObject: string; | ||
readonly properties: [Property]; | ||
status: [PropertyStatus]; | ||
readonly properties: Property[]; | ||
status: PropertyStatus[]; | ||
propertyUpdates: any; | ||
@@ -33,0 +33,0 @@ maker: string; |
{ | ||
"name": "cocoro-sdk", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -169,3 +169,3 @@ import { default as fetchCookie } from 'fetch-cookie'; | ||
for (const [k, v] of Object.entries(updateMap)) { | ||
for (let i = 0; i <= device.status.length; i++) { | ||
for (let i = 0; i < device.status.length; i++) { | ||
if (device.status[i].statusCode === k) { | ||
@@ -172,0 +172,0 @@ device.status[i] = v; |
@@ -27,4 +27,4 @@ import { default as fetchCookie } from 'fetch-cookie'; | ||
properties: [Property]; | ||
status: [PropertyStatus]; | ||
properties: Property[]; | ||
status: PropertyStatus[]; | ||
@@ -50,4 +50,4 @@ maker: string; | ||
readonly properties: [Property]; | ||
status: [PropertyStatus]; | ||
readonly properties: Property[]; | ||
status: PropertyStatus[]; | ||
@@ -54,0 +54,0 @@ propertyUpdates: any; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2
63325