test no put route for peer = out count (?)

This commit is contained in:
Mark 2019-06-13 15:04:46 -07:00
parent 6eaa0f5fa6
commit 162061259a
2 changed files with 4 additions and 3 deletions

2
axe.js
View File

@ -174,7 +174,7 @@
return chat(peers);
}
// TODO: PUTs need to only go to subs!
if(msg.put){
if(false && msg.put){ // false for temporary test
var routes = axe.routes || (axe.routes = {}); // USE RAD INSTEAD! TMP TESTING!
var peers = {};
Gun.obj.map(msg.put, function(node, soul){

5
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "gun",
"version": "0.2019.416",
"version": "0.2019.612",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -1166,7 +1166,8 @@
"tslib": {
"version": "1.9.3",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz",
"integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ=="
"integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ==",
"optional": true
},
"type-is": {
"version": "1.6.16",