@remixproject/plugin-utils
Advanced tools
Comparing version 0.3.19 to 0.3.20-alpha.1
export * from './lib/tools/event-name'; | ||
export * from './lib/tools/method-path'; | ||
export * from './lib/tools/service'; | ||
export * from './lib/tools/queue'; | ||
export * from './lib/types/api'; | ||
@@ -10,1 +11,3 @@ export * from './lib/types/message'; | ||
export * from './lib/types/status'; | ||
export * from './lib/types/queue'; | ||
export * from './lib/types/options'; |
@@ -7,2 +7,3 @@ "use strict"; | ||
tslib_1.__exportStar(require("./lib/tools/service"), exports); | ||
tslib_1.__exportStar(require("./lib/tools/queue"), exports); | ||
tslib_1.__exportStar(require("./lib/types/api"), exports); | ||
@@ -14,2 +15,4 @@ tslib_1.__exportStar(require("./lib/types/message"), exports); | ||
tslib_1.__exportStar(require("./lib/types/status"), exports); | ||
tslib_1.__exportStar(require("./lib/types/queue"), exports); | ||
tslib_1.__exportStar(require("./lib/types/options"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -12,3 +12,3 @@ export interface PluginRequest { | ||
} | ||
declare type MessageActions = 'on' | 'off' | 'once' | 'call' | 'response' | 'emit'; | ||
declare type MessageActions = 'on' | 'off' | 'once' | 'call' | 'response' | 'emit' | 'cancel'; | ||
/** @deprecated Use `MessageAcitons` instead */ | ||
@@ -15,0 +15,0 @@ declare type OldMessageActions = 'notification' | 'request' | 'response' | 'listen'; |
@@ -14,4 +14,6 @@ import type { IPluginService } from './service'; | ||
call<Name extends Extract<keyof App, string>, Key extends MethodKey<App[Name]>>(name: Name, key: Key, ...payload: MethodParams<App[Name], Key>): Promise<any>; | ||
/** Clear calls in queue of a plugin called by plugin */ | ||
cancel<Name extends Extract<keyof App, string>, Key extends MethodKey<App[Name]>>(name: Name, key: Key): void; | ||
/** Emit an event */ | ||
emit<Key extends EventKey<T>>(key: Key, ...payload: EventParams<T, Key>): void; | ||
} |
{ | ||
"name": "@remixproject/plugin-utils", | ||
"version": "0.3.19", | ||
"version": "0.3.20-alpha.1", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "tslib": "2.0.1" |
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
28251
41
484