UNPKG

postal.diagnostics

Version:

Wiretap add-on for postal.js allowing configurable console.logging (or other) output of messages being published through postal's message bus.

12 lines (8 loc) 783 B
##v0.7.4 * Special thanks to @avanderhoorn for updating postal.diagnostics to include the publishing nesting level. (You can opt into this by including `includeNesting: true` in the options passed to the DiagnosticsWireTap constructor function.) ##v0.7.2 * Basically I published 0.7.1 without updating the lib directory. My bad. but npm no longer allows force publishing, so I had to cut a new version across all pkg managers this project is deployed to. Thanks npm. ##v0.7.1 * Replaced underscore dependency with lodash. * Removed need to pass lodash to the factory function returned by the CommonJS module wrapper (you only have to pass postal now). * Postal v0.9x and later no longer returns the envelope published from `postal.publish`, so tests were updated to reflect this.