Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@agoric/eventual-send

Package Overview
Dependencies
Maintainers
5
Versions
322
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agoric/eventual-send - npm Package Compare versions

Comparing version 0.8.0 to 0.9.0

17

CHANGELOG.md

@@ -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 @@

6

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc