@dxos/client-protocol 0.8.3 → 0.8.4-main.f9ba587

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.
@@ -1,7 +1,7 @@
1
- // packages/sdk/client-protocol/src/client.ts
1
+ // src/client.ts
2
2
  var ClientServicesProviderResource = Symbol.for("dxos.resource.ClientServices");
3
3
 
4
- // packages/sdk/client-protocol/src/config.ts
4
+ // src/config.ts
5
5
  var DEFAULT_INTERNAL_CHANNEL = "dxos:vault";
6
6
  var DEFAULT_CLIENT_CHANNEL = "dxos:app";
7
7
  var DEFAULT_SHELL_CHANNEL = "dxos:shell";
@@ -23,7 +23,7 @@ var ENV_DX_NO_AGENT = "DX_NO_AGENT";
23
23
  var ENV_DX_PROFILE = "DX_PROFILE";
24
24
  var ENV_DX_PROFILE_DEFAULT = "default";
25
25
 
26
- // packages/sdk/client-protocol/src/invitations/encoder.ts
26
+ // src/invitations/encoder.ts
27
27
  import base from "base-x";
28
28
  import { schema } from "@dxos/protocols/proto";
29
29
  import { Invitation } from "@dxos/protocols/proto/dxos/client/services";
@@ -62,11 +62,11 @@ var InvitationEncoder = class {
62
62
  }
63
63
  };
64
64
 
65
- // packages/sdk/client-protocol/src/invitations/invitations.ts
65
+ // src/invitations/invitations.ts
66
66
  import { MulticastObservable } from "@dxos/async";
67
67
  import { invariant } from "@dxos/invariant";
68
68
  import { Invitation as Invitation2 } from "@dxos/protocols/proto/dxos/client/services";
69
- var __dxlog_file = "/home/runner/work/dxos/dxos/packages/sdk/client-protocol/src/invitations/invitations.ts";
69
+ var __dxlog_file = "/__w/dxos/dxos/packages/sdk/client-protocol/src/invitations/invitations.ts";
70
70
  var AUTHENTICATION_CODE_LENGTH = 6;
71
71
  var INVITATION_TIMEOUT = 3 * 6e4;
