@dxos/messaging 0.6.12-main.ed7cda7 → 0.6.12-staging.e11e696

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/messaging",
3
- "version": "0.6.12-main.ed7cda7",
3
+ "version": "0.6.12-staging.e11e696",
4
4
  "description": "Messaging",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -28,23 +28,23 @@
28
28
  "dependencies": {
29
29
  "isomorphic-ws": "^5.0.0",
30
30
  "ws": "^8.14.2",
31
- "@dxos/async": "0.6.12-main.ed7cda7",
32
- "@dxos/context": "0.6.12-main.ed7cda7",
33
- "@dxos/codec-protobuf": "0.6.12-main.ed7cda7",
34
- "@dxos/invariant": "0.6.12-main.ed7cda7",
35
- "@dxos/keys": "0.6.12-main.ed7cda7",
36
- "@dxos/edge-client": "0.6.12-main.ed7cda7",
37
- "@dxos/log": "0.6.12-main.ed7cda7",
38
- "@dxos/node-std": "0.6.12-main.ed7cda7",
39
- "@dxos/rpc": "0.6.12-main.ed7cda7",
40
- "@dxos/protocols": "0.6.12-main.ed7cda7",
41
- "@dxos/tracing": "0.6.12-main.ed7cda7",
42
- "@dxos/util": "0.6.12-main.ed7cda7"
31
+ "@dxos/codec-protobuf": "0.6.12-staging.e11e696",
32
+ "@dxos/context": "0.6.12-staging.e11e696",
33
+ "@dxos/invariant": "0.6.12-staging.e11e696",
34
+ "@dxos/edge-client": "0.6.12-staging.e11e696",
35
+ "@dxos/keys": "0.6.12-staging.e11e696",
36
+ "@dxos/async": "0.6.12-staging.e11e696",
37
+ "@dxos/log": "0.6.12-staging.e11e696",
38
+ "@dxos/node-std": "0.6.12-staging.e11e696",
39
+ "@dxos/protocols": "0.6.12-staging.e11e696",
40
+ "@dxos/rpc": "0.6.12-staging.e11e696",
41
+ "@dxos/tracing": "0.6.12-staging.e11e696",
42
+ "@dxos/util": "0.6.12-staging.e11e696"
43
43
  },
44
44
  "devDependencies": {
45
- "@types/node": "^22.6.1",
46
- "@dxos/signal": "0.6.12-main.ed7cda7",
47
- "@dxos/test-utils": "0.6.12-main.ed7cda7"
45
+ "@types/node": "^22.7.4",
46
+ "@dxos/signal": "0.6.12-staging.e11e696",
47
+ "@dxos/test-utils": "0.6.12-staging.e11e696"
48
48
  },
49
49
  "publishConfig": {
50
50
  "access": "public"
@@ -5,7 +5,7 @@
5
5
  import { afterAll, onTestFinished, beforeAll, test, describe } from 'vitest';
6
6
 
7
7
  import { asyncTimeout } from '@dxos/async';
8
- import { EdgeClient } from '@dxos/edge-client';
8
+ import { createEphemeralEdgeIdentity, EdgeClient } from '@dxos/edge-client';
9
9
  import { type PublicKey } from '@dxos/keys';
10
10
  import { runTestSignalServer, type SignalServerRunner } from '@dxos/signal';
11
11
  import { openAndClose } from '@dxos/test-utils';
@@ -54,7 +54,7 @@ describe('Messenger with WebsocketSignalManager', () => {
54
54
  // TODO(mykola): Expects wrangler dev in edge repo to run. Skip to pass CI.
55
55
  describe.skip('Messenger with EdgeSignalManager', () => {
56
56
  const edgeSignalFactory = async (identityKey: PublicKey, deviceKey: PublicKey) => {
57
- const client = new EdgeClient(identityKey.toHex(), deviceKey.toHex(), { socketEndpoint: 'ws://localhost:8787' });
57
+ const client = new EdgeClient(await createEphemeralEdgeIdentity(), { socketEndpoint: 'ws://localhost:8787' });
58
58
  await openAndClose(client);
59
59
 
60
60
  return new EdgeSignalManager({ edgeConnection: client });
@@ -4,7 +4,7 @@
4
4
 
5
5
  import { onTestFinished, describe, test } from 'vitest';
6
6
 
7
- import { EdgeClient } from '@dxos/edge-client';
7
+ import { createEphemeralEdgeIdentity, EdgeClient } from '@dxos/edge-client';
8
8
  import { PublicKey } from '@dxos/keys';
9
9
  import { openAndClose } from '@dxos/test-utils';
10
10
 
@@ -14,7 +14,7 @@ import { createMessage, expectReceivedMessage, TestBuilder, type TestBuilderOpti
14
14
  // TODO(mykola): Expects wrangler dev in edge repo to run. Skip to pass CI.
15
15
  describe.skip('EdgeSignalManager', () => {
16
16
  const edgeSignalFactory: TestBuilderOptions['signalManagerFactory'] = async (identityKey, deviceKey) => {
17
- const client = new EdgeClient(identityKey.toHex(), deviceKey.toHex(), { socketEndpoint: 'ws://localhost:8787' });
17
+ const client = new EdgeClient(await createEphemeralEdgeIdentity(), { socketEndpoint: 'ws://localhost:8787' });
18
18
  await openAndClose(client);
19
19
 
20
20
  return new EdgeSignalManager({ edgeConnection: client });