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

fh-wfm-mediator

Package Overview
Dependencies
Maintainers
3
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fh-wfm-mediator - npm Package Compare versions

Comparing version 0.3.0-rc7 to 0.3.0-rc8

3

lib/mediator/mediator.js

@@ -48,2 +48,5 @@ "use strict";

}
else {
console.log("Warning: no status topics defined for " + topic + ".");
}
if (!options.timeout) {

@@ -50,0 +53,0 @@ options.timeout = 2000;

2

lib/topics/index.d.ts

@@ -15,3 +15,3 @@ /// <reference types="bluebird" />

addSubscription(topic: string, fn: HandlerFn): void;
getTopic(this: Topics, topicName: string, prefix?: string): string;
getTopic(this: Topics, topicName: string, prefix?: string, topicUid?: string): string;
on<T>(this: Topics, method: string, fn: (this: Topics, ...params: any[]) => T | Promise.Thenable<T>): Topics;

@@ -18,0 +18,0 @@ onDone(this: Topics, method: string, fn: (this: Topics, ...params: any[]) => void): Topics;

@@ -23,4 +23,4 @@ "use strict";

;
Topics.prototype.getTopic = function (topicName, prefix) {
var parts = _.compact([this.prefix, this.entity, topicName]);
Topics.prototype.getTopic = function (topicName, prefix, topicUid) {
var parts = _.compact([this.prefix, this.entity, topicName, topicUid]);
if (prefix) {

@@ -27,0 +27,0 @@ parts.unshift(prefix);

{
"name": "fh-wfm-mediator",
"version": "0.3.0-rc7",
"version": "0.3.0-rc8",
"description": "An implementation of the mediator pattern for use with WFM",

@@ -11,3 +11,4 @@ "main": "lib/angular/mediator-ng.js",

"vuln": "nsp check",
"build": "grunt build"
"build": "grunt build",
"prepublish": "npm run build"
},

@@ -14,0 +15,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

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