72
72
  var CancellableInvitation = class extends MulticastObservable {
@@ -125,7 +125,7 @@ var getExpirationTime = (invitation) => {
125
125
  return new Date(invitation.created.getTime() + invitation.lifetime * 1e3);
126
126
  };
127
127
 
128
- // packages/sdk/client-protocol/src/service-definitions.ts
128
+ // src/service-definitions.ts
129
129
  import { schema as schema2 } from "@dxos/protocols/proto";
130
130
  import { createServiceBundle } from "@dxos/rpc";
131
131
  var clientServiceBundle = createServiceBundle({
@@ -159,7 +159,7 @@ var shellServiceBundle = {
159
159
  ShellService: schema2.getService("dxos.iframe.ShellService")
160
160
  };
161
161
 
162
- // packages/sdk/client-protocol/src/timeouts.ts
162
+ // src/timeouts.ts
163
163
  var PROXY_CONNECTION_TIMEOUT = 3e4;
164
164
  var AUTH_TIMEOUT = 3e4;
165
165
  var STATUS_TIMEOUT = 1e4;
@@ -168,7 +168,7 @@ var LOAD_PROPERTIES_TIMEOUT = 3e3;
168
168
  var CREATE_SPACE_TIMEOUT = 5e3;
169
169
  var LOAD_CONTROL_FEEDS_TIMEOUT = 3e3;
170
170
 
171
- // packages/sdk/client-protocol/src/schema.ts
171
+ // src/schema.ts
172
172
  import { Schema } from "effect";
173
173
  import { Type } from "@dxos/echo";
174
174
  import { TypedObject } from "@dxos/echo-schema";
@@ -1 +1 @@
1
- {"inputs":{"packages/sdk/client-protocol/src/client.ts":{"bytes":723,"imports":[],"format":"esm"},"packages/sdk/client-protocol/src/config.ts":{"bytes":6076,"imports":[],"format":"esm"},"packages/sdk/client-protocol/src/echo.ts":{"bytes":3106,"imports":[],"format":"esm"},"packages/sdk/client-protocol/src/halo.ts":{"bytes":2789,"imports":[],"format":"esm"},"packages/sdk/client-protocol/src/invitations/encoder.ts":{"bytes":5832,"imports":[{"path":"base-x","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/client-protocol/src/invitations/invitations.ts":{"bytes":9370,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/client-protocol/src/invitations/index.ts":{"bytes":578,"imports":[{"path":"packages/sdk/client-protocol/src/invitations/encoder.ts","kind":"import-statement","original":"./encoder"},{"path":"packages/sdk/client-protocol/src/invitations/invitations.ts","kind":"import-statement","original":"./invitations"}],"format":"esm"},"packages/sdk/client-protocol/src/service-definitions.ts":{"bytes":9581,"imports":[{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/client-protocol/src/shell.ts":{"bytes":1468,"imports":[],"format":"esm"},"packages/sdk/client-protocol/src/space.ts":{"bytes":5847,"imports":[],"format":"esm"},"packages/sdk/client-protocol/src/timeouts.ts":{"bytes":3134,"imports":[],"format":"esm"},"packages/sdk/client-protocol/src/schema.ts":{"bytes":2833,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/client-protocol/src/index.ts":{"bytes":1254,"imports":[{"path":"packages/sdk/client-protocol/src/client.ts","kind":"import-statement","original":"./client"},{"path":"packages/sdk/client-protocol/src/config.ts","kind":"import-statement","original":"./config"},{"path":"packages/sdk/client-protocol/src/echo.ts","kind":"import-statement","original":"./echo"},{"path":"packages/sdk/client-protocol/src/halo.ts","kind":"import-statement","original":"./halo"},{"path":"packages/sdk/client-protocol/src/invitations/index.ts","kind":"import-statement","original":"./invitations"},{"path":"packages/sdk/client-protocol/src/service-definitions.ts","kind":"import-statement","original":"./service-definitions"},{"path":"packages/sdk/client-protocol/src/shell.ts","kind":"import-statement","original":"./shell"},{"path":"packages/sdk/client-protocol/src/space.ts","kind":"import-statement","original":"./space"},{"path":"packages/sdk/client-protocol/src/timeouts.ts","kind":"import-statement","original":"./timeouts"},{"path":"packages/sdk/client-protocol/src/schema.ts","kind":"import-statement","original":"./schema"}],"format":"esm"}},"outputs":{"packages/sdk/client-protocol/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":19130},"packages/sdk/client-protocol/dist/lib/browser/index.mjs":{"imports":[{"path":"base-x","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"exports":["AUTHENTICATION_CODE_LENGTH","AUTH_TIMEOUT","AuthenticatingInvitation","CREATE_SPACE_TIMEOUT","CancellableInvitation","ClientServicesProviderResource","DEFAULT_CLIENT_CHANNEL","DEFAULT_INTERNAL_CHANNEL","DEFAULT_SHELL_CHANNEL","DEFAULT_VAULT_URL","DEFAULT_WORKER_BROADCAST_CHANNEL","DX_CACHE","DX_CONFIG","DX_DATA","DX_RUNTIME","DX_STATE","ENV_DX_CONFIG","ENV_DX_NO_AGENT","ENV_DX_PROFILE","ENV_DX_PROFILE_DEFAULT","EXPECTED_CONFIG_VERSION","INVITATION_TIMEOUT","InvitationEncoder","LOAD_CONTROL_FEEDS_TIMEOUT","LOAD_PROPERTIES_TIMEOUT","PROXY_CONNECTION_TIMEOUT","PropertiesType","RESOURCE_LOCK_TIMEOUT","STATUS_TIMEOUT","TYPE_PROPERTIES","appServiceBundle","clientServiceBundle","defaultConfig","getExpirationTime","getProfilePath","iframeServiceBundle","shellServiceBundle","workerServiceBundle","wrapObservable"],"entryPoint":"packages/sdk/client-protocol/src/index.ts","inputs":{"packages/sdk/client-protocol/src/client.ts":{"bytesInOutput":81},"packages/sdk/client-protocol/src/index.ts":{"bytesInOutput":0},"packages/sdk/client-protocol/src/config.ts":{"bytesInOutput":841},"packages/sdk/client-protocol/src/invitations/encoder.ts":{"bytesInOutput":1355},"packages/sdk/client-protocol/src/invitations/index.ts":{"bytesInOutput":0},"packages/sdk/client-protocol/src/invitations/invitations.ts":{"bytesInOutput":1902},"packages/sdk/client-protocol/src/service-definitions.ts":{"bytesInOutput":1660},"packages/sdk/client-protocol/src/timeouts.ts":{"bytesInOutput":224},"packages/sdk/client-protocol/src/schema.ts":{"bytesInOutput":517}},"bytes":7854}}}
1
+ {"inputs":{"src/client.ts":{"bytes":710,"imports":[],"format":"esm"},"src/config.ts":{"bytes":6063,"imports":[],"format":"esm"},"src/echo.ts":{"bytes":3093,"imports":[],"format":"esm"},"src/halo.ts":{"bytes":2776,"imports":[],"format":"esm"},"src/invitations/encoder.ts":{"bytes":5819,"imports":[{"path":"base-x","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}],"format":"esm"},"src/invitations/invitations.ts":{"bytes":9357,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}],"format":"esm"},"src/invitations/index.ts":{"bytes":565,"imports":[{"path":"src/invitations/encoder.ts","kind":"import-statement","original":"./encoder"},{"path":"src/invitations/invitations.ts","kind":"import-statement","original":"./invitations"}],"format":"esm"},"src/service-definitions.ts":{"bytes":9568,"imports":[{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true}],"format":"esm"},"src/shell.ts":{"bytes":1455,"imports":[],"format":"esm"},"src/space.ts":{"bytes":5586,"imports":[],"format":"esm"},"src/timeouts.ts":{"bytes":3121,"imports":[],"format":"esm"},"src/schema.ts":{"bytes":2820,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":1241,"imports":[{"path":"src/client.ts","kind":"import-statement","original":"./client"},{"path":"src/config.ts","kind":"import-statement","original":"./config"},{"path":"src/echo.ts","kind":"import-statement","original":"./echo"},{"path":"src/halo.ts","kind":"import-statement","original":"./halo"},{"path":"src/invitations/index.ts","kind":"import-statement","original":"./invitations"},{"path":"src/service-definitions.ts","kind":"import-statement","original":"./service-definitions"},{"path":"src/shell.ts","kind":"import-statement","original":"./shell"},{"path":"src/space.ts","kind":"import-statement","original":"./space"},{"path":"src/timeouts.ts","kind":"import-statement","original":"./timeouts"},{"path":"src/schema.ts","kind":"import-statement","original":"./schema"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":19130},"dist/lib/browser/index.mjs":{"imports":[{"path":"base-x","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"exports":["AUTHENTICATION_CODE_LENGTH","AUTH_TIMEOUT","AuthenticatingInvitation","CREATE_SPACE_TIMEOUT","CancellableInvitation","ClientServicesProviderResource","DEFAULT_CLIENT_CHANNEL","DEFAULT_INTERNAL_CHANNEL","DEFAULT_SHELL_CHANNEL","DEFAULT_VAULT_URL","DEFAULT_WORKER_BROADCAST_CHANNEL","DX_CACHE","DX_CONFIG","DX_DATA","DX_RUNTIME","DX_STATE","ENV_DX_CONFIG","ENV_DX_NO_AGENT","ENV_DX_PROFILE","ENV_DX_PROFILE_DEFAULT","EXPECTED_CONFIG_VERSION","INVITATION_TIMEOUT","InvitationEncoder","LOAD_CONTROL_FEEDS_TIMEOUT","LOAD_PROPERTIES_TIMEOUT","PROXY_CONNECTION_TIMEOUT","PropertiesType","RESOURCE_LOCK_TIMEOUT","STATUS_TIMEOUT","TYPE_PROPERTIES","appServiceBundle","clientServiceBundle","defaultConfig","getExpirationTime","getProfilePath","iframeServiceBundle","shellServiceBundle","workerServiceBundle","wrapObservable"],"entryPoint":"src/index.ts","inputs":{"src/client.ts":{"bytesInOutput":81},"src/index.ts":{"bytesInOutput":0},"src/config.ts":{"bytesInOutput":841},"src/invitations/encoder.ts":{"bytesInOutput":1355},"src/invitations/index.ts":{"bytesInOutput":0},"src/invitations/invitations.ts":{"bytesInOutput":1889},"src/service-definitions.ts":{"bytesInOutput":1660},"src/timeouts.ts":{"bytesInOutput":224},"src/schema.ts":{"bytesInOutput":517}},"bytes":7638}}}
@@ -1,9 +1,9 @@
1
1
  import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
2
 
3
- // packages/sdk/client-protocol/src/client.ts
3
+ // src/client.ts
4
4
  var ClientServicesProviderResource = Symbol.for("dxos.resource.ClientServices");
5
5
 
6
- // packages/sdk/client-protocol/src/config.ts
6
+ // src/config.ts
7
7
  var DEFAULT_INTERNAL_CHANNEL = "dxos:vault";
8
8
  var DEFAULT_CLIENT_CHANNEL = "dxos:app";
9
9
  var DEFAULT_SHELL_CHANNEL = "dxos:shell";
@@ -25,7 +25,7 @@ var ENV_DX_NO_AGENT = "DX_NO_AGENT";
25
25
  var ENV_DX_PROFILE = "DX_PROFILE";
26
26
  var ENV_DX_PROFILE_DEFAULT = "default";
27
27
 
28
- // packages/sdk/client-protocol/src/invitations/encoder.ts
28
+ // src/invitations/encoder.ts
29
29
  import base from "base-x";
30
30
  import { schema } from "@dxos/protocols/proto";
31
31
  import { Invitation } from "@dxos/protocols/proto/dxos/client/services";
@@ -64,11 +64,11 @@ var InvitationEncoder = class {
64
64
  }
65
65
  };
66
66
 
67
- // packages/sdk/client-protocol/src/invitations/invitations.ts
67
+ // src/invitations/invitations.ts
68
68
  import { MulticastObservable } from "@dxos/async";
69
69
  import { invariant } from "@dxos/invariant";
70
70
  import { Invitation as Invitation2 } from "@dxos/protocols/proto/dxos/client/services";
71
- var __dxlog_file = "/home/runner/work/dxos/dxos/packages/sdk/client-protocol/src/invitations/invitations.ts";
71
+ var __dxlog_file = "/__w/dxos/dxos/packages/sdk/client-protocol/src/invitations/invitations.ts";
72
72
  var AUTHENTICATION_CODE_LENGTH = 6;
73
73
  var INVITATION_TIMEOUT = 3 * 6e4;
74
74
  var CancellableInvitation = class extends MulticastObservable {
@@ -127,7 +127,7 @@ var getExpirationTime = (invitation) => {
127
127
  return new Date(invitation.created.getTime() + invitation.lifetime * 1e3);
128
128
  };
129
129
 
130
- // packages/sdk/client-protocol/src/service-definitions.ts
130
+ // src/service-definitions.ts
131
131
  import { schema as schema2 } from "@dxos/protocols/proto";
132
132
  import { createServiceBundle } from "@dxos/rpc";
133
133
  var clientServiceBundle = createServiceBundle({
@@ -161,7 +161,7 @@ var shellServiceBundle = {
161
161
  ShellService: schema2.getService("dxos.iframe.ShellService")
162
162
  };
163
163
 
164
- // packages/sdk/client-protocol/src/timeouts.ts
164
+ // src/timeouts.ts
165
165
  var PROXY_CONNECTION_TIMEOUT = 3e4;
166
166
  var AUTH_TIMEOUT = 3e4;
167
167
  var STATUS_TIMEOUT = 1e4;
@@ -170,7 +170,7 @@ var LOAD_PROPERTIES_TIMEOUT = 3e3;
170
170
  var CREATE_SPACE_TIMEOUT = 5e3;
171
171
  var LOAD_CONTROL_FEEDS_TIMEOUT = 3e3;
172
172
 
173
- // packages/sdk/client-protocol/src/schema.ts
173
+ // src/schema.ts
174
174
  import { Schema } from "effect";
175
175
  import { Type } from "@dxos/echo";
176
176
  import { TypedObject } from "@dxos/echo-schema";
@@ -1 +1 @@
1
- {"inputs":{"packages/sdk/client-protocol/src/client.ts":{"bytes":723,"imports":[],"format":"esm"},"packages/sdk/client-protocol/src/config.ts":{"bytes":6076,"imports":[],"format":"esm"},"packages/sdk/client-protocol/src/echo.ts":{"bytes":3106,"imports":[],"format":"esm"},"packages/sdk/client-protocol/src/halo.ts":{"bytes":2789,"imports":[],"format":"esm"},"packages/sdk/client-protocol/src/invitations/encoder.ts":{"bytes":5832,"imports":[{"path":"base-x","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/client-protocol/src/invitations/invitations.ts":{"bytes":9370,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/client-protocol/src/invitations/index.ts":{"bytes":578,"imports":[{"path":"packages/sdk/client-protocol/src/invitations/encoder.ts","kind":"import-statement","original":"./encoder"},{"path":"packages/sdk/client-protocol/src/invitations/invitations.ts","kind":"import-statement","original":"./invitations"}],"format":"esm"},"packages/sdk/client-protocol/src/service-definitions.ts":{"bytes":9581,"imports":[{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/client-protocol/src/shell.ts":{"bytes":1468,"imports":[],"format":"esm"},"packages/sdk/client-protocol/src/space.ts":{"bytes":5847,"imports":[],"format":"esm"},"packages/sdk/client-protocol/src/timeouts.ts":{"bytes":3134,"imports":[],"format":"esm"},"packages/sdk/client-protocol/src/schema.ts":{"bytes":2833,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/client-protocol/src/index.ts":{"bytes":1254,"imports":[{"path":"packages/sdk/client-protocol/src/client.ts","kind":"import-statement","original":"./client"},{"path":"packages/sdk/client-protocol/src/config.ts","kind":"import-statement","original":"./config"},{"path":"packages/sdk/client-protocol/src/echo.ts","kind":"import-statement","original":"./echo"},{"path":"packages/sdk/client-protocol/src/halo.ts","kind":"import-statement","original":"./halo"},{"path":"packages/sdk/client-protocol/src/invitations/index.ts","kind":"import-statement","original":"./invitations"},{"path":"packages/sdk/client-protocol/src/service-definitions.ts","kind":"import-statement","original":"./service-definitions"},{"path":"packages/sdk/client-protocol/src/shell.ts","kind":"import-statement","original":"./shell"},{"path":"packages/sdk/client-protocol/src/space.ts","kind":"import-statement","original":"./space"},{"path":"packages/sdk/client-protocol/src/timeouts.ts","kind":"import-statement","original":"./timeouts"},{"path":"packages/sdk/client-protocol/src/schema.ts","kind":"import-statement","original":"./schema"}],"format":"esm"}},"outputs":{"packages/sdk/client-protocol/dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":19132},"packages/sdk/client-protocol/dist/lib/node-esm/index.mjs":{"imports":[{"path":"base-x","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"exports":["AUTHENTICATION_CODE_LENGTH","AUTH_TIMEOUT","AuthenticatingInvitation","CREATE_SPACE_TIMEOUT","CancellableInvitation","ClientServicesProviderResource","DEFAULT_CLIENT_CHANNEL","DEFAULT_INTERNAL_CHANNEL","DEFAULT_SHELL_CHANNEL","DEFAULT_VAULT_URL","DEFAULT_WORKER_BROADCAST_CHANNEL","DX_CACHE","DX_CONFIG","DX_DATA","DX_RUNTIME","DX_STATE","ENV_DX_CONFIG","ENV_DX_NO_AGENT","ENV_DX_PROFILE","ENV_DX_PROFILE_DEFAULT","EXPECTED_CONFIG_VERSION","INVITATION_TIMEOUT","InvitationEncoder","LOAD_CONTROL_FEEDS_TIMEOUT","LOAD_PROPERTIES_TIMEOUT","PROXY_CONNECTION_TIMEOUT","PropertiesType","RESOURCE_LOCK_TIMEOUT","STATUS_TIMEOUT","TYPE_PROPERTIES","appServiceBundle","clientServiceBundle","defaultConfig","getExpirationTime","getProfilePath","iframeServiceBundle","shellServiceBundle","workerServiceBundle","wrapObservable"],"entryPoint":"packages/sdk/client-protocol/src/index.ts","inputs":{"packages/sdk/client-protocol/src/client.ts":{"bytesInOutput":81},"packages/sdk/client-protocol/src/index.ts":{"bytesInOutput":0},"packages/sdk/client-protocol/src/config.ts":{"bytesInOutput":841},"packages/sdk/client-protocol/src/invitations/encoder.ts":{"bytesInOutput":1355},"packages/sdk/client-protocol/src/invitations/index.ts":{"bytesInOutput":0},"packages/sdk/client-protocol/src/invitations/invitations.ts":{"bytesInOutput":1902},"packages/sdk/client-protocol/src/service-definitions.ts":{"bytesInOutput":1660},"packages/sdk/client-protocol/src/timeouts.ts":{"bytesInOutput":224},"packages/sdk/client-protocol/src/schema.ts":{"bytesInOutput":517}},"bytes":7947}}}
1
+ {"inputs":{"src/client.ts":{"bytes":710,"imports":[],"format":"esm"},"src/config.ts":{"bytes":6063,"imports":[],"format":"esm"},"src/echo.ts":{"bytes":3093,"imports":[],"format":"esm"},"src/halo.ts":{"bytes":2776,"imports":[],"format":"esm"},"src/invitations/encoder.ts":{"bytes":5819,"imports":[{"path":"base-x","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}],"format":"esm"},"src/invitations/invitations.ts":{"bytes":9357,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}],"format":"esm"},"src/invitations/index.ts":{"bytes":565,"imports":[{"path":"src/invitations/encoder.ts","kind":"import-statement","original":"./encoder"},{"path":"src/invitations/invitations.ts","kind":"import-statement","original":"./invitations"}],"format":"esm"},"src/service-definitions.ts":{"bytes":9568,"imports":[{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true}],"format":"esm"},"src/shell.ts":{"bytes":1455,"imports":[],"format":"esm"},"src/space.ts":{"bytes":5586,"imports":[],"format":"esm"},"src/timeouts.ts":{"bytes":3121,"imports":[],"format":"esm"},"src/schema.ts":{"bytes":2820,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":1241,"imports":[{"path":"src/client.ts","kind":"import-statement","original":"./client"},{"path":"src/config.ts","kind":"import-statement","original":"./config"},{"path":"src/echo.ts","kind":"import-statement","original":"./echo"},{"path":"src/halo.ts","kind":"import-statement","original":"./halo"},{"path":"src/invitations/index.ts","kind":"import-statement","original":"./invitations"},{"path":"src/service-definitions.ts","kind":"import-statement","original":"./service-definitions"},{"path":"src/shell.ts","kind":"import-statement","original":"./shell"},{"path":"src/space.ts","kind":"import-statement","original":"./space"},{"path":"src/timeouts.ts","kind":"import-statement","original":"./timeouts"},{"path":"src/schema.ts","kind":"import-statement","original":"./schema"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":19132},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"base-x","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"exports":["AUTHENTICATION_CODE_LENGTH","AUTH_TIMEOUT","AuthenticatingInvitation","CREATE_SPACE_TIMEOUT","CancellableInvitation","ClientServicesProviderResource","DEFAULT_CLIENT_CHANNEL","DEFAULT_INTERNAL_CHANNEL","DEFAULT_SHELL_CHANNEL","DEFAULT_VAULT_URL","DEFAULT_WORKER_BROADCAST_CHANNEL","DX_CACHE","DX_CONFIG","DX_DATA","DX_RUNTIME","DX_STATE","ENV_DX_CONFIG","ENV_DX_NO_AGENT","ENV_DX_PROFILE","ENV_DX_PROFILE_DEFAULT","EXPECTED_CONFIG_VERSION","INVITATION_TIMEOUT","InvitationEncoder","LOAD_CONTROL_FEEDS_TIMEOUT","LOAD_PROPERTIES_TIMEOUT","PROXY_CONNECTION_TIMEOUT","PropertiesType","RESOURCE_LOCK_TIMEOUT","STATUS_TIMEOUT","TYPE_PROPERTIES","appServiceBundle","clientServiceBundle","defaultConfig","getExpirationTime","getProfilePath","iframeServiceBundle","shellServiceBundle","workerServiceBundle","wrapObservable"],"entryPoint":"src/index.ts","inputs":{"src/client.ts":{"bytesInOutput":81},"src/index.ts":{"bytesInOutput":0},"src/config.ts":{"bytesInOutput":841},"src/invitations/encoder.ts":{"bytesInOutput":1355},"src/invitations/index.ts":{"bytesInOutput":0},"src/invitations/invitations.ts":{"bytesInOutput":1889},"src/service-definitions.ts":{"bytesInOutput":1660},"src/timeouts.ts":{"bytesInOutput":224},"src/schema.ts":{"bytesInOutput":517}},"bytes":7731}}}
@@ -1,6 +1,6 @@
1
1
  import { type MulticastObservable, type CleanupFn } from '@dxos/async';
2
2
  import { type SpecificCredential } from '@dxos/credentials';
3
- import { type QueueFactory, type CoreDatabase, type EchoDatabase, type AnyLiveObject } from '@dxos/echo-db';
3
+ import { type QueueFactory, type EchoDatabase, type AnyLiveObject } from '@dxos/echo-db';
4
4
  import { type PublicKey, type SpaceId } from '@dxos/keys';
5
5
  import { type Contact, type CreateEpochRequest, type Invitation, type Space as SpaceData, type SpaceArchive, type SpaceMember, type SpaceState, type UpdateMemberRoleRequest } from '@dxos/protocols/proto/dxos/client/services';
6
6
  import { type EdgeReplicationSetting } from '@dxos/protocols/proto/dxos/echo/metadata';
@@ -42,11 +42,6 @@ export interface Space {
42
42
  * Access to queues.
43
43
  */
44
44
  get queues(): QueueFactory;
45
- /**
46
- * Echo database CRUD API.
47
- * @deprecated Use the database api with the `plain` format.
48
- */
49
- get crud(): CoreDatabase;
50
45
  get isOpen(): boolean;
51
46
  /**
52
47
  * Properties object.
@@ -1 +1 @@
1
- {"version":3,"file":"space.d.ts","sourceRoot":"","sources":["../../../src/space.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AACvE,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,YAAY,EAAE,KAAK,YAAY,EAAE,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AAC5G,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,OAAO,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,kBAAkB,EACvB,KAAK,UAAU,EACf,KAAK,KAAK,IAAI,SAAS,EACvB,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,uBAAuB,EAC7B,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AACvF,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,0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