@agoric/eventual-send
Advanced tools
Comparing version 0.4.2 to 0.4.3
@@ -525,2 +525,5 @@ 'use strict'; | ||
// console.log(`sending`, optKey, o[optKey], o); | ||
if (typeof o[optKey] !== 'function') { | ||
throw TypeError(`o[${JSON.stringify(optKey)}] is not a function`); | ||
} | ||
return o[optKey](...args); | ||
@@ -532,5 +535,5 @@ }), | ||
exports.HandledPromise = HandledPromise; | ||
exports.E = E; | ||
exports.HandledPromise = HandledPromise; | ||
exports.makeHandledPromise = makeHandledPromise; | ||
exports.maybeExtendPromise = maybeExtendPromise; |
@@ -521,2 +521,5 @@ /* global globalThis window */ | ||
// console.log(`sending`, optKey, o[optKey], o); | ||
if (typeof o[optKey] !== 'function') { | ||
throw TypeError(`o[${JSON.stringify(optKey)}] is not a function`); | ||
} | ||
return o[optKey](...args); | ||
@@ -528,2 +531,2 @@ }), | ||
export { E, HandledPromise, makeHandledPromise, maybeExtendPromise }; | ||
export { HandledPromise, E, makeHandledPromise, maybeExtendPromise }; |
@@ -527,2 +527,5 @@ (function (global, factory) { | ||
// console.log(`sending`, optKey, o[optKey], o); | ||
if (typeof o[optKey] !== 'function') { | ||
throw TypeError(`o[${JSON.stringify(optKey)}] is not a function`); | ||
} | ||
return o[optKey](...args); | ||
@@ -534,4 +537,4 @@ }), | ||
exports.HandledPromise = HandledPromise; | ||
exports.E = E; | ||
exports.HandledPromise = HandledPromise; | ||
exports.makeHandledPromise = makeHandledPromise; | ||
@@ -538,0 +541,0 @@ exports.maybeExtendPromise = maybeExtendPromise; |
{ | ||
"name": "@agoric/eventual-send", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "Extend a Promise class to implement the eventual-send API", | ||
@@ -5,0 +5,0 @@ "main": "dist/eventual-send.cjs.js", |
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
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
69140
1576