@ray-js/robot-data-stream 0.0.13-beta-6 → 0.0.13-beta-8

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.
@@ -40,9 +40,10 @@ export const useSpotClean = devId => {
40
40
  origin
41
41
  } = message;
42
42
  if (useMqtt) {
43
- if (!isArray(spots) || isArray(spots) && spots.length === 0) {
44
- return Promise.reject(new Error('message is required'));
45
- }
43
+ // if (!isArray(spots) || (isArray(spots) && spots.length === 0)) {
44
+ // return Promise.reject(new Error('message is required'));
45
+ // }
46
+
46
47
  const num = spots.length;
47
48
  const {
48
49
  suctions = new Array(num).fill(''),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/robot-data-stream",
3
- "version": "0.0.13-beta-6",
3
+ "version": "0.0.13-beta-8",
4
4
  "description": "扫地机P2P数据流标准化组件",
5
5
  "main": "lib/index",
6
6
  "files": [