@agoric/eventual-send
Advanced tools
Comparing version 0.14.1-dev-dbc22b7.0 to 0.14.1-dev-de29ce0.0
{ | ||
"name": "@agoric/eventual-send", | ||
"version": "0.14.1-dev-dbc22b7.0+dbc22b7", | ||
"version": "0.14.1-dev-de29ce0.0+de29ce0", | ||
"description": "Extend a Promise class to implement the eventual-send API", | ||
@@ -29,4 +29,4 @@ "type": "module", | ||
"devDependencies": { | ||
"@endo/lockdown": "^0.1.5", | ||
"@endo/ses-ava": "^0.2.17", | ||
"@endo/lockdown": "^0.1.7", | ||
"@endo/ses-ava": "^0.2.19", | ||
"ava": "^3.12.1", | ||
@@ -58,3 +58,3 @@ "c8": "^7.7.2" | ||
}, | ||
"gitHead": "dbc22b78841ab0301432e425e0b1620c8f864cad" | ||
"gitHead": "de29ce09004b2540bdcff54b0d15b2a68e9c0854" | ||
} |
@@ -282,5 +282,4 @@ // @ts-check | ||
// local handled Promise. | ||
[pendingHandler, continueForwarding] = makePostponedHandler( | ||
HandledPromise, | ||
); | ||
[pendingHandler, continueForwarding] = | ||
makePostponedHandler(HandledPromise); | ||
} | ||
@@ -430,3 +429,3 @@ | ||
// Resolving a Presence returns the pre-registered handled promise. | ||
let resolvedPromise = presenceToPromise.get(value); | ||
let resolvedPromise = presenceToPromise.get(/** @type {any} */ (value)); | ||
if (!resolvedPromise) { | ||
@@ -567,3 +566,5 @@ resolvedPromise = Promise.resolve(value); | ||
const unknownBaseHandledPromise = baseHandledPromise; | ||
HandledPromise = /** @type {typeof HandledPromise} */ (unknownBaseHandledPromise); | ||
HandledPromise = /** @type {typeof HandledPromise} */ ( | ||
unknownBaseHandledPromise | ||
); | ||
@@ -570,0 +571,0 @@ // We cannot harden(HandledPromise) because we're a vetted shim which |
@@ -14,7 +14,5 @@ /* eslint-disable no-shadow,no-unused-vars,no-use-before-define,no-var,vars-on-top */ | ||
: T extends Record<string | number | symbol, Function> | ||
? ERef< | ||
{ | ||
[K in keyof T]: EOnly<T[K]>; | ||
} | ||
> | ||
? ERef<{ | ||
[K in keyof T]: EOnly<T[K]>; | ||
}> | ||
: ERef<T>; | ||
@@ -21,0 +19,0 @@ |
@@ -1,2 +0,1 @@ | ||
/* global HandledPromise */ | ||
import makeE from './E.js'; | ||
@@ -3,0 +2,0 @@ |
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
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
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
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
68629
1022