fix(core): update

This commit is contained in:
Philipp Kunz 2024-05-25 02:34:43 +02:00
parent 108bcb41bf
commit dfcda87196
2 changed files with 4 additions and 4 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@api.global/typedserver',
version: '3.0.45',
version: '3.0.46',
description: 'A TypeScript-based project for easy serving of static files with support for live reloading, compression, and typed requests.'
}

View File

@ -17,8 +17,8 @@ export type {
ServiceworkerClient as LosslessServiceworker
}
export const getServiceWorker = async () => {
const losslessServiceWorkerInstance = await ServiceworkerClient.createServiceWorker(); // lets setup the service worker
export const getServiceworkerClient = async () => {
const swClient = await ServiceworkerClient.createServiceWorker(); // lets setup the service worker
logger.log('ok', 'service worker ready!'); // and wait for it to be ready
return losslessServiceWorkerInstance;
return swClient;
};