Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@agoric/captp

Package Overview
Dependencies
Maintainers
5
Versions
160
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agoric/captp - npm Package Compare versions

Comparing version 1.2.3 to 1.3.0

16

CHANGELOG.md

@@ -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 @@

10

lib/captp.js
// 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

12

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc