An adaptation for npm version of pocketbase js sdk with injected EventSource
Note that npm version of sdk is not locked in this repo, so it can be updated at any time by developers of pocketbase.
import Pocketbase from 'https://deno.land/x/pocketbase/mod.ts'
const pb = new Pocketbase('http://127.0.0.1:8090')