@endo/eventual-send
Advanced tools
Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "@endo/eventual-send", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Extend a Promise class to implement the eventual-send API", | ||
@@ -39,9 +39,9 @@ "type": "module", | ||
"dependencies": { | ||
"@endo/env-options": "^1.1.2" | ||
"@endo/env-options": "^1.1.3" | ||
}, | ||
"devDependencies": { | ||
"@endo/lockdown": "^1.0.5", | ||
"@endo/lockdown": "^1.0.6", | ||
"ava": "^6.1.2", | ||
"c8": "^7.14.0", | ||
"tsd": "^0.28.1" | ||
"tsd": "^0.30.7" | ||
}, | ||
@@ -76,3 +76,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "36384eb5a4bbd11dd3d06a8045d620f8d6569590" | ||
"gitHead": "25229bdcc26babb3afe0c229df4283a0f3c105f3" | ||
} |
@@ -67,3 +67,3 @@ export default makeE; | ||
export type ERef<T> = PromiseLike<T> | T; | ||
export type ECallable<T extends import("./types").Callable> = ReturnType<T> extends PromiseLike<infer U> ? T : (...args: Parameters<T>) => Promise<Awaited<ReturnType<T>>>; | ||
export type ECallable<T extends import("./types").Callable> = (ReturnType<T> extends PromiseLike<infer U> ? T : (...args: Parameters<T>) => Promise<Awaited<ReturnType<T>>>); | ||
export type EMethods<T> = { readonly [P in keyof T]: T[P] extends import("./types").Callable ? ECallable<T[P]> : never; }; | ||
@@ -90,3 +90,3 @@ export type EGetters<T> = { readonly [P in keyof T]: T[P] extends PromiseLike<infer U> ? T[P] : Promise<Awaited<T[P]>>; }; | ||
*/ | ||
export type PickCallable<T> = T extends import("./types").Callable ? (...args: Parameters<T>) => ReturnType<T> : Pick<T, FilteredKeys<T, import("./types").Callable>>; | ||
export type PickCallable<T> = (T extends import('./types').Callable ? (...args: Parameters<T>) => ReturnType<T> : Pick<T, FilteredKeys<T, import('./types').Callable>>); | ||
/** | ||
@@ -93,0 +93,0 @@ * `RemoteFunctions<T>` means to return the functions and properties that are remotely callable. |
@@ -18,3 +18,3 @@ export function makeHandledPromise(): { | ||
revokerCallback?(revoker: () => void): void; | ||
} | undefined; | ||
}; | ||
}; | ||
@@ -21,0 +21,0 @@ export type HandledExecutor<R = unknown> = (resolveHandled: (value?: R) => void, rejectHandled: (reason?: unknown) => void, resolveWithPresence: (presenceHandler: Handler<{}>, options?: ResolveWithPresenceOptionsBag<{}>) => object) => void; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
91063
Updated@endo/env-options@^1.1.3