@mokei/host-protocol 0.6.2 → 0.8.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/lib/index.d.ts +1 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -4
- package/package.json +4 -4
package/lib/index.d.ts
CHANGED
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
* @module host-protocol
|
|
11
11
|
*/
|
|
12
12
|
import type { AnyClientMessageOf, AnyServerMessageOf } from '@enkaku/protocol';
|
|
13
|
-
import type { FromSchema } from '@
|
|
14
|
-
export declare const DEFAULT_SOCKET_PATH: string;
|
|
13
|
+
import type { FromSchema } from '@sozai/schema';
|
|
15
14
|
export declare const hostEventMetaSchema: {
|
|
16
15
|
readonly type: "object";
|
|
17
16
|
readonly properties: {
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,kBAAkB,EAAsB,MAAM,kBAAkB,CAAA;AAClG,OAAO,KAAK,EAAE,UAAU,EAAU,MAAM,eAAe,CAAA;AAEvD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;CASL,CAAA;AAC3B,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAElE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDD,CAAA;AAC3B,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAA;AAE1D,eAAO,MAAM,uBAAuB;;;;;;;;CAMT,CAAA;AAC3B,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE1E,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;CAWN,CAAA;AAC3B,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEpE,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BkB,CAAA;AACvC,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAA;AAEtC,MAAM,MAAM,aAAa,GAAG,kBAAkB,CAAC,QAAQ,CAAC,CAAA;AACxD,MAAM,MAAM,aAAa,GAAG,kBAAkB,CAAC,QAAQ,CAAC,CAAA"}
|
package/lib/index.js
CHANGED
|
@@ -8,10 +8,7 @@
|
|
|
8
8
|
* ```
|
|
9
9
|
*
|
|
10
10
|
* @module host-protocol
|
|
11
|
-
*/
|
|
12
|
-
import { join } from 'node:path';
|
|
13
|
-
export const DEFAULT_SOCKET_PATH = join(homedir(), '.mokei-daemon.sock');
|
|
14
|
-
export const hostEventMetaSchema = {
|
|
11
|
+
*/ export const hostEventMetaSchema = {
|
|
15
12
|
type: 'object',
|
|
16
13
|
properties: {
|
|
17
14
|
contextID: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mokei/host-protocol",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://mokei.dev",
|
|
6
6
|
"description": "Mokei Host protocol",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
],
|
|
29
29
|
"sideEffects": false,
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@enkaku/protocol": "^0.
|
|
32
|
-
"@
|
|
31
|
+
"@enkaku/protocol": "^0.18.0",
|
|
32
|
+
"@sozai/schema": "^0.1.0"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build:clean": "del lib",
|
|
36
|
-
"build:js": "swc src -d ./lib --config-file ../../swc.json --strip-leading-paths",
|
|
36
|
+
"build:js": "swc src -d ./lib --config-file ../../node_modules/@kigu/dev/swc.json --strip-leading-paths",
|
|
37
37
|
"build:types": "tsc --emitDeclarationOnly --skipLibCheck",
|
|
38
38
|
"build:types:ci": "tsc --emitDeclarationOnly --skipLibCheck --declarationMap false",
|
|
39
39
|
"build": "pnpm run build:clean && pnpm run build:js && pnpm run build:types",
|