diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 61a8eca..854db45 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@api.global/typedserver', - version: '3.0.41', + version: '3.0.42', description: 'A TypeScript-based project for easy serving of static files with support for live reloading, compression, and typed requests.' } diff --git a/ts_web_serviceworker/index.ts b/ts_web_serviceworker/index.ts index 3d7502e..5054e5d 100644 --- a/ts_web_serviceworker/index.ts +++ b/ts_web_serviceworker/index.ts @@ -4,7 +4,7 @@ declare var self: env.ServiceWindow; import { ServiceWorker } from './serviceworker.classes.serviceworker.js'; -export const getServiceWorkerInstance = () => { +export const getServiceWorkerInstance = async () => { const sw = new ServiceWorker(self); return sw; }