Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.ServiceWorker.ServiceWorkerVersion
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { ServiceWorkerVersion } = default.ServiceWorker;

ServiceWorker version.

Properties

versionId: string
registrationId: RegistrationID
scriptURL: string
optional
scriptLastModified: number

The Last-Modified header value of the main script.

optional
scriptResponseTime: number

The time at which the response headers of the main script were received from the server. For cached script it is the last time the cache entry was validated.

optional
controlledClients: Target.TargetID[]
optional
targetId: Target.TargetID