From 0014e06c229319adfc0c00fccb16accd242985c6 Mon Sep 17 00:00:00 2001 From: Rodrigo Gomez Palacio Date: Wed, 18 Dec 2024 12:43:33 -0600 Subject: [PATCH] Add `serviceWorkerOverrideForTypical` to IInitObject interface Motivation: update interface after most recent native SDK change allowing the override of the service worker changes even in a typical setup. --- src/snippets/InitObject.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/snippets/InitObject.ts b/src/snippets/InitObject.ts index a66e480..5dafedf 100644 --- a/src/snippets/InitObject.ts +++ b/src/snippets/InitObject.ts @@ -11,10 +11,11 @@ interface IInitObject { autoRegister?: boolean; notificationClickHandlerMatch?: string; notificationClickHandlerAction?: string; + path?: string; serviceWorkerParam?: { scope: string }; serviceWorkerPath?: string; + serviceWorkerOverrideForTypical?: boolean; serviceWorkerUpdaterPath?: string; - path?: string; allowLocalhostAsSecureOrigin?: boolean; [key: string]: any; }