napi.node.base 1.2.8 → 1.2.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/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  declare module 'napi.addon.base' {
2
2
  export function hardId(): Object;
3
- export function regedit(config: Object): string;
3
+ export function regedit(config: string): string;
4
4
 
5
- export function udpServer(config: Object): string;
5
+ export function udpServer(config: string): string;
6
6
  export function serialServer(config: string): string;
7
7
  export function sendMessage(msg_type: string, data: ArrayBuffer): null;
8
8
  export function on(event_name: string, callBack: Function): null;
9
9
 
10
- export function staticServer(path: string, port: number): null;
11
- export function watch(path: string): null;
12
- export function stopWatch(): null;
10
+ export function staticServer(config: string): string;
11
+ export function startWatch(path: string): string;
12
+ export function stopWatch(): string;
13
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "napi.node.base",
3
- "version": "1.2.8",
3
+ "version": "1.2.9",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "author": "wangzhuxing",
Binary file
Binary file