@agoric/captp
Advanced tools
Comparing version 1.2.3 to 1.3.0
@@ -6,2 +6,18 @@ # Change Log | ||
# [1.3.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/captp@1.2.3...@agoric/captp@1.3.0) (2020-05-04) | ||
### Bug Fixes | ||
* use the new (typed) harden package ([2eb1af0](https://github.com/Agoric/agoric-sdk/commit/2eb1af08fe3967629a3ce165752fd501a5c85a96)) | ||
### Features | ||
* add Presence, getInterfaceOf, deepCopyData to marshal ([aac1899](https://github.com/Agoric/agoric-sdk/commit/aac1899b6cefc4241af04911a92ffc50fbac3429)) | ||
## [1.2.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/captp@1.2.3-alpha.0...@agoric/captp@1.2.3) (2020-04-13) | ||
@@ -8,0 +24,0 @@ |
// This logic was mostly lifted from @agoric/swingset-vat liveSlots.js | ||
// Defects in it are mfig's fault. | ||
import { makeMarshal, QCLASS } from '@agoric/marshal'; | ||
import { Remotable, makeMarshal, QCLASS } from '@agoric/marshal'; | ||
import harden from '@agoric/harden'; | ||
@@ -114,7 +114,5 @@ import Nat from '@agoric/nat'; | ||
if (slot[0] === 'o') { | ||
// A new presence | ||
const presence = pr.resPres(); | ||
presence.toString = () => `[Presence ${ourId} ${slot}]`; | ||
harden(presence); | ||
val = presence; | ||
// A new remote presence | ||
const pres = pr.resPres(); | ||
val = Remotable(`Presence ${ourId} ${slot}`, undefined, pres); | ||
} else { | ||
@@ -121,0 +119,0 @@ // A new promise |
{ | ||
"name": "@agoric/captp", | ||
"version": "1.2.3", | ||
"version": "1.3.0", | ||
"description": "Capability Transfer Protocol for distributed objects", | ||
@@ -42,7 +42,7 @@ "keywords": [ | ||
"dependencies": { | ||
"@agoric/eventual-send": "^0.8.0", | ||
"@agoric/harden": "^0.0.4", | ||
"@agoric/marshal": "^0.1.5", | ||
"@agoric/eventual-send": "^0.9.0", | ||
"@agoric/harden": "^0.0.8", | ||
"@agoric/marshal": "^0.2.0", | ||
"@agoric/nat": "^2.0.1", | ||
"@agoric/produce-promise": "^0.0.5", | ||
"@agoric/produce-promise": "^0.1.0", | ||
"esm": "^3.2.5", | ||
@@ -59,3 +59,3 @@ "rollup": "^1.24.0", | ||
}, | ||
"gitHead": "a5fe2624fedcf3b8adf46ed6c157c29fd459b2ed" | ||
"gitHead": "534d1a65d79f9dd176cc670f374c9de2cd081a7e" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
314643
8761
+ Added@agoric/assert@0.1.0(transitive)
+ Added@agoric/babel-standalone@7.17.7(transitive)
+ Added@agoric/eventual-send@0.12.00.9.3(transitive)
+ Added@agoric/harden@0.0.8(transitive)
+ Added@agoric/make-hardener@0.0.80.1.3(transitive)
+ Added@agoric/marshal@0.2.7(transitive)
+ Added@agoric/produce-promise@0.1.3(transitive)
+ Added@agoric/promise-kit@0.1.7(transitive)
+ Added@agoric/transform-module@0.4.1(transitive)
+ Addedses@0.11.1(transitive)
- Removed@agoric/eventual-send@0.8.0(transitive)
- Removed@agoric/harden@0.0.4(transitive)
- Removed@agoric/make-hardener@0.0.4(transitive)
- Removed@agoric/marshal@0.1.5(transitive)
- Removed@agoric/produce-promise@0.0.5(transitive)
Updated@agoric/eventual-send@^0.9.0
Updated@agoric/harden@^0.0.8
Updated@agoric/marshal@^0.2.0