yes on Nostr: for some unknown reason indexdb is overly complex for simply storing value and ...
for some unknown reason indexdb is overly complex for simply storing value and retrieving value
i implemented two functions for very straight forward usage, which should have been provided by native api, but no way. well here is the usage:
await save_data(data)
await get_data()
Published at
2024-02-21 11:21:51Event JSON
{
"id": "232d3c3fc308004c6f748555e183f97cd690981332e7005ec6f96dcb776c823d",
"pubkey": "fab7cc5ec427d98a107cbf5ec234d99c49ec585c52d681a409d7a1501b8d603e",
"created_at": 1708514511,
"kind": 1,
"tags": [
[
"e",
"b8f56128e1b3d182dc484c7d843f048ef36a96e53bca4d4c69c18365b7fae8c0",
"",
"root"
],
[
"p",
"fab7cc5ec427d98a107cbf5ec234d99c49ec585c52d681a409d7a1501b8d603e"
]
],
"content": "for some unknown reason indexdb is overly complex for simply storing value and retrieving value\n\ni implemented two functions for very straight forward usage, which should have been provided by native api, but no way. well here is the usage:\n\nawait save_data(data)\nawait get_data()\n",
"sig": "c5f80faa286019863991e94e6e17130f08b0f31eaf39d2276c7c8d25910bcdbcb60f6afb1fc560b9726adbcf3ba769292b467eb213ad2494fc4ac3dc8f5b95cf"
}