Comparing version 1.0.0-alpha-02 to 1.0.0-alpha-03
{ | ||
"name": "mutual", | ||
"version": "1.0.0-alpha-02", | ||
"version": "1.0.0-alpha-03", | ||
"description": "TBD", | ||
@@ -23,2 +23,3 @@ "main": "lib/index.js", | ||
"evie-wildcards": "^1.0.0-alpha-01", | ||
"fairmont": "^1.0.0-alpha-14", | ||
"redis": "^0.12.1", | ||
@@ -28,4 +29,5 @@ "when": "^3.7.2" | ||
"devDependencies": { | ||
"fairmont": "^1.0.0-alpha-14" | ||
"amen": "^1.0.0-alpha-06", | ||
"key-forge": "^1.0.0-beta-01" | ||
} | ||
} |
@@ -22,4 +22,4 @@ # Mutual | ||
{Channel, Transport} = require "mutual" | ||
transport = Transport.Broadcast.Redis.create() | ||
channel = Channel.create transport, "hello" | ||
transport = Transport.Redis.Broadcast.create() | ||
channel = Channel.create "hello", transport | ||
@@ -33,4 +33,4 @@ channel.on message: (message) -> | ||
{Channel, Transport} = require "mutual" | ||
transport = Transport.Broadcast.Redis.create() | ||
channel = Channel.create transport, "hello" | ||
transport = Transport.Redis.Broadcast.create() | ||
channel = Channel.create "hello", transport | ||
@@ -47,4 +47,4 @@ channel.emit message: "Hello, World" | ||
{Channel, Transport} = require "mutual" | ||
transport = Transport.Queue.Redis.create() | ||
channel = Channel.create transport, "hello" | ||
transport = Transport.Redis.Queue.create() | ||
channel = Channel.create "hello", transport | ||
@@ -58,4 +58,4 @@ channel.on message: (message) -> | ||
{Channel, Transport} = require "mutual" | ||
transport = Transport.Queue.Redis.create() | ||
channel = Channel.create transport, "hello" | ||
transport = Transport.Redis.Queue.create() | ||
channel = Channel.create "hello", transport | ||
@@ -72,5 +72,5 @@ channel.emit message: "Hello, World" | ||
{Channel, Transport} = require "mutual" | ||
transport = Transport.Queue.Redis.create() | ||
tasks = Channel.create transport, "hello-world-tasks" | ||
results = Channel.create transport, "hello-world-results" | ||
transport = Transport.Redis.Queue.create() | ||
tasks = Channel.create "hello-world-tasks", transport | ||
results = Channel.create "hello-world-results", transport | ||
@@ -84,5 +84,5 @@ tasks.on task: ({name}) -> | ||
{Channel, Transport} = require "mutual" | ||
transport = Transport.Queue.Redis.create() | ||
tasks = Channel.create transport, "hello-world-tasks" | ||
results = Channel.create transport, "hello-world-results" | ||
transport = Transport.Redis.Queue.create() | ||
tasks = Channel.create "hello-world-tasks", transport | ||
results = Channel.create "hello-world-results", transport | ||
@@ -100,3 +100,3 @@ tasks.emit task: name: "World" | ||
{processor} = require "pbx-processor" | ||
{async, partial} = require "fairmont" | ||
{async, partial, _} = require "fairmont" | ||
@@ -111,3 +111,3 @@ builder = Builder.create "chat-api" | ||
transport = Transport.local | ||
make_channel = partial Channel.create transport | ||
make_channel = partial Channel.create _, transport | ||
@@ -114,0 +114,0 @@ channels = new Proxy {}, |
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
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
24282
0
5
2
+ Addedfairmont@^1.0.0-alpha-14