@agoric/eventual-send
Advanced tools
Comparing version 0.8.0 to 0.9.0
@@ -6,2 +6,19 @@ # Change Log | ||
# [0.9.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/eventual-send@0.8.0...@agoric/eventual-send@0.9.0) (2020-05-04) | ||
### Bug Fixes | ||
* lots and lots of improvements ([8f1c312](https://github.com/Agoric/agoric-sdk/commit/8f1c3128bbb4c3baf7f15b9ca632fc902acd238f)) | ||
* use the new (typed) harden package ([2eb1af0](https://github.com/Agoric/agoric-sdk/commit/2eb1af08fe3967629a3ce165752fd501a5c85a96)) | ||
### Features | ||
* implement channel host handler ([4e68f44](https://github.com/Agoric/agoric-sdk/commit/4e68f441b46d70dee481387ab96e88f1e0b69bfa)) | ||
# [0.8.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/eventual-send@0.8.0-alpha.0...@agoric/eventual-send@0.8.0) (2020-04-13) | ||
@@ -8,0 +25,0 @@ |
{ | ||
"name": "@agoric/eventual-send", | ||
"version": "0.8.0", | ||
"version": "0.9.0", | ||
"description": "Extend a Promise class to implement the eventual-send API", | ||
@@ -26,3 +26,3 @@ "main": "dist/eventual-send.cjs.js", | ||
"dependencies": { | ||
"@agoric/harden": "^0.0.4" | ||
"@agoric/harden": "^0.0.8" | ||
}, | ||
@@ -49,3 +49,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "a5fe2624fedcf3b8adf46ed6c157c29fd459b2ed" | ||
"gitHead": "534d1a65d79f9dd176cc670f374c9de2cd081a7e" | ||
} |
@@ -6,5 +6,5 @@ // Type definitions for eventual-send | ||
interface EHandler { | ||
get(p: Promise<unknown>, name: Property): Promise<unknown>; | ||
applyMethod(p: Promise<unknown>, name?: Property, args: unknown[]): Promise<unknown>; | ||
interface EHandler<T> { | ||
get?: (p: T, name: Property) => any; | ||
applyMethod?: (p: T, name?: Property, args: unknown[]) => any; | ||
} | ||
@@ -15,7 +15,7 @@ | ||
rejectHandled: (reason?: unknown) => void, | ||
resolveWithRemote: (remoteHandler: EHandler) => object, | ||
resolveWithPresence: (presenceHandler: EHandler<{}>) => object, | ||
) => void; | ||
interface HandledPromiseConstructor { | ||
new<R> (executor: HandledExecutor<R>); | ||
new<R> (executor: HandledExecutor<R>, unfulfilledHandler: EHandler<Promise<unknown>>); | ||
prototype: Promise<unknown>; | ||
@@ -28,2 +28,3 @@ applyFunction(target: unknown, args: unknown[]): Promise<unknown>; | ||
getSendOnly(target: unknown, prop: Property): void; | ||
resolve(target: unknown): Promise<any>; | ||
} | ||
@@ -30,0 +31,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
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
93803
2086
+ Added@agoric/harden@0.0.8(transitive)
+ Added@agoric/make-hardener@0.0.8(transitive)
- Removed@agoric/harden@0.0.4(transitive)
- Removed@agoric/make-hardener@0.0.4(transitive)
Updated@agoric/harden@^0.0.8