@cutos/core 3.2.1 → 3.2.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/cutos.cjs.js +3 -3
- package/dist/cutos.esm.js +3 -3
- package/package.json +1 -1
package/dist/cutos.cjs.js
CHANGED
|
@@ -398,7 +398,7 @@ const cutosAPI$2 = {
|
|
|
398
398
|
var cutosApi = cutosAPI$2;
|
|
399
399
|
|
|
400
400
|
var name = "@cutos/core";
|
|
401
|
-
var version = "3.2.
|
|
401
|
+
var version = "3.2.2";
|
|
402
402
|
var description = "The CUTOS (CUT Operating System) Core API is a JavaScript library that provides essential functionalities for LWA (Local Web Application) edge computing and communication in the CUTOS ecosystem. ";
|
|
403
403
|
var main = "dist/cutos.cjs.js";
|
|
404
404
|
var module$1 = "dist/cutos.esm.js";
|
|
@@ -894,11 +894,11 @@ class Device {
|
|
|
894
894
|
return this.data;
|
|
895
895
|
}
|
|
896
896
|
|
|
897
|
-
readDeviceInfo(context) {
|
|
897
|
+
readDeviceInfo(callback, context) {
|
|
898
898
|
let msg = {};
|
|
899
899
|
msg.cmd = "read-device-info";
|
|
900
900
|
msg.context = context;
|
|
901
|
-
this.sendCommand(msg);
|
|
901
|
+
this.sendCommand(msg, callback);
|
|
902
902
|
}
|
|
903
903
|
}
|
|
904
904
|
|
package/dist/cutos.esm.js
CHANGED
|
@@ -690,7 +690,7 @@ const cutosAPI$2 = {
|
|
|
690
690
|
var cutosApi = cutosAPI$2;
|
|
691
691
|
|
|
692
692
|
var name = "@cutos/core";
|
|
693
|
-
var version = "3.2.
|
|
693
|
+
var version = "3.2.2";
|
|
694
694
|
var description = "The CUTOS (CUT Operating System) Core API is a JavaScript library that provides essential functionalities for LWA (Local Web Application) edge computing and communication in the CUTOS ecosystem. ";
|
|
695
695
|
var main = "dist/cutos.cjs.js";
|
|
696
696
|
var module = "dist/cutos.esm.js";
|
|
@@ -1186,11 +1186,11 @@ class Device {
|
|
|
1186
1186
|
return this.data;
|
|
1187
1187
|
}
|
|
1188
1188
|
|
|
1189
|
-
readDeviceInfo(context) {
|
|
1189
|
+
readDeviceInfo(callback, context) {
|
|
1190
1190
|
let msg = {};
|
|
1191
1191
|
msg.cmd = "read-device-info";
|
|
1192
1192
|
msg.context = context;
|
|
1193
|
-
this.sendCommand(msg);
|
|
1193
|
+
this.sendCommand(msg, callback);
|
|
1194
1194
|
}
|
|
1195
1195
|
}
|
|
1196
1196
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cutos/core",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"description": "The CUTOS (CUT Operating System) Core API is a JavaScript library that provides essential functionalities for LWA (Local Web Application) edge computing and communication in the CUTOS ecosystem. ",
|
|
5
5
|
"main": "dist/cutos.cjs.js",
|
|
6
6
|
"module": "dist/cutos.esm.js",
|