@dxos/client-protocol 0.9.0 → 0.9.1-main.c7dcc2e112

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/client-protocol",
3
- "version": "0.9.0",
3
+ "version": "0.9.1-main.c7dcc2e112",
4
4
  "description": "Core DXOS Client API.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -34,15 +34,15 @@
34
34
  "dependencies": {
35
35
  "base-x": "~3.0.11",
36
36
  "effect": "3.21.3",
37
- "@dxos/async": "0.9.0",
38
- "@dxos/credentials": "0.9.0",
39
- "@dxos/echo": "0.9.0",
40
- "@dxos/invariant": "0.9.0",
41
- "@dxos/echo-client": "0.9.0",
42
- "@dxos/keys": "0.9.0",
43
- "@dxos/node-std": "0.9.0",
44
- "@dxos/protocols": "0.9.0",
45
- "@dxos/rpc": "0.9.0"
37
+ "@dxos/async": "0.9.1-main.c7dcc2e112",
38
+ "@dxos/credentials": "0.9.1-main.c7dcc2e112",
39
+ "@dxos/invariant": "0.9.1-main.c7dcc2e112",
40
+ "@dxos/echo-client": "0.9.1-main.c7dcc2e112",
41
+ "@dxos/node-std": "0.9.1-main.c7dcc2e112",
42
+ "@dxos/echo": "0.9.1-main.c7dcc2e112",
43
+ "@dxos/keys": "0.9.1-main.c7dcc2e112",
44
+ "@dxos/rpc": "0.9.1-main.c7dcc2e112",
45
+ "@dxos/protocols": "0.9.1-main.c7dcc2e112"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "effect": "3.21.3"
package/src/halo.ts CHANGED
@@ -26,7 +26,7 @@ export interface Halo {
26
26
  get credentials(): MulticastObservable<Credential[]>;
27
27
 
28
28
  createIdentity(options?: ProfileDocument, deviceProfile?: DeviceProfileDocument): Promise<Identity>;
29
- recoverIdentity(args: { recoveryCode: string }): Promise<Identity>;
29
+ recoverIdentity(args: { recoveryCode: string } | { recoveryProof: string } | { token: string }): Promise<Identity>;
30
30
  updateProfile(profile: ProfileDocument): Promise<Identity>;
31
31
 
32
32
  share(options?: Partial<Invitation>): CancellableInvitation;
package/src/space.ts CHANGED
@@ -6,8 +6,8 @@ import * as Schema from 'effect/Schema';
6
6
 
7
7
  import { type MulticastObservable } from '@dxos/async';
8
8
  import { type SpecificCredential } from '@dxos/credentials';
9
- import { type Database, type Obj } from '@dxos/echo';
10
- import { type EchoDatabase, type QueueFactory, type SpaceSyncState } from '@dxos/echo-client';
9
+ import { type Obj } from '@dxos/echo';
10
+ import { type EchoDatabase, type SpaceSyncState } from '@dxos/echo-client';
11
11
  import { type PublicKey, type SpaceId } from '@dxos/keys';
12
12
  import { type Messenger } from '@dxos/protocols';
13
13
  import {
@@ -91,12 +91,7 @@ export interface Space extends Messenger {
91
91
  /**
92
92
  * Echo database.
93
93
  */
94
- get db(): Database.Database;
95
-
96
- /**
97
- * Access to queues.
98
- */
99
- get queues(): QueueFactory;
94
+ get db(): EchoDatabase;
100
95
 
101
96
  // TODO(burdon): Replace with state?
102
97
  get isOpen(): boolean;