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-230d998.0 to 0.2.30-dev-2c92c13.0

7

package.json
{
"name": "@agoric/promise-kit",
"version": "0.2.30-dev-230d998.0+230d998",
"version": "0.2.30-dev-2c92c13.0+2c92c13",
"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-230d998.0+230d998"
},
"devDependencies": {

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

},
"gitHead": "230d998b7b1b633eac02d68c1e4a8ce8fd3d9dd5"
"gitHead": "2c92c138d3bf83846db39856ab7774ef49d0d9f8"
}

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