This is a **bug report**
## Problem
`localStorage` storage is not defined
![image](https://github.com/waku-org/js-waku/assets/118575614/e967f27b-41ce-4559-a1d9-0b0e0b182598)
## Proposed Solutions
https://github.com/waku-org/js-waku/blob/67582650217d65d4112ffd6e05f259cbe2207048/packages/discovery/src/local-peer-cache/index.ts#L139 should be protected the same way as https://github.com/waku-org/js-waku/blob/67582650217d65d4112ffd6e05f259cbe2207048/packages/discovery/src/local-peer-cache/index.ts#L127