@dxos/client-services 0.1.58-main.e460f33 → 0.1.58-main.eedac7a
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-PNAXUNJ7.mjs → chunk-5NAD4IAA.mjs} +6 -6
- package/dist/lib/browser/chunk-5NAD4IAA.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +6 -5
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/packlets/testing/index.mjs +3 -3
- package/dist/lib/browser/packlets/testing/index.mjs.map +3 -3
- package/dist/lib/node/index.cjs +9 -8
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/packlets/testing/index.cjs +6 -6
- package/dist/lib/node/packlets/testing/index.cjs.map +3 -3
- package/dist/types/src/packlets/invitations/invitations-handler.d.ts +3 -3
- package/dist/types/src/packlets/invitations/invitations-handler.d.ts.map +1 -1
- package/dist/types/src/packlets/invitations/invitations-service.d.ts.map +1 -1
- package/dist/types/src/packlets/testing/invitation-utils.d.ts +5 -5
- package/dist/types/src/packlets/testing/invitation-utils.d.ts.map +1 -1
- package/dist/types/src/packlets/vault/shell-runtime.d.ts +1 -1
- package/dist/types/src/packlets/vault/shell-runtime.d.ts.map +1 -1
- package/dist/types/src/version.d.ts +1 -1
- package/package.json +34 -34
- package/src/packlets/invitations/invitations-handler.ts +6 -6
- package/src/packlets/invitations/invitations-service.ts +5 -5
- package/src/packlets/spaces/spaces-service.ts +1 -1
- package/src/packlets/testing/invitation-utils.ts +9 -9
- package/src/packlets/vault/shell-runtime.ts +4 -4
- package/src/version.ts +1 -1
- package/dist/lib/browser/chunk-PNAXUNJ7.mjs.map +0 -7
|
@@ -71,7 +71,7 @@ var import_protocols = require("@dxos/protocols");
|
|
|
71
71
|
var import_services = require("@dxos/protocols/proto/dxos/client/services");
|
|
72
72
|
|
|
73
73
|
// packages/sdk/client-services/src/version.ts
|
|
74
|
-
var DXOS_VERSION = "0.1.58-main.
|
|
74
|
+
var DXOS_VERSION = "0.1.58-main.eedac7a";
|
|
75
75
|
|
|
76
76
|
// packages/sdk/client-services/src/packlets/services/platform.ts
|
|
77
77
|
var getPlatform = () => {
|
|
@@ -1626,7 +1626,7 @@ var InvitationsHandler = class {
|
|
|
1626
1626
|
state: import_services4.Invitation.State.CONNECTING
|
|
1627
1627
|
});
|
|
1628
1628
|
});
|
|
1629
|
-
const observable = new import_client_protocol2.
|
|
1629
|
+
const observable = new import_client_protocol2.CancellableInvitation({
|
|
1630
1630
|
initialInvitation: invitation,
|
|
1631
1631
|
subscriber: stream.observable,
|
|
1632
1632
|
onCancel: async () => {
|
|
@@ -1944,7 +1944,7 @@ var InvitationsHandler = class {
|
|
|
1944
1944
|
state: import_services4.Invitation.State.CONNECTING
|
|
1945
1945
|
});
|
|
1946
1946
|
});
|
|
1947
|
-
const observable = new import_client_protocol2.
|
|
1947
|
+
const observable = new import_client_protocol2.AuthenticatingInvitation({
|
|
1948
1948
|
initialInvitation: invitation,
|
|
1949
1949
|
subscriber: stream.observable,
|
|
1950
1950
|
onCancel: async () => {
|
|
@@ -3434,7 +3434,7 @@ var SpacesServiceImpl = class {
|
|
|
3434
3434
|
subscriptions.add(space.stateUpdate.on(ctx, () => scheduler.forceTrigger()));
|
|
3435
3435
|
subscriptions.add(space.presence.updated.on(ctx, () => scheduler.trigger()));
|
|
3436
3436
|
subscriptions.add(space.dataPipeline.onNewEpoch.on(ctx, () => scheduler.trigger()));
|
|
3437
|
-
space.inner.controlPipeline.state.timeframeUpdate.on(ctx, () => scheduler.trigger());
|
|
3437
|
+
subscriptions.add(space.inner.controlPipeline.state.timeframeUpdate.on(ctx, () => scheduler.trigger()));
|
|
3438
3438
|
if (space.dataPipeline.pipelineState) {
|
|
3439
3439
|
subscriptions.add(space.dataPipeline.pipelineState.timeframeUpdate.on(ctx, () => scheduler.trigger()));
|
|
3440
3440
|
}
|
|
@@ -5050,7 +5050,7 @@ var createInvitation = (host, options) => {
|
|
|
5050
5050
|
});
|
|
5051
5051
|
return host.invitations.createInvitation(hostHandler, options);
|
|
5052
5052
|
}
|
|
5053
|
-
return host.
|
|
5053
|
+
return host.share(options);
|
|
5054
5054
|
};
|
|
5055
5055
|
var acceptInvitation = (guest, invitation) => {
|
|
5056
5056
|
invitation = sanitizeInvitation(invitation);
|
|
@@ -5060,7 +5060,7 @@ var acceptInvitation = (guest, invitation) => {
|
|
|
5060
5060
|
});
|
|
5061
5061
|
return guest.invitations.acceptInvitation(guestHandler, invitation);
|
|
5062
5062
|
}
|
|
5063
|
-
return guest.
|
|
5063
|
+
return guest.join(invitation);
|
|
5064
5064
|
};
|
|
5065
5065
|
|
|
5066
5066
|
// packages/sdk/client-services/src/packlets/testing/test-builder.ts
|