@tuya-miniapp/ark-extension-virtual-device 1.4.1-beta-1 → 1.4.1-beta-2
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/dist/worker/index.js +24 -8
- package/package.json +1 -1
package/dist/worker/index.js
CHANGED
|
@@ -254087,20 +254087,32 @@ var startConnect = (0, import_lodash.debounce)(
|
|
|
254087
254087
|
if (type === "update") {
|
|
254088
254088
|
ark.miniapp.emitPluginEvent({
|
|
254089
254089
|
name: "TYUniGroupControlManager.onGroupInfoChange",
|
|
254090
|
-
data:
|
|
254090
|
+
data: {
|
|
254091
|
+
groupId: groupInfo.groupId,
|
|
254092
|
+
...result.data
|
|
254093
|
+
}
|
|
254091
254094
|
});
|
|
254092
254095
|
ark.miniapp.emitPluginEvent({
|
|
254093
254096
|
name: "TUNIGroupControlManager.onGroupInfoChange",
|
|
254094
|
-
data:
|
|
254097
|
+
data: {
|
|
254098
|
+
groupId: groupInfo.groupId,
|
|
254099
|
+
...result.data
|
|
254100
|
+
}
|
|
254095
254101
|
});
|
|
254096
254102
|
} else if (type === "del") {
|
|
254097
254103
|
ark.miniapp.emitPluginEvent({
|
|
254098
254104
|
name: "TYUniGroupControlManager.onGroupRemovedEvent",
|
|
254099
|
-
data:
|
|
254105
|
+
data: {
|
|
254106
|
+
groupId: groupInfo.groupId,
|
|
254107
|
+
...result.data
|
|
254108
|
+
}
|
|
254100
254109
|
});
|
|
254101
254110
|
ark.miniapp.emitPluginEvent({
|
|
254102
254111
|
name: "TUNIGroupControlManager.onGroupRemovedEvent",
|
|
254103
|
-
data:
|
|
254112
|
+
data: {
|
|
254113
|
+
groupId: groupInfo.groupId,
|
|
254114
|
+
...result.data
|
|
254115
|
+
}
|
|
254104
254116
|
});
|
|
254105
254117
|
}
|
|
254106
254118
|
break;
|
|
@@ -254293,14 +254305,16 @@ var startConnect = (0, import_lodash.debounce)(
|
|
|
254293
254305
|
ark.miniapp.emitPluginEvent({
|
|
254294
254306
|
name: "TYUniGroupControlManager.onGroupDpDataChangeEvent",
|
|
254295
254307
|
data: {
|
|
254296
|
-
|
|
254308
|
+
groupId: groupInfo.groupId,
|
|
254309
|
+
deviceId: groupInfo.groupId,
|
|
254297
254310
|
dps
|
|
254298
254311
|
}
|
|
254299
254312
|
});
|
|
254300
254313
|
ark.miniapp.emitPluginEvent({
|
|
254301
254314
|
name: "TUNIGroupControlManager.onGroupDpDataChangeEvent",
|
|
254302
254315
|
data: {
|
|
254303
|
-
|
|
254316
|
+
groupId: groupInfo.groupId,
|
|
254317
|
+
deviceId: groupInfo.groupId,
|
|
254304
254318
|
dps
|
|
254305
254319
|
}
|
|
254306
254320
|
});
|
|
@@ -254321,14 +254335,16 @@ var startConnect = (0, import_lodash.debounce)(
|
|
|
254321
254335
|
ark.miniapp.emitPluginEvent({
|
|
254322
254336
|
name: "TYUniGroupControlManager.onGroupDpCodeChange",
|
|
254323
254337
|
data: {
|
|
254324
|
-
|
|
254338
|
+
groupId: groupInfo.groupId,
|
|
254339
|
+
deviceId: groupInfo.groupId,
|
|
254325
254340
|
dpCodes
|
|
254326
254341
|
}
|
|
254327
254342
|
});
|
|
254328
254343
|
ark.miniapp.emitPluginEvent({
|
|
254329
254344
|
name: "TUNIGroupControlManager.onGroupDpCodeChange",
|
|
254330
254345
|
data: {
|
|
254331
|
-
|
|
254346
|
+
groupId: groupInfo.groupId,
|
|
254347
|
+
deviceId: groupInfo.groupId,
|
|
254332
254348
|
dpCodes
|
|
254333
254349
|
}
|
|
254334
254350
|
});
|