client peer should union not emit, bug fixed, version bumped

This commit is contained in:
Mark Nadal 2015-02-18 11:48:34 -07:00
parent 1f4a5237d9
commit c10f605b50
5 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "gun", "name": "gun",
"main": "gun.js", "main": "gun.js",
"version": "0.0.9-p", "version": "0.1.1",
"homepage": "http://gunDB.io", "homepage": "http://gunDB.io",
"authors": [ "authors": [
{ "name": "Mark Nadal", "email": "mark@accelsor.com" }, { "name": "Mark Nadal", "email": "mark@accelsor.com" },

View File

@ -8,7 +8,7 @@
} }
, "dependencies": { , "dependencies": {
"express": "~>4.9.0", "express": "~>4.9.0",
"gun": "0.0.9-p" "gun": "0.1.1"
} }
, "scripts": { , "scripts": {
"start": "node express.js", "start": "node express.js",

2
gun.js
View File

@ -963,7 +963,7 @@
meta[Gun._.soul] = Gun.is.soul(reply.body); meta[Gun._.soul] = Gun.is.soul(reply.body);
store.set(tab.prefix + tab.prekey + key, meta); 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); cb(null, reply.body);
} }
}, opt); }, opt);

View File

@ -553,7 +553,7 @@ ref.on(function(data){
<form action="#step3" onsubmit="return false;"> <form action="#step3" onsubmit="return false;">
<style> <style>
#step3 input { .step3 input {
width: 6em; width: 6em;
} }
</style> </style>

View File

@ -1,5 +1,5 @@
{ "name": "gun" { "name": "gun"
, "version": "0.1.0" , "version": "0.1.1"
, "author": "Mark Nadal" , "author": "Mark Nadal"
, "description": "Graph engine." , "description": "Graph engine."
, "engines": { , "engines": {