From f8a870f7bf3da73dff7b2be631e9d47ccb130626 Mon Sep 17 00:00:00 2001 From: Matej Voboril Date: Sat, 3 Feb 2024 22:29:44 -0600 Subject: [PATCH] fix: restore former constructor default w/ make --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 85afd221..a6296be8 100644 --- a/index.js +++ b/index.js @@ -12,7 +12,7 @@ export default class WorldstateEmitter extends EventEmitter { #twitter; #rss; - static async make({ locale = 'en' } = { locale: 'en' }) { + static async make({ locale } = { locale: undefined }) { const emitter = new WorldstateEmitter({ locale }); await emitter.#init(); return emitter;