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

mutual

Package Overview
Dependencies
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mutual - npm Package Compare versions

Comparing version 1.0.0-alpha-02 to 1.0.0-alpha-03

6

package.json
{
"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 {},

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