orbit-db-pubsub
Advanced tools
Comparing version 0.5.5 to 0.5.6
{ | ||
"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>" | ||
] | ||
} |
# 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 @@ } |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
10885
7
2
57
1