@agoric/eventual-send
Advanced tools
Comparing version 0.14.1-dev-f96b728.0 to 0.14.1-dev-f974f3c.0
{ | ||
"name": "@agoric/eventual-send", | ||
"version": "0.14.1-dev-f96b728.0+f96b728", | ||
"version": "0.14.1-dev-f974f3c.0+f974f3c", | ||
"description": "Extend a Promise class to implement the eventual-send API", | ||
@@ -57,3 +57,3 @@ "type": "module", | ||
}, | ||
"gitHead": "f96b7280270e8e9e48e3bcf5050b4e722d4fd483" | ||
"gitHead": "f974f3cb99f9cdf3f964261d54f2e299dfc18af8" | ||
} |
@@ -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 @@ |
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
68657
1023