import { SERVICE_WORKER_ID } from "../../config/index.js";
export function getServiceWorkerId() {
    if (typeof self !== "undefined") {
        if (self.registration?.durable) {
            return self.registration.durable.serviceWorkerId;
        }
    }
    return SERVICE_WORKER_ID;
}
//# sourceMappingURL=service-worker-config.js.map