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

orbit-db-pubsub

Package Overview
Dependencies
Maintainers
3
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

orbit-db-pubsub - npm Package Compare versions

Comparing version 0.5.5 to 0.5.6

CODE_OF_CONDUCT.md

23

package.json
{
"name": "orbit-db-pubsub",
"version": "0.5.5",
"version": "0.5.6",
"description": "Message propagation module for orbit-db",
"main": "index.js",
"homepage": "https://github.com/orbitdb/orbit-db-pubsub",
"bugs": "https://github.com/orbitdb/orbit-db-pubsub/issues",
"keywords": [
"orbitdb",
"orbit-db",
"pubsub"
],
"scripts": {

@@ -10,2 +17,9 @@ "test": "echo \"Error: no test specified\" && exit 1"

"author": "Haad",
"contributors": [
"haadcode",
"mistakia",
"oed",
"RichardLitt",
"adam-palazzo"
],
"license": "MIT",

@@ -16,3 +30,8 @@ "dependencies": {

"p-series": "^1.1.0"
}
},
"localMaintainers": [
"haad <haad@haja.io>",
"shamb0t <shams@haja.io>",
"hajamark <mark@haja.io>"
]
}

18

README.md
# orbit-db-pubsub
[![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg)](https://gitter.im/orbitdb/Lobby) [![Matrix](https://img.shields.io/badge/matrix-%23orbitdb%3Apermaweb.io-blue.svg)](https://riot.permaweb.io/#/room/#orbitdb:permaweb.io) [![Discord](https://img.shields.io/discord/475789330380488707?color=blueviolet&label=discord)](https://discord.gg/cscuf5T)
[![npm version](https://badge.fury.io/js/orbit-db-pubsub.svg)](https://badge.fury.io/js/orbit-db-pubsub)
Default message propagation service for [orbit-db](https://github.com/haadcode/orbit-db). Uses [IPFS](https://dist.ipfs.io/go-ipfs/floodsub-2) [pubsub](https://github.com/ipfs/go-ipfs/blob/master/core/commands/pubsub.go#L23).
> Message propagation module for orbit-db
Default message propagation service for [orbit-db](https://github.com/orbitdb/orbit-db). Uses [IPFS](https://dist.ipfs.io/go-ipfs/floodsub-2) [pubsub](https://github.com/ipfs/go-ipfs/blob/master/core/commands/pubsub.go#L23).
# Install
```
This project uses [npm](http://npmjs.com/) and [nodejs](https://nodejs.org/).
```sh
npm install orbit-db-pubsub
```
## Usage
### API

@@ -42,6 +50,8 @@

See [orbit-db's contributing guideline](https://github.com/haadcode/orbit-db#contributing).
If you think this could be better, please [open an issue](https://github.com/orbitdb/orbit-db-pubsub/issues/new)!
Please note that all interactions in [@orbitdb](https://github.com/orbitdb) fall under our [Code of Conduct](CODE_OF_CONDUCT.md).
## License
[MIT](LICENSE) ©️ 2016 Haadcode
[MIT](LICENSE) ©️ 2016-2018 Protocol Labs Inc., Haja Networks Oy

@@ -102,3 +102,3 @@ 'use strict'

if(subscription && subscription.onMessage && content) {
await subscription.onMessage(topicId, content)
await subscription.onMessage(topicId, content, message.from)
}

@@ -105,0 +105,0 @@ }

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