@dxos/rpc 0.9.0 → 0.9.1-staging.ee54ba693a

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/rpc",
3
- "version": "0.9.0",
3
+ "version": "0.9.1-staging.ee54ba693a",
4
4
  "description": "A lightweight, transport-agnostic RPC implementation",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -25,15 +25,15 @@
25
25
  "src"
26
26
  ],
27
27
  "dependencies": {
28
- "@dxos/async": "0.9.0",
29
- "@dxos/debug": "0.9.0",
30
- "@dxos/codec-protobuf": "0.9.0",
31
- "@dxos/context": "0.9.0",
32
- "@dxos/log": "0.9.0",
33
- "@dxos/node-std": "0.9.0",
34
- "@dxos/invariant": "0.9.0",
35
- "@dxos/protocols": "0.9.0",
36
- "@dxos/util": "0.9.0"
28
+ "@dxos/async": "0.9.1-staging.ee54ba693a",
29
+ "@dxos/context": "0.9.1-staging.ee54ba693a",
30
+ "@dxos/codec-protobuf": "0.9.1-staging.ee54ba693a",
31
+ "@dxos/debug": "0.9.1-staging.ee54ba693a",
32
+ "@dxos/log": "0.9.1-staging.ee54ba693a",
33
+ "@dxos/invariant": "0.9.1-staging.ee54ba693a",
34
+ "@dxos/node-std": "0.9.1-staging.ee54ba693a",
35
+ "@dxos/protocols": "0.9.1-staging.ee54ba693a",
36
+ "@dxos/util": "0.9.1-staging.ee54ba693a"
37
37
  },
38
38
  "publishConfig": {
39
39
  "access": "public"
package/src/rpc.test.ts CHANGED
@@ -14,8 +14,8 @@ import { createLinkedPorts, encodeMessage } from './testing';
14
14
 
15
15
  const createPayload = (value = ''): TaggedType<TYPES, 'google.protobuf.Any'> => ({
16
16
  '@type': 'google.protobuf.Any',
17
- type_url: 'dxos.test',
18
- value: encodeMessage(value),
17
+ 'type_url': 'dxos.test',
18
+ 'value': encodeMessage(value),
19
19
  });
20
20
 
21
21
  // TODO(dmaretskyi): Rename alice and bob to peer1 and peer2.
@@ -467,7 +467,7 @@ describe('Protobuf service', () => {
467
467
  return {
468
468
  payload: {
469
469
  '@type': 'example.testing.rpc.PingReponse',
470
- nonce: 10,
470
+ 'nonce': 10,
471
471
  },
472
472
  };
473
473
  },
@@ -488,7 +488,7 @@ describe('Protobuf service', () => {
488
488
  const response = await client.rpc.TestAnyService.testCall({
489
489
  payload: {
490
490
  '@type': 'example.testing.rpc.PingRequest',
491
- nonce: 5,
491
+ 'nonce': 5,
492
492
  },
493
493
  });
494
494