amark on master
prepare to sync gun lib unbuild… (compare)
amark on master
ok ack + webrtc Merge branch 'master' of http:/… bump (ok ack + webrtc) @Draeder… (compare)
amark on master
websocket ../index to ./index (… (compare)
[D]anoxy: <@280426612900757504> thanks for giving me a solution as well.
But now to my question if I want to delete all data and keys belonging to a node .
In my case it is :user.get('notes').get('category')
Where it's "data" has the structure:
{Gun.time.is():
{name: 'some text', prop2: 'some other text'},
Gun.time.is():
{name: 'some text', prop2: 'some other text'}
}
[D]keymaker91: <@!178314946201780224> Thank you for the elaborate response. I understand your thought process, your ideas and the way you are pushing gun forward. Kudos to you for building such an amazing community and having such wonderful rhetorics.
GitHub counts comments/feedback as contributions. For the sake of great ideas behind gun, I hope you are counting them as well.
I have nothing else to contribute
[D]anoxy: Can someone please tell me how I can hard delete a whole node and its related data?
RIght now I can only do "softDelete", I need to know how I can "hardDelete" or make the references nulled/empty without the keys being left somewhere, is this even possible?
result = user.get('notes').get('category').get(nodeKey).once(async function(data, key){
console.log('data', data);
console.log('key', key);
this.put({}, async function(ack){
console.log('ack ', ack);
if (ack.ok !== 1)
throw "nodeKey could not be softDeleted! Reason: " + ack.err;
return ack;
});
});
Recall saves a users credentials in sessionStorage of the browser. As long as the tab of your app is not closed the user stays logged in, even through page refreshes and reloads.
but that don't work,doRegister
function finishes the load
Gun()
?Gun()
and as soon as I initiated the online Gun instance I didn't have problems after refresh ( to stay logged in )