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

@remixproject/plugin-utils

Package Overview
Dependencies
Maintainers
6
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remixproject/plugin-utils - npm Package Compare versions

Comparing version 0.3.19 to 0.3.20-alpha.1

lib/tools/queue.d.ts

3

index.d.ts
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

2

lib/types/message.d.ts

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

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