@dxos/client-services 0.8.3 → 0.8.4-main.84f28bd
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-LBG3C332.mjs → chunk-OCFDRCSN.mjs} +103 -103
- package/dist/lib/browser/chunk-OCFDRCSN.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +6 -6
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/testing/index.mjs +6 -6
- package/dist/lib/node-esm/{chunk-SKGQLRKS.mjs → chunk-D7F3FYZS.mjs} +102 -102
- package/dist/lib/node-esm/chunk-D7F3FYZS.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +6 -6
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/testing/index.mjs +6 -6
- package/dist/types/src/version.d.ts +1 -1
- package/dist/types/src/version.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +39 -39
- package/src/packlets/services/service-host.ts +4 -4
- package/src/version.ts +1 -5
- package/README.yml +0 -5
- package/dist/lib/browser/chunk-LBG3C332.mjs.map +0 -7
- package/dist/lib/node/chunk-LMGLGOUU.cjs +0 -9311
- package/dist/lib/node/chunk-LMGLGOUU.cjs.map +0 -7
- package/dist/lib/node/index.cjs +0 -437
- package/dist/lib/node/index.cjs.map +0 -7
- package/dist/lib/node/meta.json +0 -1
- package/dist/lib/node/testing/index.cjs +0 -452
- package/dist/lib/node/testing/index.cjs.map +0 -7
- package/dist/lib/node-esm/chunk-SKGQLRKS.mjs.map +0 -7
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
InvitationsManager,
|
|
7
7
|
ServiceContext,
|
|
8
8
|
SpaceInvitationProtocol
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-OCFDRCSN.mjs";
|
|
10
10
|
|
|
11
|
-
//
|
|
11
|
+
// src/packlets/testing/credential-utils.ts
|
|
12
12
|
import { createCredential } from "@dxos/credentials";
|
|
13
13
|
import { PublicKey } from "@dxos/keys";
|
|
14
14
|
var createMockCredential = async ({ signer, issuer }) => createCredential({
|
|
@@ -24,12 +24,12 @@ var createMockCredential = async ({ signer, issuer }) => createCredential({
|
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
|
|
27
|
-
//
|
|
27
|
+
// src/packlets/testing/invitation-utils.ts
|
|
28
28
|
import { Trigger } from "@dxos/async";
|
|
29
29
|
import { InvitationEncoder } from "@dxos/client-protocol";
|
|
30
30
|
import { invariant } from "@dxos/invariant";
|
|
31
31
|
import { Invitation } from "@dxos/protocols/proto/dxos/client/services";
|
|
32
|
-
var __dxlog_file = "/
|
|
32
|
+
var __dxlog_file = "/__w/dxos/dxos/packages/sdk/client-services/src/packlets/testing/invitation-utils.ts";
|
|
33
33
|
var sanitizeInvitation = (invitation) => {
|
|
34
34
|
return InvitationEncoder.decode(InvitationEncoder.encode(invitation));
|
|
35
35
|
};
|
|
@@ -220,7 +220,7 @@ var acceptInvitation = (guest, invitation, guestDeviceProfile) => {
|
|
|
220
220
|
return guest.join(invitation, guestDeviceProfile);
|
|
221
221
|
};
|
|
222
222
|
|
|
223
|
-
//
|
|
223
|
+
// src/packlets/testing/test-builder.ts
|
|
224
224
|
import { Context } from "@dxos/context";
|
|
225
225
|
import { createCredentialSignerWithChain, CredentialGenerator } from "@dxos/credentials";
|
|
226
226
|
import { failUndefined } from "@dxos/debug";
|
|
@@ -233,7 +233,7 @@ import { MemoryTransportFactory, SwarmNetworkManager } from "@dxos/network-manag
|
|
|
233
233
|
import { Invitation as Invitation2 } from "@dxos/protocols/proto/dxos/client/services";
|
|
234
234
|
import { createStorage, StorageType } from "@dxos/random-access-storage";
|
|
235
235
|
import { BlobStore } from "@dxos/teleport-extension-object-sync";
|
|
236
|
-
var __dxlog_file2 = "/
|
|
236
|
+
var __dxlog_file2 = "/__w/dxos/dxos/packages/sdk/client-services/src/packlets/testing/test-builder.ts";
|
|
237
237
|
var createServiceHost = (config, signalManagerContext) => {
|
|
238
238
|
return new ClientServicesHost({
|
|
239
239
|
config,
|