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

@agoric/promise-kit

Package Overview
Dependencies
Maintainers
5
Versions
200
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agoric/promise-kit - npm Package Compare versions

Comparing version 0.2.30-dev-a3b499e.0 to 0.2.30-dev-a4c353a.0

7

package.json
{
"name": "@agoric/promise-kit",
"version": "0.2.30-dev-a3b499e.0+a3b499e",
"version": "0.2.30-dev-a4c353a.0+a4c353a",
"description": "Helper for making promises",

@@ -33,5 +33,2 @@ "type": "module",

"homepage": "https://github.com/Agoric/agoric-sdk#readme",
"dependencies": {
"@agoric/eventual-send": "0.14.1-dev-a3b499e.0+a3b499e"
},
"devDependencies": {

@@ -65,3 +62,3 @@ "ava": "^3.12.1"

},
"gitHead": "a3b499e21a5057da2937f893fb58d7e704cf275a"
"gitHead": "a4c353a401b7b37ee3c1a530c16489188e02ceae"
}

@@ -7,3 +7,3 @@ /* global globalThis */

/** @type {import('@agoric/eventual-send').HandledPromiseConstructor | PromiseConstructor} */
/** @type {PromiseConstructor} */
const BestPipelinablePromise = globalThis.HandledPromise || Promise;

@@ -13,3 +13,3 @@

* @template T
* @typedef {Object} PromiseRecord A reified Promise
* @typedef {Object} PromiseKit A reified Promise
* @property {(value: ERef<T>) => void} resolve

@@ -21,3 +21,10 @@ * @property {(reason: any) => void} reject

/**
* PromiseRecord is deprecated in favor of PromiseKit.
*
* @template T
* @typedef {PromiseKit<T>} PromiseRecord
*/
/**
* @template T
* @typedef {T | PromiseLike<T>} ERef

@@ -41,3 +48,3 @@ * A reference of some kind for to an object of type T. It may be a direct

* @template T
* @returns {PromiseRecord<T>}
* @returns {PromiseKit<T>}
*/

@@ -44,0 +51,0 @@ export function makePromiseKit() {

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