fh-wfm-mediator
Advanced tools
Comparing version 0.3.0-rc7 to 0.3.0-rc8
@@ -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; |
@@ -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
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
23101
279