Skip to content

Commit

Permalink
chore : release main 0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nuzulul committed Jul 7, 2024
1 parent 62a9f61 commit 3e7b69a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ Build completely peer-to-peer web applications, no trackers or relay servers req
* ✅ Works in Browsers
* ✅ Broadcast Message

# Security

WebPEER.js uses [`libp2p gossipsub`](https://docs.libp2p.io/concepts/security/security-considerations/#publish--subscribe) to enables communication between applications.

## Quickstart

Try now in [Playground](https://jsbin.com/suwesaliro/1/edit?html,output) :
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "webpeerjs",
"version": "0.1.1",
"description": "WebPEER.js simple peer-to-peer communication between applications in browser.",
"version": "0.1.2",
"description": "WebPEER.js is decentralized P2P JS library for communication between applications in browser.",
"main": "./dist/umd/webpeerjs.js",
"module": "./src/webpeerjs.js",
"exports": {
Expand Down Expand Up @@ -43,7 +43,7 @@
"distributed",
"decentralized-web",
"distributed-web",
"severless"
"serverless"
],
"author": {
"name": "Nuzulul Zulkarnain",
Expand Down
2 changes: 1 addition & 1 deletion test/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ void async function main() {
setInterval(()=>{
sendMessage(number)
number++
},5000)
},1000)

node.onConnect((id)=>{
console.log(`Connected to ${id}`)
Expand Down

0 comments on commit 3e7b69a

Please sign in to comment.