@dxos/client-protocol 0.8.4-main.406dc2a → 0.8.4-main.548089c
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/lib/browser/chunk-HIQWFHOK.mjs +25 -0
- package/dist/lib/browser/chunk-HIQWFHOK.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +15 -43
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/types/index.mjs +9 -0
- package/dist/lib/browser/types/index.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-TN3JZMTK.mjs +27 -0
- package/dist/lib/node-esm/chunk-TN3JZMTK.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +14 -43
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/types/index.mjs +10 -0
- package/dist/lib/node-esm/types/index.mjs.map +7 -0
- package/dist/types/src/echo.d.ts +1 -1
- package/dist/types/src/echo.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/service-definitions.d.ts +0 -2
- package/dist/types/src/service-definitions.d.ts.map +1 -1
- package/dist/types/src/{schema.d.ts → types/Properties.d.ts} +1 -1
- package/dist/types/src/types/Properties.d.ts.map +1 -0
- package/dist/types/src/types/index.d.ts +2 -0
- package/dist/types/src/types/index.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +23 -13
- package/src/echo.ts +1 -1
- package/src/index.ts +1 -1
- package/src/service-definitions.ts +0 -7
- package/src/types/index.ts +5 -0
- package/dist/types/src/schema.d.ts.map +0 -1
- /package/src/{schema.ts → types/Properties.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/client-protocol",
|
|
3
|
-
"version": "0.8.4-main.
|
|
3
|
+
"version": "0.8.4-main.548089c",
|
|
4
4
|
"description": "Core DXOS Client API.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -15,11 +15,21 @@
|
|
|
15
15
|
"types": "./dist/types/src/index.d.ts",
|
|
16
16
|
"browser": "./dist/lib/browser/index.mjs",
|
|
17
17
|
"node": "./dist/lib/node-esm/index.mjs"
|
|
18
|
+
},
|
|
19
|
+
"./types": {
|
|
20
|
+
"source": "./src/types/index.ts",
|
|
21
|
+
"types": "./dist/types/src/types/index.d.ts",
|
|
22
|
+
"browser": "./dist/lib/browser/types/index.mjs",
|
|
23
|
+
"node": "./dist/lib/node-esm/types/index.mjs"
|
|
18
24
|
}
|
|
19
25
|
},
|
|
20
26
|
"types": "dist/types/src/index.d.ts",
|
|
21
27
|
"typesVersions": {
|
|
22
|
-
"*": {
|
|
28
|
+
"*": {
|
|
29
|
+
"./types": [
|
|
30
|
+
"./dist/types/src/types/index.d.ts"
|
|
31
|
+
]
|
|
32
|
+
}
|
|
23
33
|
},
|
|
24
34
|
"files": [
|
|
25
35
|
"dist",
|
|
@@ -28,17 +38,17 @@
|
|
|
28
38
|
"dependencies": {
|
|
29
39
|
"base-x": "~3.0.9",
|
|
30
40
|
"effect": "3.18.3",
|
|
31
|
-
"@dxos/async": "0.8.4-main.
|
|
32
|
-
"@dxos/
|
|
33
|
-
"@dxos/
|
|
34
|
-
"@dxos/
|
|
35
|
-
"@dxos/
|
|
36
|
-
"@dxos/
|
|
37
|
-
"@dxos/
|
|
38
|
-
"@dxos/
|
|
39
|
-
"@dxos/
|
|
40
|
-
"@dxos/
|
|
41
|
-
"@dxos/
|
|
41
|
+
"@dxos/async": "0.8.4-main.548089c",
|
|
42
|
+
"@dxos/context": "0.8.4-main.548089c",
|
|
43
|
+
"@dxos/credentials": "0.8.4-main.548089c",
|
|
44
|
+
"@dxos/config": "0.8.4-main.548089c",
|
|
45
|
+
"@dxos/echo": "0.8.4-main.548089c",
|
|
46
|
+
"@dxos/echo-db": "0.8.4-main.548089c",
|
|
47
|
+
"@dxos/invariant": "0.8.4-main.548089c",
|
|
48
|
+
"@dxos/keys": "0.8.4-main.548089c",
|
|
49
|
+
"@dxos/protocols": "0.8.4-main.548089c",
|
|
50
|
+
"@dxos/node-std": "0.8.4-main.548089c",
|
|
51
|
+
"@dxos/rpc": "0.8.4-main.548089c"
|
|
42
52
|
},
|
|
43
53
|
"peerDependencies": {
|
|
44
54
|
"effect": "^3.13.3"
|
package/src/echo.ts
CHANGED
|
@@ -8,8 +8,8 @@ import type { PublicKey, SpaceId } from '@dxos/keys';
|
|
|
8
8
|
import type { Invitation, SpaceArchive } from '@dxos/protocols/proto/dxos/client/services';
|
|
9
9
|
|
|
10
10
|
import type { AuthenticatingInvitation } from './invitations';
|
|
11
|
-
import type { PropertiesTypeProps } from './schema';
|
|
12
11
|
import type { Space } from './space';
|
|
12
|
+
import type { PropertiesTypeProps } from './types';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Public database API.
|
package/src/index.ts
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
import { type Event } from '@dxos/async';
|
|
6
6
|
import { schema } from '@dxos/protocols/proto';
|
|
7
|
-
import type { FunctionRegistryService } from '@dxos/protocols/proto/dxos/agent/functions';
|
|
8
7
|
import type {
|
|
9
8
|
ContactsService,
|
|
10
9
|
DevicesService,
|
|
@@ -42,8 +41,6 @@ export type ClientServices = {
|
|
|
42
41
|
ContactsService: ContactsService;
|
|
43
42
|
EdgeAgentService: EdgeAgentService;
|
|
44
43
|
|
|
45
|
-
FunctionRegistryService: FunctionRegistryService;
|
|
46
|
-
|
|
47
44
|
// TODO(burdon): Deprecated.
|
|
48
45
|
DevtoolsHost: DevtoolsHost;
|
|
49
46
|
|
|
@@ -84,12 +81,8 @@ export const clientServiceBundle = createServiceBundle<ClientServices>({
|
|
|
84
81
|
ContactsService: schema.getService('dxos.client.services.ContactsService'),
|
|
85
82
|
EdgeAgentService: schema.getService('dxos.client.services.EdgeAgentService'),
|
|
86
83
|
|
|
87
|
-
// Agent-only.
|
|
88
|
-
FunctionRegistryService: schema.getService('dxos.agent.functions.FunctionRegistryService'),
|
|
89
|
-
|
|
90
84
|
// TODO(burdon): Deprecated.
|
|
91
85
|
DevtoolsHost: schema.getService('dxos.devtools.host.DevtoolsHost'),
|
|
92
|
-
|
|
93
86
|
TracingService: schema.getService('dxos.tracing.TracingService'),
|
|
94
87
|
});
|
|
95
88
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/schema.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,eAAO,MAAM,eAAe,6BAA6B,CAAC;;;;;;;;;;;;;;AAG1D,qBAAa,cAAe,SAAQ,mBAYnC;CAAG;AAGJ,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,sBAAsB,CAAC,CAAC"}
|
|
File without changes
|