@cutos/core 4.0.7 → 4.0.9

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/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@cutos/core",
3
- "version": "4.0.7",
3
+ "version": "4.0.9",
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",
7
7
  "types": "types/index.d.ts",
8
8
  "scripts": {
9
9
  "build:rollup": "rollup -c rollup.config.cjs",
10
- "test": "node test/device-provider-base.mjs"
10
+ "test": "node test/device-provider-base.mjs && node test/mock-capability.mjs && node test/mock-core-services.mjs"
11
11
  },
12
12
  "keywords": [
13
13
  "CUTOS", "core", "database", "IPC", "notification", "logging", "device&driver"
package/types/index.d.ts CHANGED
@@ -397,6 +397,8 @@ export interface CutosMock {
397
397
  install(options?: CutosMockOptions): CutosMock;
398
398
  uninstall(): void;
399
399
  registerCapability(name: string, definition?: CutosMockCapabilityDefinition): unknown;
400
+ getLogs(): unknown[];
401
+ getHttpProxies(): unknown[];
400
402
  isInstalled(): boolean;
401
403
  }
402
404