@agoric/eventual-send
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -26,5 +26,2 @@ 'use strict'; | ||
// handled Promises to their corresponding resolvedHandler. | ||
// | ||
// If passed a Promise that is not handled, perform | ||
// the corresponding local operation. | ||
let forwardingHandler; | ||
@@ -107,3 +104,3 @@ function handler(p) { | ||
await handlerP; | ||
return p[forwardedOperation](args); | ||
return p[forwardedOperation](...args); | ||
}; | ||
@@ -174,3 +171,3 @@ }; | ||
// Activate the default unresolvedHandler. | ||
resolveTheHandler(resolvedHandler); | ||
resolveTheHandler(null); | ||
} | ||
@@ -177,0 +174,0 @@ } catch (e) { |
@@ -24,5 +24,2 @@ /** | ||
// handled Promises to their corresponding resolvedHandler. | ||
// | ||
// If passed a Promise that is not handled, perform | ||
// the corresponding local operation. | ||
let forwardingHandler; | ||
@@ -105,3 +102,3 @@ function handler(p) { | ||
await handlerP; | ||
return p[forwardedOperation](args); | ||
return p[forwardedOperation](...args); | ||
}; | ||
@@ -172,3 +169,3 @@ }; | ||
// Activate the default unresolvedHandler. | ||
resolveTheHandler(resolvedHandler); | ||
resolveTheHandler(null); | ||
} | ||
@@ -175,0 +172,0 @@ } catch (e) { |
@@ -30,5 +30,2 @@ (function (global, factory) { | ||
// handled Promises to their corresponding resolvedHandler. | ||
// | ||
// If passed a Promise that is not handled, perform | ||
// the corresponding local operation. | ||
let forwardingHandler; | ||
@@ -111,3 +108,3 @@ function handler(p) { | ||
await handlerP; | ||
return p[forwardedOperation](args); | ||
return p[forwardedOperation](...args); | ||
}; | ||
@@ -178,3 +175,3 @@ }; | ||
// Activate the default unresolvedHandler. | ||
resolveTheHandler(resolvedHandler); | ||
resolveTheHandler(null); | ||
} | ||
@@ -181,0 +178,0 @@ } catch (e) { |
{ | ||
"name": "@agoric/eventual-send", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"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
38074
610