@agoric/captp
Advanced tools
Comparing version 1.7.0 to 1.7.1
@@ -6,2 +6,14 @@ # Change Log | ||
## [1.7.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/captp@1.7.0...@agoric/captp@1.7.1) (2021-02-16) | ||
### Bug Fixes | ||
* Correlate sent errors with received errors ([73b9cfd](https://github.com/Agoric/agoric-sdk/commit/73b9cfd33cf7842bdc105a79592028649cb1c92a)) | ||
* wire through the CapTP bootstrap message ([7af41bc](https://github.com/Agoric/agoric-sdk/commit/7af41bc13a778c4872863e2060874910d6c1fefa)) | ||
# [1.7.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/captp@1.6.0...@agoric/captp@1.7.0) (2020-12-10) | ||
@@ -8,0 +20,0 @@ |
@@ -9,2 +9,3 @@ // @ts-check | ||
Remotable as defaultRemotable, | ||
Far as defaultFar, | ||
makeMarshal as defaultMakeMarshal, | ||
@@ -27,2 +28,3 @@ QCLASS, | ||
* @property {typeof defaultRemotable} Remotable | ||
* @property {typeof defaultFar} Far | ||
* @property {typeof defaultMakeMarshal} makeMarshal | ||
@@ -91,2 +93,3 @@ * @property {number} epoch | ||
convertSlotToVal, | ||
{ marshalName: `captp:${ourId}` }, | ||
); | ||
@@ -264,3 +267,3 @@ | ||
const bootstrap = | ||
typeof bootstrapObj === 'function' ? bootstrapObj() : bootstrapObj; | ||
typeof bootstrapObj === 'function' ? bootstrapObj(obj) : bootstrapObj; | ||
E.when(bootstrap, bs => { | ||
@@ -417,4 +420,5 @@ // console.log('sending bootstrap', bootstrap); | ||
// TODO use the correct Far, which is not currently in scope here. | ||
const bootstrap = harden({ | ||
refGetter: { | ||
refGetter: defaultFar('captp bootstrap', { | ||
getRef(nonce) { | ||
@@ -426,3 +430,3 @@ // Find the local ref for the specified nonce. | ||
}, | ||
}, | ||
}), | ||
}); | ||
@@ -429,0 +433,0 @@ |
{ | ||
"name": "@agoric/captp", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "Capability Transfer Protocol for distributed objects", | ||
@@ -39,3 +39,3 @@ "parsers": { | ||
"devDependencies": { | ||
"@agoric/install-ses": "^0.5.0", | ||
"@agoric/install-ses": "^0.5.1", | ||
"ava": "^3.12.1", | ||
@@ -45,6 +45,6 @@ "nyc": "^15.1.0" | ||
"dependencies": { | ||
"@agoric/eventual-send": "^0.13.0", | ||
"@agoric/marshal": "^0.3.0", | ||
"@agoric/eventual-send": "^0.13.1", | ||
"@agoric/marshal": "^0.3.1", | ||
"@agoric/nat": "^2.0.1", | ||
"@agoric/promise-kit": "^0.2.0", | ||
"@agoric/promise-kit": "^0.2.1", | ||
"esm": "^3.2.5" | ||
@@ -76,3 +76,3 @@ }, | ||
}, | ||
"gitHead": "f9fab94b70ed22d7fcccb261af11ed8dd6348614" | ||
"gitHead": "93ccbba4efc9e375032becfdf7005502f9c4db18" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35359
435
Updated@agoric/marshal@^0.3.1
Updated@agoric/promise-kit@^0.2.1