You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@endo/captp

Package Overview
Dependencies
Maintainers
4
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@endo/captp - npm Package Compare versions

Comparing version

to
2.0.15

9

CHANGELOG.md

@@ -6,2 +6,11 @@ # Change Log

### [2.0.15](https://github.com/endojs/endo/compare/@endo/captp@2.0.14...@endo/captp@2.0.15) (2022-09-27)
### Bug Fixes
* Provide smallcaps encoding in addition to capData ([#1282](https://github.com/endojs/endo/issues/1282)) ([233dbe2](https://github.com/endojs/endo/commit/233dbe2e159e454fd3bcdd0e08b15c4439b56ba7))
### [2.0.14](https://github.com/endojs/endo/compare/@endo/captp@2.0.13...@endo/captp@2.0.14) (2022-09-14)

@@ -8,0 +17,0 @@

16

package.json
{
"name": "@endo/captp",
"version": "2.0.14",
"version": "2.0.15",
"description": "Capability Transfer Protocol for distributed objects",

@@ -43,4 +43,4 @@ "type": "module",

"devDependencies": {
"@endo/init": "^0.5.48",
"@endo/ses-ava": "^0.2.32",
"@endo/init": "^0.5.49",
"@endo/ses-ava": "^0.2.33",
"ava": "^3.12.1",

@@ -50,6 +50,6 @@ "c8": "^7.7.3"

"dependencies": {
"@endo/eventual-send": "^0.16.4",
"@endo/marshal": "^0.7.4",
"@endo/nat": "^4.1.19",
"@endo/promise-kit": "^0.2.48"
"@endo/eventual-send": "^0.16.5",
"@endo/marshal": "^0.7.5",
"@endo/nat": "^4.1.20",
"@endo/promise-kit": "^0.2.49"
},

@@ -77,3 +77,3 @@ "bugs": {

},
"gitHead": "44b17d92334592b2da54d91dba73f28db513412a"
"gitHead": "2d3f1a5c472aaef102e8919cbf8d0c53238d155f"
}

@@ -124,2 +124,4 @@ // @ts-check

errorIdNum: 20000,
// TODO: fix captp to be compatible with smallcaps
serializeBodyFormat: 'capdata',
},

@@ -615,6 +617,7 @@ );

const slot = valToSlot.get(target);
(slot && slot[1] === '-') ||
// TypeScript confused about `||` control flow so use `if` instead
// https://github.com/microsoft/TypeScript/issues/50739
if (!(slot && slot[1] === '-')) {
assert.fail(X`Trap(${target}) target was not imported`);
// @ts-expect-error TS apparently confused about `||` control flow
// https://github.com/microsoft/TypeScript/issues/50739
}
slot[0] === 't' ||

@@ -656,4 +659,2 @@ assert.fail(

trapMethod: implMethod,
// @ts-expect-error TS apparently confused about `||` control flow
// https://github.com/microsoft/TypeScript/issues/50739
slot,

@@ -660,0 +661,0 @@ trapArgs: implArgs,