@agoric/eventual-send
Advanced tools
Comparing version 0.14.1-dev-caa75cd.0 to 0.14.1-dev-cc79ff6.0
{ | ||
"name": "@agoric/eventual-send", | ||
"version": "0.14.1-dev-caa75cd.0+caa75cd", | ||
"version": "0.14.1-dev-cc79ff6.0+cc79ff6", | ||
"description": "Extend a Promise class to implement the eventual-send API", | ||
@@ -13,5 +13,4 @@ "type": "module", | ||
"build": "exit 0", | ||
"lint-fix": "yarn lint:eslint --fix && yarn lint:types", | ||
"lint-check": "yarn lint", | ||
"lint": "yarn lint:types && yarn lint:eslint", | ||
"lint-fix": "yarn lint:eslint --fix", | ||
"lint": "run-s --continue-on-error lint:*", | ||
"lint:types": "tsc -p jsconfig.json", | ||
@@ -31,5 +30,4 @@ "lint:eslint": "eslint '**/*.js'" | ||
"devDependencies": { | ||
"@agoric/assert": "0.3.16-dev-caa75cd.0+caa75cd", | ||
"@agoric/lockdown": "0.1.2-dev-caa75cd.0+caa75cd", | ||
"@endo/ses-ava": "^0.2.8", | ||
"@endo/lockdown": "^0.1.5", | ||
"@endo/ses-ava": "^0.2.17", | ||
"ava": "^3.12.1", | ||
@@ -52,6 +50,2 @@ "c8": "^7.7.2" | ||
}, | ||
"prettier": { | ||
"trailingComma": "all", | ||
"singleQuote": true | ||
}, | ||
"publishConfig": { | ||
@@ -66,3 +60,3 @@ "access": "public" | ||
}, | ||
"gitHead": "caa75cdf58ec0e280898c97fc94e1317cd4a3b64" | ||
"gitHead": "cc79ff61263edbced108c8d9ed0a249d2f8e1786" | ||
} |
10
src/E.js
// @ts-check | ||
import { trackTurns } from './track-turns.js'; | ||
// eslint-disable-next-line spaced-comment | ||
/// <reference path="index.d.ts" /> | ||
@@ -39,6 +38,7 @@ | ||
// #95 for details. | ||
return (...args) => harden(HandledPromise.applyMethod(x, p, args)); | ||
return (...args) => | ||
harden(HandledPromise.applyMethod(x, p, harden(args))); | ||
}, | ||
apply(_target, _thisArg, argArray = []) { | ||
return harden(HandledPromise.applyFunction(x, argArray)); | ||
return harden(HandledPromise.applyFunction(x, harden(argArray))); | ||
}, | ||
@@ -65,3 +65,3 @@ has(_target, _p) { | ||
return (...args) => { | ||
HandledPromise.applyMethodSendOnly(x, p, args); | ||
HandledPromise.applyMethodSendOnly(x, p, harden(args)); | ||
return undefined; | ||
@@ -71,3 +71,3 @@ }; | ||
apply(_target, _thisArg, argsArray = []) { | ||
HandledPromise.applyFunctionSendOnly(x, argsArray); | ||
HandledPromise.applyFunctionSendOnly(x, harden(argsArray)); | ||
return undefined; | ||
@@ -74,0 +74,0 @@ }, |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
4
68653