@dxos/client-protocol 0.8.4-main.c1de068 → 0.8.4-main.e098934
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/index.mjs +23 -9
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node-esm/index.mjs +23 -9
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/types/src/halo.d.ts +1 -1
- package/dist/types/src/halo.d.ts.map +1 -1
- package/dist/types/src/schema.d.ts +3 -8
- package/dist/types/src/schema.d.ts.map +1 -1
- package/dist/types/src/service-definitions.d.ts +1 -1
- package/dist/types/src/service-definitions.d.ts.map +1 -1
- package/dist/types/src/shell.d.ts +1 -1
- package/dist/types/src/shell.d.ts.map +1 -1
- package/dist/types/src/space.d.ts +3 -3
- package/dist/types/src/space.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +15 -14
- package/src/halo.ts +1 -1
- package/src/schema.ts +2 -1
- package/src/service-definitions.ts +2 -2
- package/src/shell.ts +1 -1
- package/src/space.ts +3 -3
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.e098934",
|
|
4
4
|
"description": "Core DXOS Client API.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"type": "module",
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
|
+
"source": "./src/index.ts",
|
|
14
15
|
"types": "./dist/types/src/index.d.ts",
|
|
15
16
|
"browser": "./dist/lib/browser/index.mjs",
|
|
16
17
|
"node": "./dist/lib/node-esm/index.mjs"
|
|
@@ -26,19 +27,19 @@
|
|
|
26
27
|
],
|
|
27
28
|
"dependencies": {
|
|
28
29
|
"base-x": "~3.0.9",
|
|
29
|
-
"effect": "3.17.
|
|
30
|
-
"@dxos/async": "0.8.4-main.
|
|
31
|
-
"@dxos/config": "0.8.4-main.
|
|
32
|
-
"@dxos/
|
|
33
|
-
"@dxos/
|
|
34
|
-
"@dxos/
|
|
35
|
-
"@dxos/echo-
|
|
36
|
-
"@dxos/
|
|
37
|
-
"@dxos/
|
|
38
|
-
"@dxos/node-std": "0.8.4-main.
|
|
39
|
-
"@dxos/
|
|
40
|
-
"@dxos/
|
|
41
|
-
"@dxos/
|
|
30
|
+
"effect": "3.17.7",
|
|
31
|
+
"@dxos/async": "0.8.4-main.e098934",
|
|
32
|
+
"@dxos/config": "0.8.4-main.e098934",
|
|
33
|
+
"@dxos/echo": "0.8.4-main.e098934",
|
|
34
|
+
"@dxos/context": "0.8.4-main.e098934",
|
|
35
|
+
"@dxos/credentials": "0.8.4-main.e098934",
|
|
36
|
+
"@dxos/echo-db": "0.8.4-main.e098934",
|
|
37
|
+
"@dxos/echo-schema": "0.8.4-main.e098934",
|
|
38
|
+
"@dxos/invariant": "0.8.4-main.e098934",
|
|
39
|
+
"@dxos/node-std": "0.8.4-main.e098934",
|
|
40
|
+
"@dxos/protocols": "0.8.4-main.e098934",
|
|
41
|
+
"@dxos/rpc": "0.8.4-main.e098934",
|
|
42
|
+
"@dxos/keys": "0.8.4-main.e098934"
|
|
42
43
|
},
|
|
43
44
|
"peerDependencies": {
|
|
44
45
|
"effect": "^3.13.3"
|
package/src/halo.ts
CHANGED
|
@@ -6,8 +6,8 @@ import { type MulticastObservable } from '@dxos/async';
|
|
|
6
6
|
import { type PublicKey } from '@dxos/keys';
|
|
7
7
|
import { type Contact, type Device, type Identity, type Invitation } from '@dxos/protocols/proto/dxos/client/services';
|
|
8
8
|
import {
|
|
9
|
-
type DeviceProfileDocument,
|
|
10
9
|
type Credential,
|
|
10
|
+
type DeviceProfileDocument,
|
|
11
11
|
type Presentation,
|
|
12
12
|
type ProfileDocument,
|
|
13
13
|
} from '@dxos/protocols/proto/dxos/halo/credentials';
|
package/src/schema.ts
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { Schema } from 'effect';
|
|
6
6
|
|
|
7
7
|
import { Type } from '@dxos/echo';
|
|
8
|
+
import { Queue } from '@dxos/echo-db';
|
|
8
9
|
import { TypedObject } from '@dxos/echo-schema';
|
|
9
10
|
|
|
10
11
|
export const TYPE_PROPERTIES = 'dxos.org/type/Properties';
|
|
@@ -19,7 +20,7 @@ export class PropertiesType extends TypedObject({
|
|
|
19
20
|
// TODO(wittjosiah): Make generic?
|
|
20
21
|
hue: Schema.optional(Schema.String),
|
|
21
22
|
icon: Schema.optional(Schema.String),
|
|
22
|
-
invocationTraceQueue: Schema.optional(Type.Ref(
|
|
23
|
+
invocationTraceQueue: Schema.optional(Type.Ref(Queue)),
|
|
23
24
|
},
|
|
24
25
|
{ record: true },
|
|
25
26
|
) {}
|
|
@@ -6,15 +6,15 @@ import { type Event } from '@dxos/async';
|
|
|
6
6
|
import { schema } from '@dxos/protocols/proto';
|
|
7
7
|
import type { FunctionRegistryService } from '@dxos/protocols/proto/dxos/agent/functions';
|
|
8
8
|
import type {
|
|
9
|
+
ContactsService,
|
|
9
10
|
DevicesService,
|
|
11
|
+
EdgeAgentService,
|
|
10
12
|
IdentityService,
|
|
11
13
|
InvitationsService,
|
|
12
14
|
LoggingService,
|
|
13
15
|
NetworkService,
|
|
14
16
|
SpacesService,
|
|
15
17
|
SystemService,
|
|
16
|
-
ContactsService,
|
|
17
|
-
EdgeAgentService,
|
|
18
18
|
} from '@dxos/protocols/proto/dxos/client/services';
|
|
19
19
|
import type { DevtoolsHost } from '@dxos/protocols/proto/dxos/devtools/host';
|
|
20
20
|
import type { QueryService } from '@dxos/protocols/proto/dxos/echo/query';
|
package/src/shell.ts
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
import { type Event } from '@dxos/async';
|
|
6
6
|
import { type PublicKey } from '@dxos/keys';
|
|
7
7
|
import {
|
|
8
|
-
type InvitationUrlRequest,
|
|
9
8
|
type AppContextRequest,
|
|
9
|
+
type InvitationUrlRequest,
|
|
10
10
|
type LayoutRequest,
|
|
11
11
|
type ShellLayout,
|
|
12
12
|
} from '@dxos/protocols/proto/dxos/iframe';
|
package/src/space.ts
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
// Copyright 2021 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import { type
|
|
5
|
+
import { type CleanupFn, type MulticastObservable } from '@dxos/async';
|
|
6
6
|
import { type SpecificCredential } from '@dxos/credentials';
|
|
7
|
-
import { type
|
|
7
|
+
import { type AnyLiveObject, type EchoDatabase, type QueueFactory } from '@dxos/echo-db';
|
|
8
8
|
import { type PublicKey, type SpaceId } from '@dxos/keys';
|
|
9
9
|
import {
|
|
10
10
|
type Contact,
|
|
11
11
|
type CreateEpochRequest,
|
|
12
12
|
type Invitation,
|
|
13
|
-
type Space as SpaceData,
|
|
14
13
|
type SpaceArchive,
|
|
14
|
+
type Space as SpaceData,
|
|
15
15
|
type SpaceMember,
|
|
16
16
|
type SpaceState,
|
|
17
17
|
type UpdateMemberRoleRequest,
|