{"_id":"@synonymdev/web-relay","_rev":"33-8737782a0081e49b5d2181992af03cdc","name":"@synonymdev/web-relay","dist-tags":{"latest":"1.0.9"},"versions":{"0.1.0":{"name":"@synonymdev/web-relay","version":"0.1.0","license":"MIT","_id":"@synonymdev/web-relay@0.1.0","maintainers":[{"name":"pwltr","email":"philippwalter@pm.me"},{"name":"miguelmedeirosweb","email":"miguel@miguelmedeiros.com.br"},{"name":"rbndg","email":"rbandegi@gmail.com"},{"name":"bitcoinerrorlog","email":"john@synonym.to"},{"name":"jayvdb","email":"jayvdb1@gmail.com"},{"name":"coreyphillips","email":"corey.lyle.phillips@gmail.com"},{"name":"nzh","email":"ar.nazeh@gmail.com"}],"dist":{"shasum":"848f58791c40076cff8dc1da8666767bf0b3312f","tarball":"https://registry.npmjs.org/@synonymdev/web-relay/-/web-relay-0.1.0.tgz","fileCount":13,"integrity":"sha512-HaIBwtlqMXmiuospxLQNtTc6fQd/nX5uwsdXlPwBEFJUzft4NwjSr68qs7iIMvTmrwjPdrYi6+R4mi0DFUYjtQ==","signatures":[{"sig":"MEQCIGI28x1zCk6cQnt3njwTA0lfbZdPamqal1y6FZj2D13XAiBfiNfjPbbbLONzhXcoB57yycBlCwf4tcfd/BWYaAToeQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21521},"main":"index.js","types":"types/index.d.ts","gitHead":"1ec33d81ad717c0cbb79befa2d079f004b6dc4fa","scripts":{"lint":"standard --fix --ignore example/*","test":"brittle test/* -cov","build":"tsc","fullcheck":"npm run lint && npm run build && npm run test","prepublishOnly":"npm run fullcheck"},"_npmUser":{"name":"nzh","email":"ar.nazeh@gmail.com"},"_npmVersion":"9.5.0","description":"Slashtags Web Relay","directories":{},"_nodeVersion":"18.15.0","dependencies":{"b4a":"^1.6.4","z32":"^1.0.0","hash-wasm":"^4.9.0","node-fetch":"^2.6.12","sodium-universal":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.2.1","standard":"^17.0.0","typescript":"^5.0.4","@types/node":"^18.16.0","@types/node-fetch":"^2.6.4"},"_npmOperationalInternal":{"tmp":"tmp/web-relay_0.1.0_1690188936466_0.27226543047295615","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@synonymdev/web-relay","version":"0.2.0","license":"MIT","_id":"@synonymdev/web-relay@0.2.0","maintainers":[{"name":"pwltr","email":"philippwalter@pm.me"},{"name":"miguelmedeirosweb","email":"miguel@miguelmedeiros.com.br"},{"name":"rbndg","email":"rbandegi@gmail.com"},{"name":"bitcoinerrorlog","email":"john@synonym.to"},{"name":"jayvdb","email":"jayvdb1@gmail.com"},{"name":"coreyphillips","email":"corey.lyle.phillips@gmail.com"},{"name":"nzh","email":"ar.nazeh@gmail.com"}],"dist":{"shasum":"3eb443f1868c1da6f741579e997c1c4116eaf0e6","tarball":"https://registry.npmjs.org/@synonymdev/web-relay/-/web-relay-0.2.0.tgz","fileCount":40,"integrity":"sha512-xkXhZsWpnT5HgB7M0/HBcEUGYuCmyp4MZruyjd4SCwt/0KdX4ltncolsz9puxlru4cMkUWucdZPpfXMs2/nxfA==","signatures":[{"sig":"MEUCIQCadq+4f9Ti+eIsG4oZBznwwIMUdjiUYKWcbCSvaTUsawIgFDsmDPSF214QFgH4zFjOg59VBSJi8ggFgu8rOcuEMAQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54035},"main":"index.js","types":"types/index.d.ts","browser":{"./lib/client/default-storage.js":"./lib/client/default-storage-browser.js"},"exports":{".":"./index.js","./client":"./lib/client/index.js","./server":"./lib/server/index.js"},"gitHead":"6ebd46126cafddb84320619ef001983690a648ae","scripts":{"lint":"standard --fix --ignore example/*","test":"brittle test/* -cov","build":"tsc","fullcheck":"npm run lint && npm run build && npm run test","prepublishOnly":"npm run fullcheck"},"_npmUser":{"name":"nzh","email":"ar.nazeh@gmail.com"},"_npmVersion":"9.5.0","description":"Slashtags Core Data is abstraction library that encapsulates logic related to managing data on Slashtags.","directories":{},"_nodeVersion":"18.15.0","dependencies":{"b4a":"^1.6.4","level":"^8.0.0","hash-wasm":"^4.9.0","node-fetch":"^2.6.12","eventsource":"^2.0.2","sodium-universal":"^4.0.0","@synonymdev/slashtags-url":"^1.0.0-alpha.3"},"_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.2.1","standard":"^17.0.0","typescript":"^5.0.4","@types/node":"^18.16.0","@types/node-fetch":"^2.6.4"},"_npmOperationalInternal":{"tmp":"tmp/web-relay_0.2.0_1690959910241_0.3965929457156938","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@synonymdev/web-relay","version":"1.0.0","license":"MIT","_id":"@synonymdev/web-relay@1.0.0","maintainers":[{"name":"pwltr","email":"philippwalter@pm.me"},{"name":"miguelmedeirosweb","email":"miguel@miguelmedeiros.com.br"},{"name":"rbndg","email":"rbandegi@gmail.com"},{"name":"bitcoinerrorlog","email":"john@synonym.to"},{"name":"jayvdb","email":"jayvdb1@gmail.com"},{"name":"coreyphillips","email":"corey.lyle.phillips@gmail.com"},{"name":"nzh","email":"ar.nazeh@gmail.com"}],"dist":{"shasum":"ddf715d21078822f717db8b74d6f8fba00ca1564","tarball":"https://registry.npmjs.org/@synonymdev/web-relay/-/web-relay-1.0.0.tgz","fileCount":50,"integrity":"sha512-S/WVRWJEHFFNOrdZsn/2a4VK97Lj/taoKRmOq8USLCadCaljOwcesxiI92R3+tBvCFvydqahZw/Mb0kDY6O2CQ==","signatures":[{"sig":"MEQCICuWH1S2PiNhqc9tt5WFCOQT25SeXRJtkdbwcrZTUZYUAiAfLwnjYFomGLNfGpFNjVjSLdfiGF8B/cltB23UtZeePg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67054},"main":"index.js","types":"types/index.d.ts","browser":{"./index.js":"./lib/client/index.js","./lib/client/fetch.js":"./lib/client/fetch-browser.js","./lib/client/eventsource.js":"./lib/client/eventsource-browser.js","./lib/client/xmlhttprequest":"./lib/client/xmlhttprequest-browser.js","./lib/client/default-storage.js":"./lib/client/default-storage-browser.js"},"gitHead":"ccf3c2410e55106d16f5723e80486f7d2e9a5a40","scripts":{"lint":"standard --fix --ignore example/*","test":"brittle test/* -cov","build":"rm -rf types && tsc","start":"node ./bin.js","fullcheck":"npm run lint && npm shrinkwrap && npm run build && npm run test","web-relay":"node example/browser/relay.js","prepublishOnly":"npm run fullcheck"},"_npmUser":{"name":"nzh","email":"ar.nazeh@gmail.com"},"_npmVersion":"9.5.0","description":"Slashtags Web Relay is a powerful abstraction library designed to simplify the management of data on Slashtags.","directories":{},"_nodeVersion":"18.15.0","dependencies":{"b4a":"1.6.4","lmdb":"2.8.4","level":"8.0.0","node-fetch":"2.6.12","git-repo-info":"^2.1.1","xmlhttprequest":"1.8.0","sodium-universal":"4.0.0","@synonymdev/slashtags-url":"1.0.0-alpha.3"},"react-native":{"./index.js":"./lib/client/index.js","./lib/client/fetch.js":"./lib/client/fetch-browser.js","./lib/client/eventsource.js":"./lib/client/eventsource.js","./lib/client/xmlhttprequest":"./lib/client/xmlhttprequest-browser.js","./lib/client/default-storage.js":"./lib/client/default-storage-browser.js"},"_hasShrinkwrap":false,"devDependencies":{"brittle":"3.2.1","standard":"17.0.0","typescript":"5.0.4","@types/node":"18.16.0","@types/node-fetch":"2.6.4"},"_npmOperationalInternal":{"tmp":"tmp/web-relay_1.0.0_1693885170257_0.1941351300153169","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@synonymdev/web-relay","version":"1.0.1","license":"MIT","_id":"@synonymdev/web-relay@1.0.1","maintainers":[{"name":"pwltr","email":"philippwalter@pm.me"},{"name":"miguelmedeirosweb","email":"miguel@miguelmedeiros.com.br"},{"name":"rbndg","email":"rbandegi@gmail.com"},{"name":"bitcoinerrorlog","email":"john@synonym.to"},{"name":"jayvdb","email":"jayvdb1@gmail.com"},{"name":"coreyphillips","email":"corey.lyle.phillips@gmail.com"},{"name":"nzh","email":"ar.nazeh@gmail.com"}],"dist":{"shasum":"29c7bde3081c2fec0f01be70e47d4008c8fa5e04","tarball":"https://registry.npmjs.org/@synonymdev/web-relay/-/web-relay-1.0.1.tgz","fileCount":16,"integrity":"sha512-V5lULKk6GpS3Spk5OAIWH3r6ofrykF0GqeofHvhcJeczQngK5tO7bwJbmno3303tCYP77KBtRGlVwC7/sZB7rQ==","signatures":[{"sig":"MEUCICMQC4uy/ZIMFi55ckpia3BPLZFVdMwrQrlNxO0XMPpdAiEAvDe4l6apOR3Mhw3NLO/ohPKAE44TbKbN2LVfUimR/9U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46568},"main":"index.js","types":"types/index.d.ts","browser":{"./index.js":"./lib/client/index.js","./lib/client/fetch.js":"./lib/client/fetch-browser.js","./lib/client/eventsource.js":"./lib/client/eventsource-browser.js","./lib/client/xmlhttprequest":"./lib/client/xmlhttprequest-browser.js","./lib/client/default-storage.js":"./lib/client/default-storage-browser.js"},"gitHead":"565bc7f883fef8ae87d1e6c6792d8366b26179bd","scripts":{"lint":"standard --fix --ignore example/*","test":"brittle test/* -cov","build":"rm -rf types && tsc","start":"node ./bin.js","fullcheck":"npm shrinkwrap && npm run build && npm run test","web-relay":"node example/browser/relay.js"},"_npmUser":{"name":"rbndg","email":"rbandegi@gmail.com"},"_npmVersion":"9.6.6","description":"Slashtags Web Relay is a powerful abstraction library designed to simplify the management of data on Slashtags.","directories":{},"_nodeVersion":"19.3.0","dependencies":{"b4a":"1.6.4","lmdb":"2.8.4","level":"8.0.0","node-fetch":"2.6.12","git-repo-info":"^2.1.1","xmlhttprequest":"1.8.0","sodium-universal":"4.0.0","@synonymdev/slashtags-url":"1.0.0-alpha.3"},"react-native":{"./index.js":"./lib/client/index.js","./lib/client/fetch.js":"./lib/client/fetch-browser.js","./lib/client/eventsource.js":"./lib/client/eventsource.js","./lib/client/xmlhttprequest":"./lib/client/xmlhttprequest-browser.js","./lib/client/default-storage.js":"./lib/client/default-storage-browser.js"},"_hasShrinkwrap":false,"devDependencies":{"brittle":"3.2.1","standard":"17.0.0","typescript":"5.0.4","@types/node":"18.16.0","@types/node-fetch":"2.6.4"},"_npmOperationalInternal":{"tmp":"tmp/web-relay_1.0.1_1694412654920_0.12293203588973545","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@synonymdev/web-relay","version":"1.0.2","license":"MIT","_id":"@synonymdev/web-relay@1.0.2","maintainers":[{"name":"pwltr","email":"philippwalter@pm.me"},{"name":"miguelmedeirosweb","email":"miguel@miguelmedeiros.com.br"},{"name":"rbndg","email":"rbandegi@gmail.com"},{"name":"bitcoinerrorlog","email":"john@synonym.to"},{"name":"jayvdb","email":"jayvdb1@gmail.com"},{"name":"coreyphillips","email":"corey.lyle.phillips@gmail.com"},{"name":"nzh","email":"ar.nazeh@gmail.com"}],"dist":{"shasum":"1e66b519e5545034513b91d59e6b63ff226357de","tarball":"https://registry.npmjs.org/@synonymdev/web-relay/-/web-relay-1.0.2.tgz","fileCount":50,"integrity":"sha512-bc/NYmwnWCYfHgUeeAacS3Wkr+0AGB3AJM7HllGhqCUGjFYNsDPOpx35f5PBeAilE55ZECWCohu3w0KcIY+cBQ==","signatures":[{"sig":"MEUCIEP8u0vW4UjWS9DAOw1rBWwKPyXZUDI0SeaaSe26oyqDAiEA7wXAv7h+5MGXmS7Ixe4OVtDB9KvE6s8gxYVw5Z258jM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68615},"main":"index.js","types":"types/index.d.ts","browser":{"./index.js":"./lib/client/index.js","./lib/client/fetch.js":"./lib/client/fetch-browser.js","./lib/client/eventsource.js":"./lib/client/eventsource-browser.js","./lib/client/xmlhttprequest":"./lib/client/xmlhttprequest-browser.js","./lib/client/default-storage.js":"./lib/client/default-storage-browser.js"},"gitHead":"95f117ed78dc0e961fd1ecfd2025fb1751b21c8a","scripts":{"lint":"standard --fix --ignore example/*","test":"brittle test/* -cov","build":"rm -rf types && tsc","start":"node ./bin.js","fullcheck":"npm run lint && npm shrinkwrap && npm run build && npm run test","web-relay":"node example/browser/relay.js","prepublishOnly":"npm run fullcheck"},"_npmUser":{"name":"rbndg","email":"rbandegi@gmail.com"},"_npmVersion":"9.6.6","description":"Slashtags Web Relay is a powerful abstraction library designed to simplify the management of data on Slashtags.","directories":{},"_nodeVersion":"19.3.0","dependencies":{"b4a":"1.6.4","lmdb":"2.8.4","level":"8.0.0","node-fetch":"2.6.12","git-repo-info":"^2.1.1","xmlhttprequest":"1.8.0","sodium-universal":"4.0.0","@synonymdev/slashtags-url":"^1.0.0"},"react-native":{"./index.js":"./lib/client/index.js","./lib/client/fetch.js":"./lib/client/fetch-browser.js","./lib/client/eventsource.js":"./lib/client/eventsource.js","./lib/client/xmlhttprequest":"./lib/client/xmlhttprequest-browser.js","./lib/client/default-storage.js":"./lib/client/default-storage-browser.js"},"_hasShrinkwrap":false,"devDependencies":{"brittle":"3.2.1","standard":"17.0.0","typescript":"5.0.4","@types/node":"18.16.0","@types/node-fetch":"2.6.4"},"_npmOperationalInternal":{"tmp":"tmp/web-relay_1.0.2_1694499805040_0.47091201361748447","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@synonymdev/web-relay","version":"1.0.3","license":"MIT","_id":"@synonymdev/web-relay@1.0.3","maintainers":[{"name":"pwltr","email":"philippwalter@pm.me"},{"name":"miguelmedeirosweb","email":"miguel@miguelmedeiros.com.br"},{"name":"rbndg","email":"rbandegi@gmail.com"},{"name":"bitcoinerrorlog","email":"john@synonym.to"},{"name":"jayvdb","email":"jayvdb1@gmail.com"},{"name":"coreyphillips","email":"corey.lyle.phillips@gmail.com"},{"name":"nzh","email":"ar.nazeh@gmail.com"}],"dist":{"shasum":"e163358092115ff51cd0c33a74830994ee965f4e","tarball":"https://registry.npmjs.org/@synonymdev/web-relay/-/web-relay-1.0.3.tgz","fileCount":50,"integrity":"sha512-Gk0CbBOQHcSGYCNvEA4sdqfFgy4LTMAERMVTIoNuxyexcgfmcjwzYvMnOA8e704Bf2FUAylRmcbewmveSAclDg==","signatures":[{"sig":"MEYCIQDY+NKZsHHPtBYoORNnO6T33Ryf4aKjqtiweIBrof2k1gIhANzqHTj11r6cZgrMiTsu0DAUyBduKYmUqDWnJiFJo4JX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69888},"main":"index.js","types":"types/index.d.ts","browser":{"./index.js":"./lib/client/index.js","./lib/client/fetch.js":"./lib/client/fetch-browser.js","./lib/client/eventsource.js":"./lib/client/eventsource-browser.js","./lib/client/xmlhttprequest":"./lib/client/xmlhttprequest-browser.js","./lib/client/default-storage.js":"./lib/client/default-storage-browser.js"},"gitHead":"f042aea9ebcb1dafe3138a0bd496f7d707897c7c","scripts":{"lint":"standard --fix --ignore example/*","test":"brittle test/* -cov","build":"rm -rf types && tsc","start":"node ./bin.js","fullcheck":"npm run lint && npm shrinkwrap && npm run build && npm run test","web-relay":"node example/browser/relay.js","prepublishOnly":"npm run fullcheck"},"_npmUser":{"name":"rbndg","email":"rbandegi@gmail.com"},"_npmVersion":"9.6.6","description":"Slashtags Web Relay is a powerful abstraction library designed to simplify the management of data on Slashtags.","directories":{},"_nodeVersion":"19.3.0","dependencies":{"b4a":"1.6.4","lmdb":"2.8.4","level":"8.0.0","node-fetch":"2.6.12","git-repo-info":"^2.1.1","xmlhttprequest":"1.8.0","sodium-universal":"4.0.0","@synonymdev/slashtags-url":"^1.0.0"},"react-native":{"./index.js":"./lib/client/index.js","./lib/client/fetch.js":"./lib/client/fetch-browser.js","./lib/client/eventsource.js":"./lib/client/eventsource.js","./lib/client/xmlhttprequest":"./lib/client/xmlhttprequest-browser.js","./lib/client/default-storage.js":"./lib/client/default-storage-browser.js"},"_hasShrinkwrap":false,"devDependencies":{"brittle":"3.2.1","standard":"17.0.0","typescript":"5.0.4","@types/node":"18.16.0","@types/node-fetch":"2.6.4"},"_npmOperationalInternal":{"tmp":"tmp/web-relay_1.0.3_1695606970791_0.6281747870589542","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@synonymdev/web-relay","version":"1.0.4","license":"MIT","_id":"@synonymdev/web-relay@1.0.4","maintainers":[{"name":"pwltr","email":"philippwalter@pm.me"},{"name":"miguelmedeirosweb","email":"miguel@miguelmedeiros.com.br"},{"name":"rbndg","email":"rbandegi@gmail.com"},{"name":"bitcoinerrorlog","email":"john@synonym.to"},{"name":"jayvdb","email":"jayvdb1@gmail.com"},{"name":"coreyphillips","email":"corey.lyle.phillips@gmail.com"},{"name":"nzh","email":"ar.nazeh@gmail.com"}],"dist":{"shasum":"68d9254a32f2a462a68e4a3113c2081f39747863","tarball":"https://registry.npmjs.org/@synonymdev/web-relay/-/web-relay-1.0.4.tgz","fileCount":50,"integrity":"sha512-Y0RSW/SP8fnUw2az9kWKSKsWiMvbqidTo0Y4zo9GStSnh0C/MQLa4nAq0f0QhCMjGIIGXxePkOGyC9l3iwEJ1A==","signatures":[{"sig":"MEUCIQCihaoKzcVp5R0MUkvlw5v93hZuMu2FfLmeiucfXa+gjQIgCR9QQzoYwccZsTa1OnyiqP3Ie+m7k/DVPdSvSZpI4HQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":75606},"main":"index.js","types":"types/index.d.ts","browser":{"./index.js":"./lib/client/index.js","./lib/client/fetch.js":"./lib/client/fetch-browser.js","./lib/client/eventsource.js":"./lib/client/eventsource-browser.js","./lib/client/xmlhttprequest":"./lib/client/xmlhttprequest-browser.js","./lib/client/default-storage.js":"./lib/client/default-storage-browser.js"},"gitHead":"430618377f3d9d67bb8e71936586d10fec19f528","scripts":{"lint":"standard --fix --ignore example/*","test":"brittle test/* -cov","build":"rm -rf types && tsc","start":"node ./bin.js","fullcheck":"npm run lint && npm shrinkwrap && npm run build && npm run test","web-relay":"node example/browser/relay.js","prepublishOnly":"npm run fullcheck"},"_npmUser":{"name":"rbndg","email":"rbandegi@gmail.com"},"_npmVersion":"9.6.6","description":"Slashtags Web Relay is a powerful abstraction library designed to simplify the management of data on Slashtags.","directories":{},"_nodeVersion":"19.3.0","dependencies":{"b4a":"1.6.4","lmdb":"2.8.4","level":"8.0.0","node-fetch":"2.6.12","prom-client":"14.2.0","git-repo-info":"^2.1.1","xmlhttprequest":"1.8.0","sodium-universal":"4.0.0","@synonymdev/slashtags-url":"^1.0.0"},"react-native":{"./index.js":"./lib/client/index.js","./lib/client/fetch.js":"./lib/client/fetch-browser.js","./lib/client/eventsource.js":"./lib/client/eventsource.js","./lib/client/xmlhttprequest":"./lib/client/xmlhttprequest-browser.js","./lib/client/default-storage.js":"./lib/client/default-storage-browser.js"},"_hasShrinkwrap":false,"devDependencies":{"brittle":"3.2.1","standard":"17.0.0","typescript":"5.0.4","@types/node":"18.16.0","@types/node-fetch":"2.6.4"},"_npmOperationalInternal":{"tmp":"tmp/web-relay_1.0.4_1696597232141_0.0757086549817354","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@synonymdev/web-relay","version":"1.0.5","license":"MIT","_id":"@synonymdev/web-relay@1.0.5","maintainers":[{"name":"pwltr","email":"philippwalter@pm.me"},{"name":"miguelmedeirosweb","email":"miguel@miguelmedeiros.com.br"},{"name":"rbndg","email":"rbandegi@gmail.com"},{"name":"bitcoinerrorlog","email":"john@synonym.to"},{"name":"jayvdb","email":"jayvdb1@gmail.com"},{"name":"coreyphillips","email":"corey.lyle.phillips@gmail.com"},{"name":"nzh","email":"ar.nazeh@gmail.com"}],"dist":{"shasum":"b6ab3ad7765bec006bc103f30bcd5867e9376113","tarball":"https://registry.npmjs.org/@synonymdev/web-relay/-/web-relay-1.0.5.tgz","fileCount":50,"integrity":"sha512-f8OS0QGl8eiyr6gQV5U7XMC3DR9QRfQft8G9MNly1yNFqs6LMyKPsVqgOweiGYCS6/hwZttc56Z8La4/zJmkAQ==","signatures":[{"sig":"MEYCIQCsa7EkX7+KOlrONBUCNc8rLDHlOAXPOdaJQEL3fgN2bgIhAJ7Q6bGG2ZcSEZUSQ73eTTb6AhWhrFJDF5Uzm14WULvj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":75850},"main":"index.js","types":"types/index.d.ts","browser":{"./index.js":"./lib/client/index.js","./lib/client/fetch.js":"./lib/client/fetch-browser.js","./lib/client/eventsource.js":"./lib/client/eventsource-browser.js","./lib/client/xmlhttprequest":"./lib/client/xmlhttprequest-browser.js","./lib/client/default-storage.js":"./lib/client/default-storage-browser.js"},"gitHead":"27f0dad6a94958b2b3943eeddafd7cf90d829a20","scripts":{"lint":"standard --fix --ignore example/*","test":"brittle test/* -cov","build":"rm -rf types && tsc","start":"node ./bin.js","fullcheck":"npm run lint && npm shrinkwrap && npm run build && npm run test","web-relay":"node example/browser/relay.js","prepublishOnly":"npm run fullcheck"},"_npmUser":{"name":"rbndg","email":"rbandegi@gmail.com"},"_npmVersion":"9.6.6","description":"Slashtags Web Relay is a powerful abstraction library designed to simplify the management of data on Slashtags.","directories":{},"_nodeVersion":"19.3.0","dependencies":{"b4a":"1.6.4","lmdb":"2.8.4","level":"8.0.0","node-fetch":"2.6.12","prom-client":"14.2.0","git-repo-info":"^2.1.1","xmlhttprequest":"1.8.0","sodium-universal":"4.0.0","@synonymdev/slashtags-url":"^1.0.0"},"react-native":{"./index.js":"./lib/client/index.js","./lib/client/fetch.js":"./lib/client/fetch-browser.js","./lib/client/eventsource.js":"./lib/client/eventsource.js","./lib/client/xmlhttprequest":"./lib/client/xmlhttprequest-browser.js","./lib/client/default-storage.js":"./lib/client/default-storage-browser.js"},"_hasShrinkwrap":false,"devDependencies":{"brittle":"3.2.1","standard":"17.0.0","typescript":"5.0.4","@types/node":"18.16.0","@types/node-fetch":"2.6.4"},"_npmOperationalInternal":{"tmp":"tmp/web-relay_1.0.5_1697117895997_0.8854273892872115","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"@synonymdev/web-relay","version":"1.0.6","license":"MIT","_id":"@synonymdev/web-relay@1.0.6","maintainers":[{"name":"pwltr","email":"philippwalter@pm.me"},{"name":"miguelmedeirosweb","email":"miguel@miguelmedeiros.com.br"},{"name":"rbndg","email":"rbandegi@gmail.com"},{"name":"bitcoinerrorlog","email":"john@synonym.to"},{"name":"jayvdb","email":"jayvdb1@gmail.com"},{"name":"coreyphillips","email":"corey.lyle.phillips@gmail.com"},{"name":"nzh","email":"ar.nazeh@gmail.com"}],"dist":{"shasum":"5a93c69235baca2703231154a73f4f3b052acecf","tarball":"https://registry.npmjs.org/@synonymdev/web-relay/-/web-relay-1.0.6.tgz","fileCount":50,"integrity":"sha512-L1crEDNkO3HtAlbbjx7Bh0alSU1QDiS35klI4XXEGjG9fARE9+EBZUrhUnmP7hYAH4Pis6ULr2dKcSfTuc6tqw==","signatures":[{"sig":"MEQCIHT/+VsoEDJjB1yaiuxQqKmzPfa7Rik5Dtlp1e2xHWRTAiAF6KFtSgiE34Ku2e2pjH1sdLSZT4rnRYLxpWuW2hVgCQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":79302},"main":"index.js","types":"types/index.d.ts","browser":{"./index.js":"./lib/client/index.js","./lib/client/fetch.js":"./lib/client/fetch-browser.js","./lib/client/eventsource.js":"./lib/client/eventsource-browser.js","./lib/client/xmlhttprequest":"./lib/client/xmlhttprequest-browser.js","./lib/client/default-storage.js":"./lib/client/default-storage-browser.js"},"gitHead":"b04ed2716f40c84bb3340a61d342495464b05352","scripts":{"lint":"standard --fix --ignore example/*","test":"brittle test/* -cov","build":"rm -rf types && tsc","start":"node ./bin.js","fullcheck":"npm run lint && npm shrinkwrap && npm run build && npm run test","web-relay":"node example/browser/relay.js","prepublishOnly":"npm run fullcheck"},"_npmUser":{"name":"rbndg","email":"rbandegi@gmail.com"},"_npmVersion":"9.6.6","description":"Slashtags Web Relay is a powerful abstraction library designed to simplify the management of data on Slashtags.","directories":{},"_nodeVersion":"19.3.0","dependencies":{"b4a":"1.6.4","lmdb":"2.8.4","level":"8.0.0","node-fetch":"2.6.12","prom-client":"14.2.0","git-repo-info":"^2.1.1","xmlhttprequest":"1.8.0","sodium-universal":"4.0.0","@synonymdev/slashtags-url":"^1.0.0"},"react-native":{"./index.js":"./lib/client/index.js","./lib/client/fetch.js":"./lib/client/fetch-browser.js","./lib/client/eventsource.js":"./lib/client/eventsource.js","./lib/client/xmlhttprequest":"./lib/client/xmlhttprequest-browser.js","./lib/client/default-storage.js":"./lib/client/default-storage-browser.js"},"_hasShrinkwrap":false,"devDependencies":{"brittle":"3.2.1","standard":"17.0.0","typescript":"5.0.4","@types/node":"18.16.0","@types/node-fetch":"2.6.4"},"_npmOperationalInternal":{"tmp":"tmp/web-relay_1.0.6_1698940342643_0.9211820788254732","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"@synonymdev/web-relay","version":"1.0.7","license":"MIT","_id":"@synonymdev/web-relay@1.0.7","maintainers":[{"name":"dzdidi_restored","email":"deniszalessky@gmail.com"},{"name":"pwltr","email":"philippwalter@pm.me"},{"name":"miguelmedeirosweb","email":"miguel@miguelmedeiros.com.br"},{"name":"rbndg","email":"rbandegi@gmail.com"},{"name":"bitcoinerrorlog","email":"john@synonym.to"},{"name":"jayvdb","email":"jayvdb1@gmail.com"},{"name":"coreyphillips","email":"corey.lyle.phillips@gmail.com"},{"name":"nzh","email":"ar.nazeh@gmail.com"}],"dist":{"shasum":"3e206f6936a4167b5c4c791b6914c77ed9500e23","tarball":"https://registry.npmjs.org/@synonymdev/web-relay/-/web-relay-1.0.7.tgz","fileCount":50,"integrity":"sha512-ePofwwvj8akyavxiML4gtbwmkmOEXRbJI5vyHmBzRi7j3F25qCV+l0dt1GOJpzhuEhkyYU2j8q0wHIgLffcIDg==","signatures":[{"sig":"MEQCIFQWthhbjDyOG84iN8mB+3nn+yloaQoogGSagTFIVzllAiBrfh5hbb4e/gBVc9DFM1NNkuo90oO0G7AWjiwbe3L8bQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":79308},"main":"index.js","types":"types/index.d.ts","browser":{"./index.js":"./lib/client/index.js","./lib/client/fetch.js":"./lib/client/fetch-browser.js","./lib/client/eventsource.js":"./lib/client/eventsource-browser.js","./lib/client/xmlhttprequest.js":"./lib/client/xmlhttprequest-browser.js","./lib/client/default-storage.js":"./lib/client/default-storage-browser.js"},"gitHead":"7845497a995bfd59ca578f6f12586358fd2c8632","scripts":{"lint":"standard --fix --ignore example/*","test":"brittle test/* -cov","build":"rm -rf types && tsc","start":"node ./bin.js","fullcheck":"npm run lint && npm shrinkwrap && npm run build && npm run test","web-relay":"node example/browser/relay.js","prepublishOnly":"npm run fullcheck"},"_npmUser":{"name":"rbndg","email":"rbandegi@gmail.com"},"_npmVersion":"9.6.6","description":"Slashtags Web Relay is a powerful abstraction library designed to simplify the management of data on Slashtags.","directories":{},"_nodeVersion":"19.3.0","dependencies":{"b4a":"1.6.4","lmdb":"2.8.4","level":"8.0.0","node-fetch":"2.6.12","prom-client":"14.2.0","git-repo-info":"^2.1.1","xmlhttprequest":"1.8.0","sodium-universal":"4.0.0","@synonymdev/slashtags-url":"^1.0.0"},"react-native":{"./index.js":"./lib/client/index.js","./lib/client/fetch.js":"./lib/client/fetch-browser.js","./lib/client/eventsource.js":"./lib/client/eventsource.js","./lib/client/xmlhttprequest.js":"./lib/client/xmlhttprequest-browser.js","./lib/client/default-storage.js":"./lib/client/default-storage-browser.js"},"_hasShrinkwrap":false,"devDependencies":{"brittle":"3.2.1","standard":"17.0.0","typescript":"5.0.4","@types/node":"18.16.0","@types/node-fetch":"2.6.4"},"_npmOperationalInternal":{"tmp":"tmp/web-relay_1.0.7_1701081673212_0.0687063706058757","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"@synonymdev/web-relay","version":"1.0.8","license":"MIT","_id":"@synonymdev/web-relay@1.0.8","maintainers":[{"name":"dzdidi_restored","email":"deniszalessky@gmail.com"},{"name":"pwltr","email":"philippwalter@pm.me"},{"name":"miguelmedeirosweb","email":"miguel@miguelmedeiros.com.br"},{"name":"rbndg","email":"rbandegi@gmail.com"},{"name":"bitcoinerrorlog","email":"john@synonym.to"},{"name":"jayvdb","email":"jayvdb1@gmail.com"},{"name":"coreyphillips","email":"corey.lyle.phillips@gmail.com"},{"name":"nzh","email":"ar.nazeh@gmail.com"}],"dist":{"shasum":"592cd8f34044db591da09b82d6f786ce53131861","tarball":"https://registry.npmjs.org/@synonymdev/web-relay/-/web-relay-1.0.8.tgz","fileCount":51,"integrity":"sha512-8Naj2iQljE+JLrSufT/pz49vQE1vzEOUd7PzTphkrJPrSnZ7qHj8juqcNpS88kZIO0wbXoTFIWTSzLCcSX1Fgw==","signatures":[{"sig":"MEYCIQDw98XqG3iEssAFXBurPwSGs0UF7YfEHTXGrvK1G/bBMQIhAMAfrtALKcfa/dTVGGmbyOBSnKFtSL0etlB8HXFHd74+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":240437},"main":"index.js","types":"types/index.d.ts","browser":{"./index.js":"./lib/client/index.js","./lib/client/fetch.js":"./lib/client/fetch-browser.js","./lib/client/eventsource.js":"./lib/client/eventsource-browser.js","./lib/client/xmlhttprequest.js":"./lib/client/xmlhttprequest-browser.js","./lib/client/default-storage.js":"./lib/client/default-storage-browser.js"},"gitHead":"e4d1b511cbd0e80ea98eb00699be2194a88950d5","scripts":{"lint":"standard --fix --ignore example/*","test":"brittle test/* -cov","build":"rm -rf types && tsc","start":"node ./bin.js","fullcheck":"npm run lint && npm shrinkwrap && npm run build && npm run test","web-relay":"node example/browser/relay.js","prepublishOnly":"npm run fullcheck"},"_npmUser":{"name":"dzdidi_restored","email":"deniszalessky@gmail.com"},"_npmVersion":"8.19.2","description":"Slashtags Web Relay is a powerful abstraction library designed to simplify the management of data on Slashtags.","directories":{},"_nodeVersion":"18.12.1","dependencies":{"b4a":"1.6.4","lmdb":"2.8.4","level":"8.0.0","node-fetch":"2.6.12","prom-client":"14.2.0","git-repo-info":"^2.1.1","xmlhttprequest":"1.8.0","sodium-universal":"4.0.0","@synonymdev/slashtags-url":"^1.0.0"},"react-native":{"./index.js":"./lib/client/index.js","./lib/client/fetch.js":"./lib/client/fetch-browser.js","./lib/client/eventsource.js":"./lib/client/eventsource.js","./lib/client/xmlhttprequest.js":"./lib/client/xmlhttprequest-browser.js","./lib/client/default-storage.js":"./lib/client/default-storage-browser.js"},"_hasShrinkwrap":true,"devDependencies":{"brittle":"3.2.1","standard":"17.0.0","typescript":"5.0.4","@types/node":"18.16.0","@types/node-fetch":"2.6.4"},"_npmOperationalInternal":{"tmp":"tmp/web-relay_1.0.8_1702042640159_0.35076007975685486","host":"s3://npm-registry-packages"}},"1.0.9":{"name":"@synonymdev/web-relay","version":"1.0.9","license":"MIT","_id":"@synonymdev/web-relay@1.0.9","maintainers":[{"name":"dzdidi_restored","email":"deniszalessky@gmail.com"},{"name":"pwltr","email":"philippwalter@pm.me"},{"name":"miguelmedeirosweb","email":"miguel@miguelmedeiros.com.br"},{"name":"rbndg","email":"rbandegi@gmail.com"},{"name":"bitcoinerrorlog","email":"john@synonym.to"},{"name":"jayvdb","email":"jayvdb1@gmail.com"},{"name":"coreyphillips","email":"corey.lyle.phillips@gmail.com"},{"name":"nzh","email":"ar.nazeh@gmail.com"}],"dist":{"shasum":"fbe3a52ee06e7531eb409dd10ff10ccebbd7540c","tarball":"https://registry.npmjs.org/@synonymdev/web-relay/-/web-relay-1.0.9.tgz","fileCount":51,"integrity":"sha512-aQqmaf6oeTNHdRQCRBNRinpSWE1GOwHn+p/hplBzaQfOGpY/H6RhEE/qc+yq44vs/UN15biWY76hFWd3SihCyw==","signatures":[{"sig":"MEUCIC5pjVpYXfwzgUeMHpQsnUhezMYIO8qQwvMmUZK6cJOuAiEApWbaDuNoZkXDQpp6efHrjrTF0BJ6WD0aQLnoyuiWqXQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":240437},"main":"index.js","types":"types/index.d.ts","browser":{"./index.js":"./lib/client/index.js","./lib/client/fetch.js":"./lib/client/fetch-browser.js","./lib/client/eventsource.js":"./lib/client/eventsource-browser.js","./lib/client/xmlhttprequest.js":"./lib/client/xmlhttprequest-browser.js","./lib/client/default-storage.js":"./lib/client/default-storage-browser.js"},"gitHead":"37c92dc35f9aa04b9e0041a6e063d64f757fd331","scripts":{"lint":"standard --fix --ignore example/*","test":"brittle test/* -cov","build":"rm -rf types && tsc","start":"node ./bin.js","fullcheck":"npm run lint && npm shrinkwrap && npm run build && npm run test","web-relay":"node example/browser/relay.js","prepublishOnly":"npm run fullcheck"},"_npmUser":{"name":"dzdidi_restored","email":"deniszalessky@gmail.com"},"_npmVersion":"8.19.2","description":"Slashtags Web Relay is a powerful abstraction library designed to simplify the management of data on Slashtags.","directories":{},"_nodeVersion":"18.12.1","dependencies":{"b4a":"1.6.4","lmdb":"2.8.4","level":"8.0.0","node-fetch":"2.6.12","prom-client":"14.2.0","git-repo-info":"^2.1.1","xmlhttprequest":"1.8.0","sodium-universal":"4.0.0","@synonymdev/slashtags-url":"^1.0.0"},"react-native":{"./index.js":"./lib/client/index.js","./lib/client/fetch.js":"./lib/client/fetch-browser.js","./lib/client/eventsource.js":"./lib/client/eventsource.js","./lib/client/xmlhttprequest.js":"./lib/client/xmlhttprequest-browser.js","./lib/client/default-storage.js":"./lib/client/default-storage-browser.js"},"_hasShrinkwrap":true,"devDependencies":{"brittle":"3.2.1","standard":"17.0.0","typescript":"5.0.4","@types/node":"18.16.0","@types/node-fetch":"2.6.4"},"_npmOperationalInternal":{"tmp":"tmp/web-relay_1.0.9_1702048073823_0.440299877967093","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-07-24T08:55:36.465Z","modified":"2026-09-07T09:46:13.558Z","0.1.0":"2023-07-24T08:55:36.633Z","0.2.0":"2023-08-02T07:05:10.519Z","1.0.0":"2023-09-05T03:39:30.513Z","1.0.1":"2023-09-11T06:10:55.154Z","1.0.2":"2023-09-12T06:23:25.279Z","1.0.3":"2023-09-25T01:56:11.006Z","1.0.4":"2023-10-06T13:00:32.409Z","1.0.5":"2023-10-12T13:38:16.190Z","1.0.6":"2023-11-02T15:52:22.876Z","1.0.7":"2023-11-27T10:41:13.444Z","1.0.8":"2023-12-08T13:37:20.400Z","1.0.9":"2023-12-08T15:07:54.102Z"},"license":"MIT","description":"Slashtags Web Relay is a powerful abstraction library designed to simplify the management of data on Slashtags.","maintainers":[{"email":"pavel@synonym.to","name":"thisispav"},{"email":"john@synonym.to","name":"bitcoinerrorlog"},{"email":"corey.lyle.phillips@gmail.com","name":"coreyphillips"},{"email":"philippwalter@pm.me","name":"pwltr"},{"email":"deniszalessky@gmail.com","name":"dzdidi_restored"},{"email":"octrif@gmail.com","name":"ovitrif"},{"email":"crequena2@gmail.com","name":"shacollision"},{"email":"jamesbrowning91@gmail.com","name":"catch-21"},{"email":"oier@synonym.to","name":"tipogi"},{"email":"andrei@synonym.to","name":"andrei-synonym"},{"email":"tomos@synonym.to","name":"86667-tomos"},{"email":"jayvdb1@gmail.com","name":"jayvdb"},{"email":"sevi_buehler@hotmail.com","name":"sebubu"}],"readme":"# Slashtags Web Relay\n\nSlashtags Web Relay is a powerful abstraction library designed to simplify the management of data on Slashtags.\n\n## 📦 Installation\n\nTo install the package, use the following npm command:\n\n```bash\nnpm install @synonymdev/web-relay\n```\n\n## 🚀 Getting Started\n\n### 1. Running the Relay\n\nCopy and customize the configuration file.\n\n```bash\ncp config/config.example.json config/config.json\n```\n\nRun `npm start` or use [pm2](https://pm2.keymetrics.io/) `pm2 start ecosystem.config.json`\n\nSetup proxy:\n\nWeb-relay uses [Server-sent Events](https://html.spec.whatwg.org/#server-sent-events) to subscribe for updates, which needs HTTP/2 to work best (especially in browsers).\n\nIf you are using Nginx, consider using the following configuration:\n\n```\n  location <path here> {\n    proxy_pass <relay host:port here>;\n    proxy_http_version 1.1;\n    proxy_set_header Connection '';\n    chunked_transfer_encoding off;\n    proxy_buffering off;\n    proxy_cache off;\n  }\n```\n### 2. Interacting via the Client\n\n```js\nconst { Client } = require(\"@synonymdev/web-relay/client\");\n\nconst alice = new Client({ relay: \"http://localhost:3000\" });\n\n(async () => {\n  const url = await alice.createURL(\"/foo\");\n  console.log(\"Generated URL:\", url);\n\n  await alice.put(\"/foo\", Buffer.from(\"bar\"));\n  const saved = await alice.get(\"/foo\");\n  console.log(\"Saved Data:\", saved.toString());\n\n  const bob = new Client();\n  const resolved = await bob.get(url);\n  console.log(\"Resolved Data:\", resolved.toString());\n})();\n```\n\n---\n\n## 📚 API Documentation\n\n### Table of Contents\n\n- [Initialize a Client](#initialize-a-client)\n- [Access the Client's URL](#access-the-clients-url)\n- [Generate a Slashtags URL](#generate-a-slashtags-url)\n- [Create or Update a File](#create-or-update-a-file)\n- [Delete a File](#delete-a-file)\n- [Retrieve Data](#retrieve-data)\n- [Monitor Updates to a File](#monitor-updates-to-a-file)\n- [Terminate Subscriptions and Close the Client](#terminate-subscriptions-and-close-the-client)\n\n---\n\n### Initialize a Client\n\n```js\nconst client = new Client({\n  keyPair: { secretKey: Uint8Array, publicKey: Uint8Array },\n  relay: \"http://your-relay-address.com\",\n  storage: \"./path/to/storage\",\n});\n```\n\n### Access the Client's URL\n\n```js\nconsole.log(client.url); // Outputs: slash:<client.id>/[?relay=<relay address>]\n```\n\n### Generate a Slashtags URL\n\n```js\nconst myURL = await client.createURL(\"/examplePath\");\nconsole.log(myURL); // Outputs: Generated Slashtags URL\n```\n\n### Create or Update a File\n\n```js\nconst options = {\n  encrypted: true,\n  awaitRelaySync: true,\n};\nawait client.put(\"/examplePath\", Buffer.from(\"Hello World\"), options);\n```\n\n### Delete a File\n\n```js\nconst deleteOptions = {\n  awaitRelaySync: true,\n};\nawait client.del(\"/examplePath\", deleteOptions);\n```\n\n### Retrieve Data\n\n```js\nconst getOptions = {\n  skipCache: false, // Set to `true` to Skip the local cache and wait for the remote relay to respond with fresh data.\n};\nconst data = await client.get(myURL, getOptions);\nconsole.log(data); // Outputs: Retrieved data\n```\n\n### Monitor Updates to a File\n\n```js\nconst onupdate = (value) => {\n  console.log(\"Updated Value:\", value);\n};\nconst unsubscribe = coreData.subscribe(myURL, onupdate);\n// To stop monitoring:\n// unsubscribe();\n```\n\n### Terminate Subscriptions and Close the Client\n\n```js\nawait client.close();\n```\n","readmeFilename":"README.md"}