@dxos/client-services 0.7.5-main.9cb18ac → 0.7.5-main.9d2a38b
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-2VSGKKFD.mjs → chunk-RFZHCLFI.mjs} +46 -17
- package/dist/lib/browser/chunk-RFZHCLFI.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/testing/index.mjs +1 -1
- package/dist/lib/node/{chunk-B64P5OCZ.cjs → chunk-WCTGAZLA.cjs} +81 -52
- package/dist/lib/node/chunk-WCTGAZLA.cjs.map +7 -0
- package/dist/lib/node/index.cjs +47 -47
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/testing/index.cjs +8 -8
- package/dist/lib/node-esm/{chunk-C3BNCKWT.mjs → chunk-RSOLUJE6.mjs} +46 -17
- package/dist/lib/node-esm/chunk-RSOLUJE6.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +1 -1
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/testing/index.mjs +1 -1
- package/dist/types/src/packlets/agents/edge-agent-service.d.ts +1 -1
- package/dist/types/src/packlets/agents/edge-agent-service.d.ts.map +1 -1
- package/dist/types/src/packlets/devices/devices-service.d.ts +1 -1
- package/dist/types/src/packlets/devices/devices-service.d.ts.map +1 -1
- package/dist/types/src/packlets/devtools/devtools.d.ts +1 -1
- package/dist/types/src/packlets/devtools/devtools.d.ts.map +1 -1
- package/dist/types/src/packlets/devtools/feeds.d.ts +1 -1
- package/dist/types/src/packlets/devtools/feeds.d.ts.map +1 -1
- package/dist/types/src/packlets/devtools/keys.d.ts +1 -1
- package/dist/types/src/packlets/devtools/keys.d.ts.map +1 -1
- package/dist/types/src/packlets/devtools/metadata.d.ts +1 -1
- package/dist/types/src/packlets/devtools/metadata.d.ts.map +1 -1
- package/dist/types/src/packlets/devtools/network.d.ts +1 -1
- package/dist/types/src/packlets/devtools/network.d.ts.map +1 -1
- package/dist/types/src/packlets/devtools/spaces.d.ts +1 -1
- package/dist/types/src/packlets/devtools/spaces.d.ts.map +1 -1
- package/dist/types/src/packlets/identity/contacts-service.d.ts +1 -1
- package/dist/types/src/packlets/identity/contacts-service.d.ts.map +1 -1
- package/dist/types/src/packlets/identity/identity-service.d.ts +1 -1
- package/dist/types/src/packlets/identity/identity-service.d.ts.map +1 -1
- package/dist/types/src/packlets/invitations/invitations-service.d.ts +1 -1
- package/dist/types/src/packlets/invitations/invitations-service.d.ts.map +1 -1
- package/dist/types/src/packlets/logging/logging-service.d.ts +1 -1
- package/dist/types/src/packlets/logging/logging-service.d.ts.map +1 -1
- package/dist/types/src/packlets/network/network-service.d.ts +9 -2
- package/dist/types/src/packlets/network/network-service.d.ts.map +1 -1
- package/dist/types/src/packlets/spaces/spaces-service.d.ts +1 -1
- package/dist/types/src/packlets/spaces/spaces-service.d.ts.map +1 -1
- package/dist/types/src/packlets/system/system-service.d.ts +1 -1
- package/dist/types/src/packlets/system/system-service.d.ts.map +1 -1
- package/dist/types/src/version.d.ts +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +38 -38
- package/src/packlets/agents/edge-agent-service.ts +1 -1
- package/src/packlets/devices/devices-service.ts +1 -1
- package/src/packlets/devtools/devtools.ts +1 -1
- package/src/packlets/devtools/feeds.ts +1 -1
- package/src/packlets/devtools/keys.ts +1 -1
- package/src/packlets/devtools/metadata.ts +1 -1
- package/src/packlets/devtools/network.ts +1 -1
- package/src/packlets/devtools/spaces.ts +1 -1
- package/src/packlets/identity/contacts-service.ts +1 -1
- package/src/packlets/identity/identity-service.ts +1 -1
- package/src/packlets/invitations/invitations-service.ts +1 -1
- package/src/packlets/logging/logging-service.ts +1 -1
- package/src/packlets/network/network-service.ts +39 -1
- package/src/packlets/spaces/spaces-service.ts +1 -1
- package/src/packlets/system/system-service.ts +1 -1
- package/src/version.ts +1 -1
- package/dist/lib/browser/chunk-2VSGKKFD.mjs.map +0 -7
- package/dist/lib/node/chunk-B64P5OCZ.cjs.map +0 -7
- package/dist/lib/node-esm/chunk-C3BNCKWT.mjs.map +0 -7
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
InvitationsManager,
|
|
7
7
|
ServiceContext,
|
|
8
8
|
SpaceInvitationProtocol
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-RSOLUJE6.mjs";
|
|
10
10
|
|
|
11
11
|
// packages/sdk/client-services/src/packlets/testing/credential-utils.ts
|
|
12
12
|
import { createCredential } from "@dxos/credentials";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Stream } from '@dxos/codec-protobuf';
|
|
1
|
+
import { Stream } from '@dxos/codec-protobuf/stream';
|
|
2
2
|
import { type EdgeConnection } from '@dxos/edge-client';
|
|
3
3
|
import { QueryAgentStatusResponse, QueryEdgeStatusResponse, type EdgeAgentService } from '@dxos/protocols/proto/dxos/client/services';
|
|
4
4
|
import { type EdgeAgentManager } from './edge-agent-manager';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edge-agent-service.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/agents/edge-agent-service.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"edge-agent-service.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/agents/edge-agent-service.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AACrD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,EACL,wBAAwB,EACxB,uBAAuB,EACvB,KAAK,gBAAgB,EACtB,MAAM,4CAA4C,CAAC;AAEpD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAG7D,qBAAa,oBAAqB,YAAW,gBAAgB;IAEzD,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IACtC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAC;gBADhB,qBAAqB,EAAE,MAAM,OAAO,CAAC,gBAAgB,CAAC,EACtD,eAAe,CAAC,EAAE,cAAc,YAAA;IAGnD,eAAe,IAAI,MAAM,CAAC,uBAAuB,CAAC;IAgB5C,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;IAIlC,gBAAgB,IAAI,MAAM,CAAC,wBAAwB,CAAC;CAWrD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Stream } from '@dxos/codec-protobuf';
|
|
1
|
+
import { Stream } from '@dxos/codec-protobuf/stream';
|
|
2
2
|
import { type EdgeConnection } from '@dxos/edge-client';
|
|
3
3
|
import { Device, type DevicesService, type QueryDevicesResponse } from '@dxos/protocols/proto/dxos/client/services';
|
|
4
4
|
import { type DeviceProfileDocument } from '@dxos/protocols/proto/dxos/halo/credentials';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devices-service.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/devices/devices-service.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"devices-service.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/devices/devices-service.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AACrD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,EACL,MAAM,EAEN,KAAK,cAAc,EACnB,KAAK,oBAAoB,EAC1B,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAEzF,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,qBAAa,kBAAmB,YAAW,cAAc;IAErD,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAC;gBADhB,gBAAgB,EAAE,eAAe,EACjC,eAAe,CAAC,EAAE,cAAc,YAAA;IAG7C,YAAY,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,MAAM,CAAC;IAInE,YAAY,IAAI,MAAM,CAAC,oBAAoB,CAAC;CA+E7C"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Event as AsyncEvent } from '@dxos/async';
|
|
2
|
-
import { Stream } from '@dxos/codec-protobuf';
|
|
2
|
+
import { Stream } from '@dxos/codec-protobuf/stream';
|
|
3
3
|
import { type Config } from '@dxos/config';
|
|
4
4
|
import { type ClearSnapshotsRequest, type DevtoolsHost, // TODO(burdon): Rename DevtoolsService
|
|
5
5
|
type EnableDebugLoggingRequest, type EnableDebugLoggingResponse, type Event, type GetConfigResponse, type GetNetworkPeersRequest, type GetNetworkPeersResponse, type GetSpaceSnapshotRequest, type GetSpaceSnapshotResponse, type ResetStorageRequest, type SaveSpaceSnapshotRequest, type SaveSpaceSnapshotResponse, type SubscribeToCredentialMessagesRequest, type SubscribeToCredentialMessagesResponse, type SubscribeToFeedBlocksRequest, type SubscribeToFeedBlocksResponse, type SubscribeToFeedsRequest, type SubscribeToFeedsResponse, type SubscribeToItemsRequest, type SubscribeToItemsResponse, type SubscribeToKeyringKeysRequest, type SubscribeToKeyringKeysResponse, type SubscribeToNetworkTopicsResponse, type SubscribeToSpacesRequest, type SubscribeToSpacesResponse, type SubscribeToSignalStatusResponse, type SignalResponse, type SubscribeToSwarmInfoResponse, type StorageInfo, type GetSnapshotsResponse, type SubscribeToMetadataResponse, type GetBlobsResponse } from '@dxos/protocols/proto/dxos/devtools/host';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devtools.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/devtools/devtools.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,UAAU,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,MAAM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AIxF,cAAc,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC;IAI7D,eAAe,CAAC,OAAO,EAAE,sBAAsB,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAIlF,wBAAwB,CAAC,OAAO,EAAE,IAAI,GAAG,MAAM,CAAC,gCAAgC,CAAC;IAIjF,uBAAuB,CAAC,OAAO,EAAE,IAAI,GAAG,MAAM,CAAC,+BAA+B,CAAC;IAI/E,iBAAiB,IAAI,MAAM,CAAC,cAAc,CAAC;IAI3C,oBAAoB,IAAI,MAAM,CAAC,4BAA4B,CAAC;IAI5D,mBAAmB,IAAI,MAAM,CAAC,2BAA2B,CAAC;CAG3D"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Stream } from '@dxos/codec-protobuf';
|
|
1
|
+
import { Stream } from '@dxos/codec-protobuf/stream';
|
|
2
2
|
import { type SpaceManager } from '@dxos/echo-pipeline';
|
|
3
3
|
import { type FeedStore } from '@dxos/feed-store';
|
|
4
4
|
import { type SubscribeToFeedsRequest, type SubscribeToFeedsResponse, type SubscribeToFeedBlocksRequest, type SubscribeToFeedBlocksResponse } from '@dxos/protocols/proto/dxos/devtools/host';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feeds.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/devtools/feeds.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"feeds.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/devtools/feeds.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AACrD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAgB,KAAK,SAAS,EAAoB,MAAM,kBAAkB,CAAC;AAGlF,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EACnC,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAQxE,eAAO,MAAM,gBAAgB,gCACE;IAAE,SAAS,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IAAC,YAAY,EAAE,YAAY,CAAA;CAAE,gBAChF,uBAAuB,qCAuCtC,CAAC;AAmBF,eAAO,MAAM,qBAAqB,kBACjB;IAAE,SAAS,EAAE,SAAS,CAAC,WAAW,CAAC,CAAA;CAAE,0BACvB,4BAA4B,0CAkD1D,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Stream } from '@dxos/codec-protobuf';
|
|
1
|
+
import { Stream } from '@dxos/codec-protobuf/stream';
|
|
2
2
|
import { type Keyring } from '@dxos/keyring';
|
|
3
3
|
import { type SubscribeToKeyringKeysResponse } from '@dxos/protocols/proto/dxos/devtools/host';
|
|
4
4
|
export declare const subscribeToKeyringKeys: ({ keyring }: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/devtools/keys.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/devtools/keys.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AACrD,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,KAAK,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAE/F,eAAO,MAAM,sBAAsB,gBAAiB;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,2CASpE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Stream } from '@dxos/codec-protobuf';
|
|
1
|
+
import { Stream } from '@dxos/codec-protobuf/stream';
|
|
2
2
|
import { type SubscribeToMetadataResponse } from '@dxos/protocols/proto/dxos/devtools/host';
|
|
3
3
|
import { type ServiceContext } from '../services';
|
|
4
4
|
export declare const subscribeToMetadata: ({ context }: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/devtools/metadata.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/devtools/metadata.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AACrD,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AAE5F,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,eAAO,MAAM,mBAAmB,gBAAiB;IAAE,OAAO,EAAE,cAAc,CAAA;CAAE,wCAIxE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Stream } from '@dxos/codec-protobuf';
|
|
1
|
+
import { Stream } from '@dxos/codec-protobuf/stream';
|
|
2
2
|
import { type SignalManager } from '@dxos/messaging';
|
|
3
3
|
import { type SwarmNetworkManager } from '@dxos/network-manager';
|
|
4
4
|
import { type GetNetworkPeersRequest, type GetNetworkPeersResponse, type SubscribeToNetworkTopicsResponse, type SubscribeToSignalStatusResponse, type SignalResponse, type SubscribeToSwarmInfoResponse } from '@dxos/protocols/proto/dxos/devtools/host';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"network.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/devtools/network.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"network.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/devtools/network.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAGrD,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,gCAAgC,EACrC,KAAK,+BAA+B,EACpC,KAAK,cAAc,EACnB,KAAK,4BAA4B,EAClC,MAAM,0CAA0C,CAAC;AAElD,eAAO,MAAM,wBAAwB,sBAAuB;IAAE,aAAa,EAAE,aAAa,CAAA;CAAE,4CAaxF,CAAC;AAEL,eAAO,MAAM,iBAAiB,sBAAuB;IAAE,aAAa,EAAE,aAAa,CAAA;CAAE,2BA8BjF,CAAC;AAEL,eAAO,MAAM,wBAAwB,uBAAwB;IAAE,cAAc,EAAE,mBAAmB,CAAA;CAAE,6CAiBhG,CAAC;AAEL,eAAO,MAAM,oBAAoB,uBAAwB;IAAE,cAAc,EAAE,mBAAmB,CAAA;CAAE,yCAU5F,CAAC;AAEL,eAAO,MAAM,eAAe,uBACN;IAAE,cAAc,EAAE,mBAAmB,CAAA;CAAE,WAClD,sBAAsB,KAC9B,uBAYF,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Stream } from '@dxos/codec-protobuf';
|
|
1
|
+
import { Stream } from '@dxos/codec-protobuf/stream';
|
|
2
2
|
import { type SubscribeToSpacesRequest, type SubscribeToSpacesResponse } from '@dxos/protocols/proto/dxos/devtools/host';
|
|
3
3
|
import { type ServiceContext } from '../services';
|
|
4
4
|
export declare const subscribeToSpaces: (context: ServiceContext, { spaceKeys }: SubscribeToSpacesRequest) => Stream<SubscribeToSpacesResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spaces.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/devtools/spaces.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"spaces.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/devtools/spaces.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAErD,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC/B,MAAM,0CAA0C,CAAC;AAGlD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,eAAO,MAAM,iBAAiB,YAAa,cAAc,iBAAsB,wBAAwB,sCAyCtG,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Stream } from '@dxos/codec-protobuf';
|
|
1
|
+
import { Stream } from '@dxos/codec-protobuf/stream';
|
|
2
2
|
import { type SpaceManager } from '@dxos/echo-pipeline';
|
|
3
3
|
import { type ContactBook, type ContactsService } from '@dxos/protocols/proto/dxos/client/services';
|
|
4
4
|
import { type IdentityManager } from './identity-manager';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contacts-service.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/identity/contacts-service.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"contacts-service.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/identity/contacts-service.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAErD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,EAAgB,KAAK,WAAW,EAAE,KAAK,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAGlH,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAElD,qBAAa,mBAAoB,YAAW,eAAe;IAEvD,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,yBAAyB;gBAFzB,gBAAgB,EAAE,eAAe,EACjC,aAAa,EAAE,YAAY,EAC3B,yBAAyB,EAAE,MAAM,OAAO,CAAC,gBAAgB,CAAC;IAGvE,WAAW,IAAI,OAAO,CAAC,WAAW,CAAC;IA8BzC,aAAa,IAAI,MAAM,CAAC,WAAW,CAAC;CAgCrC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Stream } from '@dxos/codec-protobuf';
|
|
1
|
+
import { Stream } from '@dxos/codec-protobuf/stream';
|
|
2
2
|
import { Resource } from '@dxos/context';
|
|
3
3
|
import { type Keyring } from '@dxos/keyring';
|
|
4
4
|
import { type CreateIdentityRequest, type Identity as IdentityProto, type IdentityService, type QueryIdentityResponse, type RecoverIdentityRequest, type SignPresentationRequest } from '@dxos/protocols/proto/dxos/client/services';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity-service.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/identity/identity-service.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"identity-service.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/identity/identity-service.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAGzC,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,eAAe,CAAC;AAE7C,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,QAAQ,IAAI,aAAa,EAC9B,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAE7B,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAGtG,OAAO,EAAE,KAAK,QAAQ,EAAE,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AeZ,+BAA+B;CA6C9C"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Stream } from '@dxos/codec-protobuf';
|
|
1
|
+
import { Stream } from '@dxos/codec-protobuf/stream';
|
|
2
2
|
import { type AuthenticationRequest, type AcceptInvitationRequest, type Invitation, type InvitationsService, QueryInvitationsResponse } from '@dxos/protocols/proto/dxos/client/services';
|
|
3
3
|
import { type InvitationsManager } from './invitations-manager';
|
|
4
4
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invitations-service.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/invitations/invitations-service.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"invitations-service.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/invitations/invitations-service.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AACrD,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,wBAAwB,EACzB,MAAM,4CAA4C,CAAC;AAGpD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhE;;GAEG;AACH,qBAAa,sBAAuB,YAAW,kBAAkB;IACnD,OAAO,CAAC,QAAQ,CAAC,mBAAmB;gBAAnB,mBAAmB,EAAE,kBAAkB;IAGpE,iBAAiB;IAMjB,gBAAgB,CAAC,OAAO,EAAE,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;IAYzD,gBAAgB,CAAC,OAAO,EAAE,uBAAuB,GAAG,MAAM,CAAC,UAAU,CAAC;IAOhE,YAAY,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC;IAI3D,gBAAgB,CAAC,OAAO,EAAE;QAAE,YAAY,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAIxE,gBAAgB,IAAI,MAAM,CAAC,wBAAwB,CAAC;CAsErD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Stream } from '@dxos/codec-protobuf';
|
|
1
|
+
import { Stream } from '@dxos/codec-protobuf/stream';
|
|
2
2
|
import { type LogEntry, type LoggingService, QueryLogsRequest, type ControlMetricsRequest, type ControlMetricsResponse, type QueryMetricsRequest, type QueryMetricsResponse } from '@dxos/protocols/proto/dxos/client/services';
|
|
3
3
|
/**
|
|
4
4
|
* Logging service used to spy on logs of the host.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logging-service.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/logging/logging-service.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"logging-service.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/logging/logging-service.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AASrD,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,cAAc,EAEnB,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EAC1B,MAAM,4CAA4C,CAAC;AAGpD;;GAEG;AACH,qBAAa,kBAAmB,YAAW,cAAc;IACvD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAgC;IACtD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAc;IACvC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA8B;IAEnD,IAAI;IAIJ,KAAK;IAKL,cAAc,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,qBAAqB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAc/F;;OAEG;IACH,YAAY,CAAC,EAAE,QAAgB,EAAE,EAAE,mBAAmB,GAAG,MAAM,CAAC,oBAAoB,CAAC;IA+BrF,SAAS,CAAC,OAAO,EAAE,gBAAgB,GAAG,MAAM,CAAC,QAAQ,CAAC;IAiDtD,OAAO,CAAC,aAAa,CAEnB;CACH"}
|
|
@@ -1,12 +1,19 @@
|
|
|
1
|
-
import { Stream } from '@dxos/codec-protobuf';
|
|
1
|
+
import { Stream } from '@dxos/codec-protobuf/stream';
|
|
2
2
|
import { type SignalManager } from '@dxos/messaging';
|
|
3
3
|
import { type SwarmNetworkManager } from '@dxos/network-manager';
|
|
4
|
-
import { type NetworkService, type NetworkStatus, type UpdateConfigRequest } from '@dxos/protocols/proto/dxos/client/services';
|
|
4
|
+
import { type SubscribeSwarmStateRequest, type NetworkService, type NetworkStatus, type UpdateConfigRequest } from '@dxos/protocols/proto/dxos/client/services';
|
|
5
|
+
import { type Peer, type SwarmResponse } from '@dxos/protocols/proto/dxos/edge/messenger';
|
|
6
|
+
import { type LeaveRequest, type JoinRequest, type Message } from '@dxos/protocols/proto/dxos/edge/signal';
|
|
5
7
|
export declare class NetworkServiceImpl implements NetworkService {
|
|
6
8
|
private readonly networkManager;
|
|
7
9
|
private readonly signalManager;
|
|
8
10
|
constructor(networkManager: SwarmNetworkManager, signalManager: SignalManager);
|
|
9
11
|
queryStatus(): Stream<NetworkStatus>;
|
|
10
12
|
updateConfig(request: UpdateConfigRequest): Promise<void>;
|
|
13
|
+
joinSwarm(request: JoinRequest): Promise<void>;
|
|
14
|
+
leaveSwarm(request: LeaveRequest): Promise<void>;
|
|
15
|
+
subscribeSwarmState(request: SubscribeSwarmStateRequest): Stream<SwarmResponse>;
|
|
16
|
+
sendMessage(message: Message): Promise<void>;
|
|
17
|
+
subscribeMessages(peer: Peer): Stream<Message>;
|
|
11
18
|
}
|
|
12
19
|
//# sourceMappingURL=network-service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"network-service.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/network/network-service.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"network-service.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/network/network-service.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AACrD,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACzB,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,WAAW,EAAE,KAAK,OAAO,EAAE,MAAM,wCAAwC,CAAC;AAE3G,qBAAa,kBAAmB,YAAW,cAAc;IAErD,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,OAAO,CAAC,QAAQ,CAAC,aAAa;gBADb,cAAc,EAAE,mBAAmB,EACnC,aAAa,EAAE,aAAa;IAG/C,WAAW;IAqBL,YAAY,CAAC,OAAO,EAAE,mBAAmB;IAIzC,SAAS,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAI9C,UAAU,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC;IAItD,mBAAmB,CAAC,OAAO,EAAE,0BAA0B,GAAG,MAAM,CAAC,aAAa,CAAC;IAWzE,WAAW,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAIlD,iBAAiB,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC;CAW/C"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Stream } from '@dxos/codec-protobuf';
|
|
1
|
+
import { Stream } from '@dxos/codec-protobuf/stream';
|
|
2
2
|
import { type SpaceManager } from '@dxos/echo-pipeline';
|
|
3
3
|
import { type CreateEpochRequest, type PostMessageRequest, type QueryCredentialsRequest, type QuerySpacesResponse, type Space, type SpacesService, type SubscribeMessagesRequest, type UpdateSpaceRequest, type WriteCredentialsRequest, type UpdateMemberRoleRequest, type AdmitContactRequest, type JoinSpaceResponse, type JoinBySpaceKeyRequest, type CreateEpochResponse } from '@dxos/protocols/proto/dxos/client/services';
|
|
4
4
|
import { type Credential } from '@dxos/protocols/proto/dxos/halo/credentials';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spaces-service.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/spaces/spaces-service.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"spaces-service.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/spaces/spaces-service.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAGrD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAWxD,OAAO,EAGL,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,KAAK,EACV,KAAK,aAAa,EAClB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EAExB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACzB,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAErF,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAG3C,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO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
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Event } from '@dxos/async';
|
|
2
|
-
import { Stream } from '@dxos/codec-protobuf';
|
|
2
|
+
import { Stream } from '@dxos/codec-protobuf/stream';
|
|
3
3
|
import { type Config } from '@dxos/config';
|
|
4
4
|
import { GetDiagnosticsRequest, type SystemService, type SystemStatus, type UpdateStatusRequest, type QueryStatusRequest, type QueryStatusResponse, type Platform } from '@dxos/protocols/proto/dxos/client/services';
|
|
5
5
|
import { type MaybePromise } from '@dxos/util';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system-service.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/system/system-service.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"system-service.d.ts","sourceRoot":"","sources":["../../../../../src/packlets/system/system-service.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AACrD,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EACL,qBAAqB,EACrB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,QAAQ,EACd,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAEhE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAGlD,MAAM,MAAM,oBAAoB,GAAG;IACjC,MAAM,CAAC,EAAE,MAAM,YAAY,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD,YAAY,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IAC1B,gBAAgB,EAAE,MAAM,YAAY,CAAC;IACrC,cAAc,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;IAChE,cAAc,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,YAAY,CAAC,IAAI,CAAC,CAAC;IAC7D,OAAO,EAAE,MAAM,YAAY,CAAC,IAAI,CAAC,CAAC;CACnC,CAAC;AAEF,qBAAa,iBAAkB,YAAW,aAAa;IACrD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAiC;IAC1D,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAuC;IACrE,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAA2C;IAC7E,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAyC;IACzE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAkC;IAC3D,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAyC;gBAE7D,EACV,MAAM,EACN,YAAY,EACZ,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,OAAO,GACR,EAAE,oBAAoB;IASjB,SAAS;IAIf;;OAEG;IACG,cAAc,CAAC,EAAE,IAAI,EAAE,GAAE,qBAA0B;;;;IAgBnD,WAAW,IAAI,OAAO,CAAC,QAAQ,CAAC;IAIhC,YAAY,CAAC,EAAE,MAAM,EAAE,EAAE,mBAAmB;IAKlD,WAAW,CAAC,EAAE,QAAgB,EAAE,GAAE,kBAAuB,GAAG,MAAM,CAAC,mBAAmB,CAAC;IAgBjF,KAAK;CAGZ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const DXOS_VERSION = "0.7.5-main.
|
|
1
|
+
export declare const DXOS_VERSION = "0.7.5-main.9d2a38b";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"5.7.
|
|
1
|
+
{"version":"5.7.3"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/client-services",
|
|
3
|
-
"version": "0.7.5-main.
|
|
3
|
+
"version": "0.7.5-main.9d2a38b",
|
|
4
4
|
"description": "DXOS client services implementation",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -42,48 +42,48 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"cbor-x": "^1.5.4",
|
|
44
44
|
"platform": "^1.3.6",
|
|
45
|
-
"@dxos/async": "0.7.5-main.
|
|
46
|
-
"@dxos/
|
|
47
|
-
"@dxos/
|
|
48
|
-
"@dxos/codec-protobuf": "0.7.5-main.
|
|
49
|
-
"@dxos/config": "0.7.5-main.
|
|
50
|
-
"@dxos/context": "0.7.5-main.
|
|
51
|
-
"@dxos/
|
|
52
|
-
"@dxos/
|
|
53
|
-
"@dxos/debug": "0.7.5-main.
|
|
54
|
-
"@dxos/echo-
|
|
55
|
-
"@dxos/echo-
|
|
56
|
-
"@dxos/echo-protocol": "0.7.5-main.
|
|
57
|
-
"@dxos/echo-schema": "0.7.5-main.
|
|
58
|
-
"@dxos/
|
|
59
|
-
"@dxos/
|
|
60
|
-
"@dxos/indexing": "0.7.5-main.
|
|
61
|
-
"@dxos/
|
|
62
|
-
"@dxos/
|
|
63
|
-
"@dxos/
|
|
64
|
-
"@dxos/
|
|
65
|
-
"@dxos/
|
|
66
|
-
"@dxos/log": "0.7.5-main.
|
|
67
|
-
"@dxos/messaging": "0.7.5-main.
|
|
68
|
-
"@dxos/network-manager": "0.7.5-main.
|
|
69
|
-
"@dxos/
|
|
70
|
-
"@dxos/
|
|
71
|
-
"@dxos/
|
|
72
|
-
"@dxos/
|
|
73
|
-
"@dxos/teleport-extension-
|
|
74
|
-
"@dxos/teleport": "0.7.5-main.
|
|
75
|
-
"@dxos/
|
|
76
|
-
"@dxos/
|
|
77
|
-
"@dxos/tracing": "0.7.5-main.
|
|
78
|
-
"@dxos/util": "0.7.5-main.
|
|
79
|
-
"@dxos/websocket-rpc": "0.7.5-main.
|
|
45
|
+
"@dxos/async": "0.7.5-main.9d2a38b",
|
|
46
|
+
"@dxos/automerge": "0.7.5-main.9d2a38b",
|
|
47
|
+
"@dxos/client-protocol": "0.7.5-main.9d2a38b",
|
|
48
|
+
"@dxos/codec-protobuf": "0.7.5-main.9d2a38b",
|
|
49
|
+
"@dxos/config": "0.7.5-main.9d2a38b",
|
|
50
|
+
"@dxos/context": "0.7.5-main.9d2a38b",
|
|
51
|
+
"@dxos/credentials": "0.7.5-main.9d2a38b",
|
|
52
|
+
"@dxos/crypto": "0.7.5-main.9d2a38b",
|
|
53
|
+
"@dxos/debug": "0.7.5-main.9d2a38b",
|
|
54
|
+
"@dxos/echo-db": "0.7.5-main.9d2a38b",
|
|
55
|
+
"@dxos/echo-pipeline": "0.7.5-main.9d2a38b",
|
|
56
|
+
"@dxos/echo-protocol": "0.7.5-main.9d2a38b",
|
|
57
|
+
"@dxos/echo-schema": "0.7.5-main.9d2a38b",
|
|
58
|
+
"@dxos/edge-client": "0.7.5-main.9d2a38b",
|
|
59
|
+
"@dxos/feed-store": "0.7.5-main.9d2a38b",
|
|
60
|
+
"@dxos/indexing": "0.7.5-main.9d2a38b",
|
|
61
|
+
"@dxos/invariant": "0.7.5-main.9d2a38b",
|
|
62
|
+
"@dxos/keyring": "0.7.5-main.9d2a38b",
|
|
63
|
+
"@dxos/keys": "0.7.5-main.9d2a38b",
|
|
64
|
+
"@dxos/kv-store": "0.7.5-main.9d2a38b",
|
|
65
|
+
"@dxos/lock-file": "0.7.5-main.9d2a38b",
|
|
66
|
+
"@dxos/log": "0.7.5-main.9d2a38b",
|
|
67
|
+
"@dxos/messaging": "0.7.5-main.9d2a38b",
|
|
68
|
+
"@dxos/network-manager": "0.7.5-main.9d2a38b",
|
|
69
|
+
"@dxos/node-std": "0.7.5-main.9d2a38b",
|
|
70
|
+
"@dxos/protocols": "0.7.5-main.9d2a38b",
|
|
71
|
+
"@dxos/random-access-storage": "0.7.5-main.9d2a38b",
|
|
72
|
+
"@dxos/rpc": "0.7.5-main.9d2a38b",
|
|
73
|
+
"@dxos/teleport-extension-gossip": "0.7.5-main.9d2a38b",
|
|
74
|
+
"@dxos/teleport-extension-object-sync": "0.7.5-main.9d2a38b",
|
|
75
|
+
"@dxos/timeframe": "0.7.5-main.9d2a38b",
|
|
76
|
+
"@dxos/teleport": "0.7.5-main.9d2a38b",
|
|
77
|
+
"@dxos/tracing": "0.7.5-main.9d2a38b",
|
|
78
|
+
"@dxos/util": "0.7.5-main.9d2a38b",
|
|
79
|
+
"@dxos/websocket-rpc": "0.7.5-main.9d2a38b"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@types/platform": "^1.3.4",
|
|
83
83
|
"@types/readable-stream": "^2.3.9",
|
|
84
84
|
"get-port-please": "^3.1.1",
|
|
85
|
-
"@dxos/signal": "0.7.5-main.
|
|
86
|
-
"@dxos/test-utils": "0.7.5-main.
|
|
85
|
+
"@dxos/signal": "0.7.5-main.9d2a38b",
|
|
86
|
+
"@dxos/test-utils": "0.7.5-main.9d2a38b"
|
|
87
87
|
},
|
|
88
88
|
"publishConfig": {
|
|
89
89
|
"access": "public"
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
//
|
|
4
4
|
|
|
5
5
|
import { EventSubscriptions } from '@dxos/async';
|
|
6
|
-
import { Stream } from '@dxos/codec-protobuf';
|
|
6
|
+
import { Stream } from '@dxos/codec-protobuf/stream';
|
|
7
7
|
import { type EdgeConnection } from '@dxos/edge-client';
|
|
8
8
|
import { invariant } from '@dxos/invariant';
|
|
9
9
|
import {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
//
|
|
4
4
|
|
|
5
5
|
import { EventSubscriptions } from '@dxos/async';
|
|
6
|
-
import { Stream } from '@dxos/codec-protobuf';
|
|
6
|
+
import { Stream } from '@dxos/codec-protobuf/stream';
|
|
7
7
|
import { type SpaceManager } from '@dxos/echo-pipeline';
|
|
8
8
|
import { FeedIterator, type FeedStore, type FeedWrapper } from '@dxos/feed-store';
|
|
9
9
|
import { PublicKey } from '@dxos/keys';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
//
|
|
4
4
|
|
|
5
5
|
import { scheduleTask } from '@dxos/async';
|
|
6
|
-
import { Stream } from '@dxos/codec-protobuf';
|
|
6
|
+
import { Stream } from '@dxos/codec-protobuf/stream';
|
|
7
7
|
import { type Keyring } from '@dxos/keyring';
|
|
8
8
|
import { type SubscribeToKeyringKeysResponse } from '@dxos/protocols/proto/dxos/devtools/host';
|
|
9
9
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2023 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import { Stream } from '@dxos/codec-protobuf';
|
|
5
|
+
import { Stream } from '@dxos/codec-protobuf/stream';
|
|
6
6
|
import { type SubscribeToMetadataResponse } from '@dxos/protocols/proto/dxos/devtools/host';
|
|
7
7
|
|
|
8
8
|
import { type ServiceContext } from '../services';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2020 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import { Stream } from '@dxos/codec-protobuf';
|
|
5
|
+
import { Stream } from '@dxos/codec-protobuf/stream';
|
|
6
6
|
import { Context } from '@dxos/context';
|
|
7
7
|
import { PublicKey } from '@dxos/keys';
|
|
8
8
|
import { type SignalManager } from '@dxos/messaging';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
//
|
|
4
4
|
|
|
5
5
|
import { EventSubscriptions, scheduleTask, UpdateScheduler } from '@dxos/async';
|
|
6
|
-
import { Stream } from '@dxos/codec-protobuf';
|
|
6
|
+
import { Stream } from '@dxos/codec-protobuf/stream';
|
|
7
7
|
import { type MemberInfo } from '@dxos/credentials';
|
|
8
8
|
import { type SpaceManager } from '@dxos/echo-pipeline';
|
|
9
9
|
import { PublicKey } from '@dxos/keys';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
//
|
|
4
4
|
|
|
5
5
|
import { Trigger, sleep } from '@dxos/async';
|
|
6
|
-
import { Stream } from '@dxos/codec-protobuf';
|
|
6
|
+
import { Stream } from '@dxos/codec-protobuf/stream';
|
|
7
7
|
import { Resource } from '@dxos/context';
|
|
8
8
|
import { createCredential, signPresentation } from '@dxos/credentials';
|
|
9
9
|
import { invariant } from '@dxos/invariant';
|
|
@@ -2,14 +2,17 @@
|
|
|
2
2
|
// Copyright 2022 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import { Stream } from '@dxos/codec-protobuf';
|
|
5
|
+
import { Stream } from '@dxos/codec-protobuf/stream';
|
|
6
6
|
import { type SignalManager } from '@dxos/messaging';
|
|
7
7
|
import { type SwarmNetworkManager } from '@dxos/network-manager';
|
|
8
8
|
import {
|
|
9
|
+
type SubscribeSwarmStateRequest,
|
|
9
10
|
type NetworkService,
|
|
10
11
|
type NetworkStatus,
|
|
11
12
|
type UpdateConfigRequest,
|
|
12
13
|
} from '@dxos/protocols/proto/dxos/client/services';
|
|
14
|
+
import { type Peer, type SwarmResponse } from '@dxos/protocols/proto/dxos/edge/messenger';
|
|
15
|
+
import { type LeaveRequest, type JoinRequest, type Message } from '@dxos/protocols/proto/dxos/edge/signal';
|
|
13
16
|
|
|
14
17
|
export class NetworkServiceImpl implements NetworkService {
|
|
15
18
|
constructor(
|
|
@@ -41,4 +44,39 @@ export class NetworkServiceImpl implements NetworkService {
|
|
|
41
44
|
async updateConfig(request: UpdateConfigRequest) {
|
|
42
45
|
await this.networkManager.setConnectionState(request.swarm);
|
|
43
46
|
}
|
|
47
|
+
|
|
48
|
+
async joinSwarm(request: JoinRequest): Promise<void> {
|
|
49
|
+
return this.signalManager.join(request);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
async leaveSwarm(request: LeaveRequest): Promise<void> {
|
|
53
|
+
return this.signalManager.leave(request);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
subscribeSwarmState(request: SubscribeSwarmStateRequest): Stream<SwarmResponse> {
|
|
57
|
+
return new Stream<SwarmResponse>(({ next }) => {
|
|
58
|
+
const unsubscribe = this.signalManager.swarmState?.on((state) => {
|
|
59
|
+
if (request.topic.equals(state.swarmKey)) {
|
|
60
|
+
next(state);
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
return unsubscribe;
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
async sendMessage(message: Message): Promise<void> {
|
|
68
|
+
return this.signalManager.sendMessage(message);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
subscribeMessages(peer: Peer): Stream<Message> {
|
|
72
|
+
return new Stream<Message>(({ next }) => {
|
|
73
|
+
const unsubscribe = this.signalManager.onMessage.on((message) => {
|
|
74
|
+
if (message.recipient.peerKey === peer.peerKey) {
|
|
75
|
+
next(message);
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
return unsubscribe;
|
|
80
|
+
});
|
|
81
|
+
}
|
|
44
82
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
//
|
|
4
4
|
|
|
5
5
|
import { EventSubscriptions, UpdateScheduler, scheduleTask } from '@dxos/async';
|
|
6
|
-
import { Stream } from '@dxos/codec-protobuf';
|
|
6
|
+
import { Stream } from '@dxos/codec-protobuf/stream';
|
|
7
7
|
import { createAdmissionCredentials, type CredentialProcessor, getCredentialAssertion } from '@dxos/credentials';
|
|
8
8
|
import { raise } from '@dxos/debug';
|
|
9
9
|
import { type SpaceManager } from '@dxos/echo-pipeline';
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const DXOS_VERSION = "0.7.5-main.
|
|
1
|
+
export const DXOS_VERSION = "0.7.5-main.9d2a38b";
|