mirror of
https://github.com/amark/gun.git
synced 2025-06-07 14:46:44 +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",
|
"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" },
|
||||||
|
@ -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
2
gun.js
@ -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);
|
||||||
|
@ -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>
|
||||||
|
@ -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": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user