amark on master
websocket ../index to ./index (… (compare)
amark on master
PANIC tests + AXE get dedup + f… Merge branch 'master' of http:/… (compare)
amark on master
lib/ison: Use setTimeout instea… (compare)
const rel = Gun.val.link.; // '#'
TypeError: Cannot read property 'link' of undefined
.put(null)
. It's probably safer to just go with that
/gun
, (B) the load balancer / etc. does not support sticky sockets or needs extra configuration (C) https vs http issues
then
module?Hi There. I am actually creating a gun app for PoC for next week using Svelte as framework. So far it works fine. I only have few questions
Deleting Object.
It seems that when deleting an object it returned error.
const db = GUN()
db.get('object1').put({price: 200})
db.get('object1').put(null) // returns run time error
db.get('object1').put({price: null}) it works
The ERROR as follow:
gun.js:1008 Uncaught TypeError: Cannot read properties of undefined (reading 'push')
at walk (gun.js:1008)
at Gun.chain.put (gun.js:1045)
at App.svelte:12
at run (index.mjs:18)
at Array.map (<anonymous>)
at index.mjs:1731
at flush (index.mjs:1039)
at init (index.mjs:1823)
at new App (App.svelte:12)
at main.ts:5
I also would like to clean my local network (localhost:5000),
Can someone please give me few hints (Thanks :))
The docs say relay peers are greedy, but is there a way to restrict it's data persistence ?
If I have multiple root nodes , is it possible for that peer to only persist one particular node ?
( You can assume I will have multiple peers- some relay, some not)
If not , what are alternate approaches ?
Cannot read properties of undefined (reading 'push')
is a svelte error - have a looksie on the wiki for svelte integrations
radata
folder from existence and keep it so for a good period of time - one peer coming back to life with the full graph is all that's needed to fill an emptied one :)