@moxt-ai/mobius-sdk 0.0.3 → 0.0.4
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 +70 -84
package/package.json
CHANGED
|
@@ -1,92 +1,78 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"./platform": "./src/platform.ts",
|
|
12
|
-
"./server": "./src/server.ts",
|
|
13
|
-
"./examples/browser": "./examples/browser.ts",
|
|
14
|
-
"./examples/moxt-server": "./examples/moxt-server.ts",
|
|
15
|
-
"./examples/node": "./examples/node.ts",
|
|
16
|
-
"./examples/platform-server": "./examples/platform-server.ts",
|
|
17
|
-
"./examples/workflow": "./examples/workflow.ts"
|
|
2
|
+
"name": "@moxt-ai/mobius-sdk",
|
|
3
|
+
"version": "0.0.4",
|
|
4
|
+
"description": "Unified Mobius TypeScript SDK for browsers and Node.js.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"import": "./dist/index.js"
|
|
18
11
|
},
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
],
|
|
23
|
-
"engines": {
|
|
24
|
-
"node": ">=20.19.0"
|
|
12
|
+
"./browser": {
|
|
13
|
+
"types": "./dist/browser.d.ts",
|
|
14
|
+
"import": "./dist/browser.js"
|
|
25
15
|
},
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"exports": {
|
|
30
|
-
".": {
|
|
31
|
-
"types": "./dist/index.d.ts",
|
|
32
|
-
"import": "./dist/index.js"
|
|
33
|
-
},
|
|
34
|
-
"./browser": {
|
|
35
|
-
"types": "./dist/browser.d.ts",
|
|
36
|
-
"import": "./dist/browser.js"
|
|
37
|
-
},
|
|
38
|
-
"./channel": {
|
|
39
|
-
"types": "./dist/channel.d.ts",
|
|
40
|
-
"import": "./dist/channel.js"
|
|
41
|
-
},
|
|
42
|
-
"./platform": {
|
|
43
|
-
"types": "./dist/platform.d.ts",
|
|
44
|
-
"import": "./dist/platform.js"
|
|
45
|
-
},
|
|
46
|
-
"./server": {
|
|
47
|
-
"types": "./dist/server.d.ts",
|
|
48
|
-
"import": "./dist/server.js"
|
|
49
|
-
},
|
|
50
|
-
"./examples/browser": {
|
|
51
|
-
"types": "./dist/examples/browser.d.ts",
|
|
52
|
-
"import": "./dist/examples/browser.js"
|
|
53
|
-
},
|
|
54
|
-
"./examples/moxt-server": {
|
|
55
|
-
"types": "./dist/examples/moxt-server.d.ts",
|
|
56
|
-
"import": "./dist/examples/moxt-server.js"
|
|
57
|
-
},
|
|
58
|
-
"./examples/node": {
|
|
59
|
-
"types": "./dist/examples/node.d.ts",
|
|
60
|
-
"import": "./dist/examples/node.js"
|
|
61
|
-
},
|
|
62
|
-
"./examples/platform-server": {
|
|
63
|
-
"types": "./dist/examples/platform-server.d.ts",
|
|
64
|
-
"import": "./dist/examples/platform-server.js"
|
|
65
|
-
},
|
|
66
|
-
"./examples/workflow": {
|
|
67
|
-
"types": "./dist/examples/workflow.d.ts",
|
|
68
|
-
"import": "./dist/examples/workflow.js"
|
|
69
|
-
}
|
|
70
|
-
}
|
|
16
|
+
"./channel": {
|
|
17
|
+
"types": "./dist/channel.d.ts",
|
|
18
|
+
"import": "./dist/channel.js"
|
|
71
19
|
},
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
"directory": "packages/mobius-sdk"
|
|
20
|
+
"./platform": {
|
|
21
|
+
"types": "./dist/platform.d.ts",
|
|
22
|
+
"import": "./dist/platform.js"
|
|
76
23
|
},
|
|
77
|
-
"
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
"typecheck": "tsc --project tsconfig.json"
|
|
24
|
+
"./server": {
|
|
25
|
+
"types": "./dist/server.d.ts",
|
|
26
|
+
"import": "./dist/server.js"
|
|
81
27
|
},
|
|
82
|
-
"
|
|
83
|
-
|
|
84
|
-
|
|
28
|
+
"./examples/browser": {
|
|
29
|
+
"types": "./dist/examples/browser.d.ts",
|
|
30
|
+
"import": "./dist/examples/browser.js"
|
|
85
31
|
},
|
|
86
|
-
"
|
|
87
|
-
|
|
88
|
-
|
|
32
|
+
"./examples/moxt-server": {
|
|
33
|
+
"types": "./dist/examples/moxt-server.d.ts",
|
|
34
|
+
"import": "./dist/examples/moxt-server.js"
|
|
89
35
|
},
|
|
90
|
-
"
|
|
91
|
-
|
|
92
|
-
|
|
36
|
+
"./examples/node": {
|
|
37
|
+
"types": "./dist/examples/node.d.ts",
|
|
38
|
+
"import": "./dist/examples/node.js"
|
|
39
|
+
},
|
|
40
|
+
"./examples/platform-server": {
|
|
41
|
+
"types": "./dist/examples/platform-server.d.ts",
|
|
42
|
+
"import": "./dist/examples/platform-server.js"
|
|
43
|
+
},
|
|
44
|
+
"./examples/workflow": {
|
|
45
|
+
"types": "./dist/examples/workflow.d.ts",
|
|
46
|
+
"import": "./dist/examples/workflow.js"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"files": [
|
|
50
|
+
"dist",
|
|
51
|
+
"README.md"
|
|
52
|
+
],
|
|
53
|
+
"engines": {
|
|
54
|
+
"node": ">=20.19.0"
|
|
55
|
+
},
|
|
56
|
+
"publishConfig": {
|
|
57
|
+
"access": "public"
|
|
58
|
+
},
|
|
59
|
+
"repository": {
|
|
60
|
+
"type": "git",
|
|
61
|
+
"url": "git+https://github.com/moxt-ai/mobius.git",
|
|
62
|
+
"directory": "packages/mobius-sdk"
|
|
63
|
+
},
|
|
64
|
+
"dependencies": {
|
|
65
|
+
"@moxt-ai/mobius-protocol": "0.0.4",
|
|
66
|
+
"partysocket": "1.3.0"
|
|
67
|
+
},
|
|
68
|
+
"devDependencies": {
|
|
69
|
+
"@types/node": "^24.13.3",
|
|
70
|
+
"happy-dom": "20.14.0"
|
|
71
|
+
},
|
|
72
|
+
"sideEffects": false,
|
|
73
|
+
"license": "ISC",
|
|
74
|
+
"scripts": {
|
|
75
|
+
"build": "tsc --project tsconfig.build.json && tsc --project tsconfig.examples.json",
|
|
76
|
+
"typecheck": "tsc --project tsconfig.json"
|
|
77
|
+
}
|
|
78
|
+
}
|