mirror of
https://github.com/amark/gun.git
synced 2025-06-07 06:36:46 +00:00
client peer should union not emit, bug fixed, version bumped
This commit is contained in:
parent
1f4a5237d9
commit
c10f605b50
@ -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" },
|
||||
|
@ -8,7 +8,7 @@
|
||||
}
|
||||
, "dependencies": {
|
||||
"express": "~>4.9.0",
|
||||
"gun": "0.0.9-p"
|
||||
"gun": "0.1.1"
|
||||
}
|
||||
, "scripts": {
|
||||
"start": "node express.js",
|
||||
|
2
gun.js
2
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);
|
||||
|
@ -553,7 +553,7 @@ ref.on(function(data){
|
||||
|
||||
<form action="#step3" onsubmit="return false;">
|
||||
<style>
|
||||
#step3 input {
|
||||
.step3 input {
|
||||
width: 6em;
|
||||
}
|
||||
</style>
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ "name": "gun"
|
||||
, "version": "0.1.0"
|
||||
, "version": "0.1.1"
|
||||
, "author": "Mark Nadal"
|
||||
, "description": "Graph engine."
|
||||
, "engines": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user