Skip to content

v1.1.0

Compare
Choose a tag to compare
@mhillerstrom mhillerstrom released this 30 Jul 14:43
· 44 commits to main since this release
d2d093b
Fix react (#50)

* Bump @types/mocha from 8.2.3 to 9.0.0
* Bump sift from 13.5.4 to 14.0.2
* Removed inclusion of localStorage **breaking**

__*** Breaking change ***__
Clients will no longer try to automatically supply a valid `localStorage` as this ruins pre-compiled clients (eg. React). If you still want to use the client eg. for a "slave" server, then you need to include something like:

```js
let LocalStorage = require('node-localstorage').LocalStorage;
global.localStorage = new LocalStorage('./.scratch');
```
before requiring the @feathersjs-offline/client module.