@laplace.live/persona-sdk 0.0.1
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/LICENSE +21 -0
- package/README.md +52 -0
- package/dist/client.d.ts +95 -0
- package/dist/client.js +312 -0
- package/dist/envelope.d.ts +54 -0
- package/dist/envelope.js +71 -0
- package/dist/errors.d.ts +9 -0
- package/dist/errors.js +32 -0
- package/dist/events.d.ts +42 -0
- package/dist/events.js +16 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +8 -0
- package/dist/methods.d.ts +579 -0
- package/dist/methods.js +1 -0
- package/dist/protocol.d.ts +11 -0
- package/dist/protocol.js +12 -0
- package/dist/schemas.d.ts +189 -0
- package/dist/schemas.js +92 -0
- package/dist/types.d.ts +390 -0
- package/dist/types.js +32 -0
- package/package.json +44 -0
package/package.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@laplace.live/persona-sdk",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "TypeScript SDK and wire schema for the LAPLACE Persona plugin API",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"author": "LAPLACE <s@laplace.live>",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/laplace-live/persona",
|
|
11
|
+
"directory": "packages/persona-sdk"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://laplace.live/persona",
|
|
14
|
+
"sideEffects": false,
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"import": "./dist/index.js"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"dist"
|
|
23
|
+
],
|
|
24
|
+
"publishConfig": {
|
|
25
|
+
"access": "public",
|
|
26
|
+
"provenance": true
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"rimraf": "^6.1.3",
|
|
30
|
+
"typescript": "~6.0.3",
|
|
31
|
+
"vitest": "^4.1.10"
|
|
32
|
+
},
|
|
33
|
+
"engines": {
|
|
34
|
+
"node": ">=22"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"zod": "^4.4.3"
|
|
38
|
+
},
|
|
39
|
+
"scripts": {
|
|
40
|
+
"build": "rimraf dist && tsc -p tsconfig.build.json",
|
|
41
|
+
"typecheck": "tsc --noEmit",
|
|
42
|
+
"test": "vitest run"
|
|
43
|
+
}
|
|
44
|
+
}
|