bluzi / jsonstore

:rocket: jsonstore offers a free and secured JSON-based cloud datastore for small projects | Inactive
https://www.jsonstore.io/
MIT License
2.03k stars 75 forks source link

jsonstore.get is not a function #68

Closed PixelNinja132 closed 4 years ago

PixelNinja132 commented 4 years ago

After requiring jsonstore, then creating a new client, without error, when I use jsonstore, apparently, jsonstore.get is not a function along with all others except .delete which works.

PixelNinja132 commented 4 years ago
const jsonstoreclient = require('async-jsonstore-io')
const jsonstore = new jsonstoreclient('d126e786636caeb6f461335a0c2f6a938c082e763c87482f5a4ac8f55abf35b0')

jsonstore.get('1')

This returns that jsonstore.get is not a function

PixelNinja132 commented 4 years ago

Turns out that after a new update, get has been turned to fetch without and depreciation warnings. Sorry