@cutos/core 3.2.3 → 3.2.5
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/README.md +1325 -61
- package/dist/cutos.cjs.js +13 -5
- package/dist/cutos.esm.js +13 -5
- package/package.json +2 -2
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.5";
|
|
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";
|
|
@@ -406,8 +406,13 @@ var scripts = {
|
|
|
406
406
|
"build:rollup": "rollup -c rollup.config.cjs"
|
|
407
407
|
};
|
|
408
408
|
var keywords = [
|
|
409
|
-
"
|
|
410
|
-
"core"
|
|
409
|
+
"CUTOS",
|
|
410
|
+
"core",
|
|
411
|
+
"database",
|
|
412
|
+
"IPC",
|
|
413
|
+
"notification",
|
|
414
|
+
"logging",
|
|
415
|
+
"device&driver"
|
|
411
416
|
];
|
|
412
417
|
var author = "SipTimes";
|
|
413
418
|
var dependencies = {
|
|
@@ -936,10 +941,13 @@ class Device {
|
|
|
936
941
|
return this.data;
|
|
937
942
|
}
|
|
938
943
|
|
|
939
|
-
|
|
944
|
+
/**
|
|
945
|
+
*
|
|
946
|
+
* @param callback (result) => {}, the result is normal make up of {status: true|false, msg: (''| {})}
|
|
947
|
+
*/
|
|
948
|
+
readDeviceInfo(callback) {
|
|
940
949
|
let msg = {};
|
|
941
950
|
msg.cmd = "read-device-info";
|
|
942
|
-
msg.context = context;
|
|
943
951
|
this.sendCommand(msg, callback);
|
|
944
952
|
}
|
|
945
953
|
}
|
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.5";
|
|
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";
|
|
@@ -698,8 +698,13 @@ var scripts = {
|
|
|
698
698
|
"build:rollup": "rollup -c rollup.config.cjs"
|
|
699
699
|
};
|
|
700
700
|
var keywords = [
|
|
701
|
-
"
|
|
702
|
-
"core"
|
|
701
|
+
"CUTOS",
|
|
702
|
+
"core",
|
|
703
|
+
"database",
|
|
704
|
+
"IPC",
|
|
705
|
+
"notification",
|
|
706
|
+
"logging",
|
|
707
|
+
"device&driver"
|
|
703
708
|
];
|
|
704
709
|
var author = "SipTimes";
|
|
705
710
|
var dependencies = {
|
|
@@ -1228,10 +1233,13 @@ class Device {
|
|
|
1228
1233
|
return this.data;
|
|
1229
1234
|
}
|
|
1230
1235
|
|
|
1231
|
-
|
|
1236
|
+
/**
|
|
1237
|
+
*
|
|
1238
|
+
* @param callback (result) => {}, the result is normal make up of {status: true|false, msg: (''| {})}
|
|
1239
|
+
*/
|
|
1240
|
+
readDeviceInfo(callback) {
|
|
1232
1241
|
let msg = {};
|
|
1233
1242
|
msg.cmd = "read-device-info";
|
|
1234
|
-
msg.context = context;
|
|
1235
1243
|
this.sendCommand(msg, callback);
|
|
1236
1244
|
}
|
|
1237
1245
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cutos/core",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.5",
|
|
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",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"build:rollup": "rollup -c rollup.config.cjs"
|
|
9
9
|
},
|
|
10
10
|
"keywords": [
|
|
11
|
-
"
|
|
11
|
+
"CUTOS", "core", "database", "IPC", "notification", "logging", "device&driver"
|
|
12
12
|
],
|
|
13
13
|
"author": "SipTimes",
|
|
14
14
|
"dependencies": {
|