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

nanomessage-rpc

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nanomessage-rpc - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

CHANGELOG.md

@@ -9,2 +9,4 @@ # Changelog

## 1.1.1 - 2020-03-13 [YANKED]
## 1.1.0 - 2020-03-12 [YANKED]

@@ -17,2 +19,2 @@

## 1.0.0 - 2020-03-11 [YANKED]
[Unreleased]: https://github.com/geut/nanomessage-rpc/compare/v1.1.0...HEAD
[Unreleased]: https://github.com/geut/nanomessage-rpc/compare/v1.1.1...HEAD

@@ -15,3 +15,3 @@ const Emittery = require('emittery')

class RPC {
class NanomessageRPC {
constructor (socket, opts = {}) {

@@ -146,4 +146,4 @@ const { codec = jsonCodec } = opts

module.exports = (...args) => new RPC(...args)
module.exports.RPC = RPC
module.exports = (...args) => new NanomessageRPC(...args)
module.exports.NanomessageRPC = NanomessageRPC
module.exports.errors = { ERR_ACTION_NAME_MISSING, ERR_ACTION_RESPONSE_ERROR }
{
"name": "nanomessage-rpc",
"version": "1.1.0",
"version": "1.1.1",
"description": "Tiny rpc on top of nanomessage",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -18,6 +18,6 @@ # nanomessage-rpc

```javascript
const nanorpc = require('nanomessage-rpc')
const nanomessagerpc = require('nanomessage-rpc')
;(async () => {
const rpc = nanorpc(socket, opts)
const rpc = nanomessagerpc(socket, opts)

@@ -38,3 +38,3 @@ await rpc

;(async () => {
const rpc = nanorpc(socket, opts)
const rpc = nanomessagerpc(socket, opts)

@@ -55,3 +55,3 @@ await rpc.open()

```javascript
const nanorpc = require('nanomessage-rpc')
const nanomessagerpc = require('nanomessage-rpc')
const nanoerror = require('nanoerror')

@@ -62,3 +62,3 @@

;(async () => {
const rpc = nanorpc(socket, opts)
const rpc = nanomessagerpc(socket, opts)

@@ -80,3 +80,3 @@ await rpc

#### `const rpc = nanorpc(socket, options)`
#### `const rpc = nanomessagerpc(socket, options)`

@@ -83,0 +83,0 @@ Create a new nanomessage-rpc.

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