posipaki 0.5.0 → 0.5.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/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import Process, { spawn, Message, ProcessCtx, ProcessFn } from './process.js';
2
- import { runDispatch } from './util.js';
3
- export { Process, spawn, runDispatch, Message, ProcessCtx, ProcessFn };
2
+ import { ExitMessage, runDispatch } from './util.js';
3
+ export { Process, spawn, runDispatch, Message, ExitMessage, ProcessCtx, ProcessFn };
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,EAAE,EAAE,KAAK,EAAkC,MAAM,cAAc,CAAC;AAC9E,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAkC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,EAAE,EAAE,KAAK,EAAkC,MAAM,cAAc,CAAC;AAC9E,OAAO,EAAe,WAAW,EAAE,MAAM,WAAW,CAAC;AAErD,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAA+C,CAAA"}
package/dist/xfetch.d.ts CHANGED
@@ -15,7 +15,7 @@ type FetchArgsSend<T> = {
15
15
  body: T;
16
16
  };
17
17
  export type FetchArgs<T> = FetchArgsGet | FetchArgsSend<T>;
18
- type FetchMessage<T> = {
18
+ export type FetchMessage<T> = {
19
19
  type: string;
20
20
  data?: T | null;
21
21
  text?: string | null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "posipaki",
4
- "version": "0.5.0",
4
+ "version": "0.5.2",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "scripts": {
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import Process, { spawn, Message, ProcessCtx, ProcessFn } from './process.js';
2
- import { runDispatch } from './util.js';
2
+ import { ExitMessage, runDispatch } from './util.js';
3
3
 
4
- export { Process, spawn, runDispatch, Message, ProcessCtx, ProcessFn }
4
+ export { Process, spawn, runDispatch, Message, ExitMessage, ProcessCtx, ProcessFn }
package/src/xfetch.ts CHANGED
@@ -23,7 +23,7 @@ type FetchArgsSend<T> = {
23
23
  };
24
24
  export type FetchArgs<T> = FetchArgsGet | FetchArgsSend<T>;
25
25
 
26
- type FetchMessage<T> = {
26
+ export type FetchMessage<T> = {
27
27
  type: string,
28
28
  data?: T | null,
29
29
  text?: string | null,