Skip to content

Commit

Permalink
Merge pull request #22 from eruptionjs/pr/raisiqueira/20-2
Browse files Browse the repository at this point in the history
chore(core): updated mockServiceWorker public file for MSW
  • Loading branch information
devmozao authored Jan 14, 2023
2 parents 3e27afe + 625c1ce commit ed6b3db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public/mockServiceWorker.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
/* tslint:disable */

/**
* Mock Service Worker (0.46.0).
* Mock Service Worker (0.49.2).
* @see https://github.com/mswjs/msw
* - Please do NOT modify this file.
* - Please do NOT serve this file on production.
*/

const INTEGRITY_CHECKSUM = 'b3066ef78c2f9090b4ce87e874965995'
const INTEGRITY_CHECKSUM = '3d6b9f06410d179a7f7404d4bf4c3c70'
const activeClientIds = new Set()

self.addEventListener('install', function () {
Expand Down Expand Up @@ -174,7 +174,7 @@ async function handleRequest(event, requestId) {
async function resolveMainClient(event) {
const client = await self.clients.get(event.clientId)

if (client.frameType === 'top-level') {
if (client?.frameType === 'top-level') {
return client
}

Expand Down

0 comments on commit ed6b3db

Please sign in to comment.