@agoric/pegasus 0.7.13-dev-7cead9c.0 → 0.7.13-dev-386dc7c.0
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 +11 -11
- package/src/pegasus.js +2 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/pegasus",
|
|
3
|
-
"version": "0.7.13-dev-
|
|
3
|
+
"version": "0.7.13-dev-386dc7c.0+386dc7c",
|
|
4
4
|
"description": "Peg-as-us contract",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/pegasus.js",
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@agoric/assert": "0.6.1-dev-
|
|
32
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
33
|
-
"@agoric/internal": "0.3.3-dev-
|
|
34
|
-
"@agoric/network": "0.1.1-dev-
|
|
35
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
36
|
-
"@agoric/store": "0.9.3-dev-
|
|
37
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
38
|
-
"@agoric/vats": "0.15.2-dev-
|
|
39
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
31
|
+
"@agoric/assert": "0.6.1-dev-386dc7c.0+386dc7c",
|
|
32
|
+
"@agoric/ertp": "0.16.3-dev-386dc7c.0+386dc7c",
|
|
33
|
+
"@agoric/internal": "0.3.3-dev-386dc7c.0+386dc7c",
|
|
34
|
+
"@agoric/network": "0.1.1-dev-386dc7c.0+386dc7c",
|
|
35
|
+
"@agoric/notifier": "0.6.3-dev-386dc7c.0+386dc7c",
|
|
36
|
+
"@agoric/store": "0.9.3-dev-386dc7c.0+386dc7c",
|
|
37
|
+
"@agoric/swingset-vat": "0.32.3-dev-386dc7c.0+386dc7c",
|
|
38
|
+
"@agoric/vats": "0.15.2-dev-386dc7c.0+386dc7c",
|
|
39
|
+
"@agoric/zoe": "0.26.3-dev-386dc7c.0+386dc7c",
|
|
40
40
|
"@endo/bundle-source": "^2.7.0",
|
|
41
41
|
"@endo/captp": "^3.1.4",
|
|
42
42
|
"@endo/far": "^0.2.21",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"access": "public"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "386dc7cf179bf610841dec4a0b1f55d5d5c50878"
|
|
71
71
|
}
|
package/src/pegasus.js
CHANGED
|
@@ -384,9 +384,8 @@ const makePegasus = (zcf, board, namesByAddress) => {
|
|
|
384
384
|
async onReceive(c, packetBytes) {
|
|
385
385
|
const doReceive = async () => {
|
|
386
386
|
// Dispatch the packet to the appropriate Peg for this connection.
|
|
387
|
-
const parts =
|
|
388
|
-
packetBytes
|
|
389
|
-
);
|
|
387
|
+
const parts =
|
|
388
|
+
await E(transferProtocol).parseTransferPacket(packetBytes);
|
|
390
389
|
|
|
391
390
|
const { remoteDenom: receiveDenom } = parts;
|
|
392
391
|
assert.typeof(receiveDenom, 'string');
|