@cutos/core 0.0.24 → 3.0.0

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 CHANGED
@@ -85,7 +85,7 @@ CoreAPI.getVersion();
85
85
  - Return result example:
86
86
 
87
87
  ```
88
- 0.0.24
88
+ 3.0.0
89
89
  ```
90
90
 
91
91
  ### CoreAPI.getPlatform
package/dist/cutos.cjs.js CHANGED
@@ -364,7 +364,8 @@ const CORE = Object.freeze({ // core level api
364
364
  SHELL: 'core-shell',
365
365
  DATABASE: 'core-database',
366
366
  GET_VOLUME: 'core-get-volume',
367
- SET_VOLUME: 'core-set-volume'
367
+ SET_VOLUME: 'core-set-volume',
368
+ SET_HTTP_PROXY: 'core-set-http-proxy'
368
369
  });
369
370
  const CORE_NORESP = Object.freeze({ // core level api with no response
370
371
  IPC: 'core-ipc',
@@ -392,12 +393,12 @@ const HEARTBEAT_STATUS = Object.freeze({
392
393
  });
393
394
 
394
395
  const cutosAPI$2 = {
395
- version: '2.0.1', CORE, CORE_NORESP, CORE_APP, DEVICE, HEARTBEAT_STATUS
396
+ version: '3.0.0', CORE, CORE_NORESP, CORE_APP, DEVICE, HEARTBEAT_STATUS
396
397
  };
397
398
  var cutosApi = cutosAPI$2;
398
399
 
399
400
  var name = "@cutos/core";
400
- var version = "0.0.24";
401
+ var version = "3.0.0";
401
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. ";
402
403
  var main = "dist/cutos.cjs.js";
403
404
  var module$1 = "dist/cutos.esm.js";
@@ -1049,6 +1050,10 @@ const CoreAPI$2 = {
1049
1050
 
1050
1051
  setVolume(vol, callback) {
1051
1052
  return publishRequest(cutosAPI$1.CORE.SET_VOLUME, callback, vol);
1053
+ },
1054
+
1055
+ setHttpProxy(api, target, callback) {
1056
+ return publishRequest(cutosAPI$1.CORE.SET_HTTP_PROXY, callback, {api, target});
1052
1057
  }
1053
1058
  };
1054
1059
 
package/dist/cutos.esm.js CHANGED
@@ -656,7 +656,8 @@ const CORE = Object.freeze({ // core level api
656
656
  SHELL: 'core-shell',
657
657
  DATABASE: 'core-database',
658
658
  GET_VOLUME: 'core-get-volume',
659
- SET_VOLUME: 'core-set-volume'
659
+ SET_VOLUME: 'core-set-volume',
660
+ SET_HTTP_PROXY: 'core-set-http-proxy'
660
661
  });
661
662
  const CORE_NORESP = Object.freeze({ // core level api with no response
662
663
  IPC: 'core-ipc',
@@ -684,12 +685,12 @@ const HEARTBEAT_STATUS = Object.freeze({
684
685
  });
685
686
 
686
687
  const cutosAPI$2 = {
687
- version: '2.0.1', CORE, CORE_NORESP, CORE_APP, DEVICE, HEARTBEAT_STATUS
688
+ version: '3.0.0', CORE, CORE_NORESP, CORE_APP, DEVICE, HEARTBEAT_STATUS
688
689
  };
689
690
  var cutosApi = cutosAPI$2;
690
691
 
691
692
  var name = "@cutos/core";
692
- var version = "0.0.24";
693
+ var version = "3.0.0";
693
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. ";
694
695
  var main = "dist/cutos.cjs.js";
695
696
  var module = "dist/cutos.esm.js";
@@ -1341,6 +1342,10 @@ const CoreAPI$2 = {
1341
1342
 
1342
1343
  setVolume(vol, callback) {
1343
1344
  return publishRequest(cutosAPI$1.CORE.SET_VOLUME, callback, vol);
1345
+ },
1346
+
1347
+ setHttpProxy(api, target, callback) {
1348
+ return publishRequest(cutosAPI$1.CORE.SET_HTTP_PROXY, callback, {api, target});
1344
1349
  }
1345
1350
  };
1346
1351
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cutos/core",
3
- "version": "0.0.24",
3
+ "version": "3.0.0",
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",