@recordreplay/protocol
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -200,2 +200,6 @@ import { MappedLocation, PointDescription } from "./Debugger"; | ||
/** | ||
* For Promise objects, the resolution state. | ||
*/ | ||
promiseState?: PromiseStateData; | ||
/** | ||
* For Function objects, the name of the function. | ||
@@ -270,2 +274,19 @@ * Omitted for functions with no name. | ||
/** | ||
* The possible states for a promise. | ||
*/ | ||
export declare type PromiseState = "pending" | "fulfilled" | "rejected"; | ||
/** | ||
* The internal state data of a promise. | ||
*/ | ||
export interface PromiseStateData { | ||
/** | ||
* The resolution state. | ||
*/ | ||
state: PromiseState; | ||
/** | ||
* The fulfilled/rejected value, if not pending. | ||
*/ | ||
value?: Value; | ||
} | ||
/** | ||
* Block of data from this pause which might be useful to the protocol client. | ||
@@ -272,0 +293,0 @@ * To reduce the number of back-and-forth calls required over the protocol, |
{ | ||
"name": "@recordreplay/protocol", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "Definition of the protocol used by the Record Replay web service", | ||
@@ -5,0 +5,0 @@ "author": "", |
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
192795
5040