Comparing version 0.2.2 to 0.3.0
{ | ||
"name": "tunguska", | ||
"author": "Kris Zyp", | ||
"version": "0.2.2", | ||
"version": "0.3.0", | ||
"description": "Distributed publish/subscribe hub with Comet-style delivery of messages to browsers", | ||
"dependencies": [], | ||
@@ -24,2 +25,8 @@ "keywords": [ | ||
], | ||
"maintainers": [ | ||
{ | ||
"name": "Kris Zyp", | ||
"email": "kriszyp@gmail.com" | ||
} | ||
], | ||
"repository": { | ||
@@ -32,7 +39,10 @@ "type":"git", | ||
"directories": { | ||
"lib": "./lib" | ||
"lib": "." | ||
}, | ||
"dependencies":{ | ||
"patr": ">=0.2.1" | ||
"devDependencies":{ | ||
"patr": ">0.2.6" | ||
}, | ||
"dependencies": { | ||
"promised-io": ">=0.3.0" | ||
} | ||
} | ||
} |
@@ -60,2 +60,12 @@ [Tunguska](http://en.wikipedia.org/wiki/Tunguska_event) is a comet-based | ||
In addition, we can use tagged subscriptions to subscribe to a subset of tagged messages on a channel: | ||
hub.subscribe("name/of/*:tagname", listenerFunction); | ||
Using tags requires that objects are published with a tag: | ||
hub.publish("name/of/channel:tagname", {foo:"bar"}); | ||
Messages that are published with a tag will be sent to all subscribers that are subscribed to a matching tag, or that are subscribed to the base channel without a tag. | ||
Tunguska also supports named event sub-types within each channel. The subscribe | ||
@@ -62,0 +72,0 @@ function takes an optional second parameter for specifying a specific event type |
@@ -6,5 +6,5 @@ { | ||
"mappings":{ | ||
"pintura": "http://github.com/kriszyp/pintura/zipball/v0.2.5", | ||
"jsgi-node": "http://github.com/kriszyp/jsgi-node/zipball/v0.2.3", | ||
"tunguska": "http://github.com/kriszyp/tunguska/zipball/v0.2.2", | ||
"pintura": "http://github.com/kriszyp/pintura/zipball/v0.2.5!/", | ||
"jsgi-node": "http://github.com/kriszyp/jsgi-node/zipball/v0.2.3!/", | ||
"tunguska": "http://github.com/kriszyp/tunguska/zipball/v0.2.2!/", | ||
"ws": { | ||
@@ -11,0 +11,0 @@ "archive": "http://github.com/miksago/node-websocket-server/zipball/v1.4.01", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
32178
12
735
197
1
2
+ Addedpromised-io@>=0.3.0
- Removedpatr@>=0.2.1
- Removedpatr@0.2.6(transitive)