@dxos/network-manager 0.1.28 → 0.1.30-next.7c60cd3

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/network-manager",
3
- "version": "0.1.28",
3
+ "version": "0.1.30-next.7c60cd3",
4
4
  "description": "Network Manager",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -25,20 +25,20 @@
25
25
  "simple-peer": "9.11.0",
26
26
  "ws": "^7.4.4",
27
27
  "xor-distance": "^2.0.0",
28
- "@dxos/async": "0.1.28",
29
- "@dxos/codec-protobuf": "0.1.28",
30
- "@dxos/context": "0.1.28",
31
- "@dxos/credentials": "0.1.28",
32
- "@dxos/crypto": "0.1.28",
33
- "@dxos/debug": "0.1.28",
34
- "@dxos/keys": "0.1.28",
35
- "@dxos/log": "0.1.28",
36
- "@dxos/messaging": "0.1.28",
37
- "@dxos/node-std": "0.1.28",
38
- "@dxos/protocols": "0.1.28",
39
- "@dxos/rpc": "0.1.28",
40
- "@dxos/teleport": "0.1.28",
41
- "@dxos/util": "0.1.28"
28
+ "@dxos/async": "0.1.30-next.7c60cd3",
29
+ "@dxos/codec-protobuf": "0.1.30-next.7c60cd3",
30
+ "@dxos/context": "0.1.30-next.7c60cd3",
31
+ "@dxos/credentials": "0.1.30-next.7c60cd3",
32
+ "@dxos/crypto": "0.1.30-next.7c60cd3",
33
+ "@dxos/debug": "0.1.30-next.7c60cd3",
34
+ "@dxos/keys": "0.1.30-next.7c60cd3",
35
+ "@dxos/log": "0.1.30-next.7c60cd3",
36
+ "@dxos/messaging": "0.1.30-next.7c60cd3",
37
+ "@dxos/node-std": "0.1.30-next.7c60cd3",
38
+ "@dxos/protocols": "0.1.30-next.7c60cd3",
39
+ "@dxos/rpc": "0.1.30-next.7c60cd3",
40
+ "@dxos/teleport": "0.1.30-next.7c60cd3",
41
+ "@dxos/util": "0.1.30-next.7c60cd3"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@swc-node/register": "^1.5.4",
@@ -48,7 +48,7 @@
48
48
  "earljs": "~0.1.10",
49
49
  "fast-check": "~3.3.0",
50
50
  "typescript": "^4.8.4",
51
- "@dxos/signal": "0.1.28"
51
+ "@dxos/signal": "0.1.30-next.7c60cd3"
52
52
  },
53
53
  "publishConfig": {
54
54
  "access": "public"
@@ -34,7 +34,7 @@ export const basicTestSuite = (testBuilder: TestBuilder, runTests = true) => {
34
34
  const [swarm1, swarm2] = await joinSwarm([peer1, peer2], topic, () => new FullyConnectedTopology());
35
35
  await exchangeMessages(swarm1, swarm2);
36
36
  await leaveSwarm([peer1, peer2], topic);
37
- });
37
+ }).tag('flaky');
38
38
 
39
39
  // TODO(burdon): Test with more peers (configure and test messaging).
40
40
  test('joins swarm with star topology', async () => {
@@ -48,7 +48,7 @@ export const basicTestSuite = (testBuilder: TestBuilder, runTests = true) => {
48
48
  const [swarm1, swarm2] = await joinSwarm([peer1, peer2], topic, () => new StarTopology(peer1.peerId)); // NOTE: Same peer.
49
49
  await exchangeMessages(swarm1, swarm2);
50
50
  await leaveSwarm([peer1, peer2], topic);
51
- });
51
+ }).tag('flaky');
52
52
 
53
53
  // TODO(burdon): Fails when trying to reconnect to same topic.
54
54
  test('joins swarm multiple times', async () => {
@@ -75,7 +75,7 @@ export const basicTestSuite = (testBuilder: TestBuilder, runTests = true) => {
75
75
  await exchangeMessages(swarm1, swarm2);
76
76
  await leaveSwarm([peer1, peer2], topic2);
77
77
  }
78
- });
78
+ }).tag('flaky');
79
79
 
80
80
  test('joins multiple swarms', async () => {
81
81
  // TODO(burdon): N peers.
@@ -109,7 +109,7 @@ export const basicTestSuite = (testBuilder: TestBuilder, runTests = true) => {
109
109
  test1.swarm1a.protocol.testConnection(test1.peer2a.peerId),
110
110
  test2.swarm1a.protocol.testConnection(test2.peer2a.peerId)
111
111
  ]);
112
- });
112
+ }).tag('flaky');
113
113
 
114
114
  test('going offline and back online', async () => {
115
115
  const peer1 = testBuilder.createPeer();
@@ -152,7 +152,7 @@ export const basicTestSuite = (testBuilder: TestBuilder, runTests = true) => {
152
152
  await exchangeMessages(swarm1, swarm2);
153
153
  await leaveSwarm([peer1, peer2], topic);
154
154
  })
155
- .tag('e2e')
155
+ .tag('flaky')
156
156
  .timeout(2_000);
157
157
 
158
158
  // TODO(mykola): Fails with large amount of peers ~10.
@@ -90,7 +90,7 @@ describe('WebRTCTransportProxy', () => {
90
90
  expect(callsCounter).toEqual(1);
91
91
  })
92
92
  .timeout(1_000)
93
- .tag('e2e');
93
+ .tag('flaky');
94
94
 
95
95
  test('establish connection and send data through with protocol', async () => {
96
96
  const stream1 = new TestStream();
@@ -117,7 +117,7 @@ describe('WebRTCTransportProxy', () => {
117
117
  await TestStream.assertConnectivity(stream1, stream2);
118
118
  })
119
119
  .timeout(2_000)
120
- .tag('e2e');
120
+ .tag('flaky');
121
121
 
122
122
  describe('Multiplexing', () => {
123
123
  let service: any;
@@ -186,6 +186,6 @@ describe('WebRTCTransportProxy', () => {
186
186
  await TestStream.assertConnectivity(stream1, stream2);
187
187
  })
188
188
  .timeout(3_000)
189
- .tag('e2e');
189
+ .tag('flaky');
190
190
  });
191
191
  });