From c10f605b505de90ad5f415e628960f0718b7ae4c Mon Sep 17 00:00:00 2001 From: Mark Nadal Date: Wed, 18 Feb 2015 11:48:34 -0700 Subject: [PATCH] client peer should union not emit, bug fixed, version bumped --- bower.json | 2 +- examples/package.json | 2 +- gun.js | 2 +- index.html | 2 +- package.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bower.json b/bower.json index c13a1fcb..092ac103 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "gun", "main": "gun.js", - "version": "0.0.9-p", + "version": "0.1.1", "homepage": "http://gunDB.io", "authors": [ { "name": "Mark Nadal", "email": "mark@accelsor.com" }, diff --git a/examples/package.json b/examples/package.json index 8138b3e4..4ef57bd0 100644 --- a/examples/package.json +++ b/examples/package.json @@ -8,7 +8,7 @@ } , "dependencies": { "express": "~>4.9.0", - "gun": "0.0.9-p" + "gun": "0.1.1" } , "scripts": { "start": "node express.js", diff --git a/gun.js b/gun.js index f66fb78b..f4b17207 100644 --- a/gun.js +++ b/gun.js @@ -963,7 +963,7 @@ meta[Gun._.soul] = Gun.is.soul(reply.body); store.set(tab.prefix + tab.prekey + key, meta); } - if(cb.node){ return gun.__.on(Gun.is.soul(reply.body)).emit(reply.body) } + if(cb.node){ gun.union(reply.body) } cb(null, reply.body); } }, opt); diff --git a/index.html b/index.html index 0402465f..93a1d889 100644 --- a/index.html +++ b/index.html @@ -553,7 +553,7 @@ ref.on(function(data){
diff --git a/package.json b/package.json index ed978bc0..4e4ca01f 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "name": "gun" -, "version": "0.1.0" +, "version": "0.1.1" , "author": "Mark Nadal" , "description": "Graph engine." , "engines": {