-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WEB-4082] 14.9.0 - Adopt TW theming, real SB dark mode, add TS declarations for scripts #546
Changes from all commits
85b676c
a97e2dd
b6224b6
634539a
1e9e54e
4cf104c
fad769c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,8 +8,8 @@ | |
* - Please do NOT serve this file on production. | ||
*/ | ||
|
||
const PACKAGE_VERSION = '2.3.4' | ||
const INTEGRITY_CHECKSUM = '26357c79639bfa20d64c0efca2a87423' | ||
const PACKAGE_VERSION = '2.6.1' | ||
const INTEGRITY_CHECKSUM = '07a8241b182f8a246a7cd39894799a9e' | ||
const IS_MOCKED_RESPONSE = Symbol('isMockedResponse') | ||
const activeClientIds = new Set() | ||
|
||
|
@@ -62,7 +62,12 @@ self.addEventListener('message', async function (event) { | |
|
||
sendToClient(client, { | ||
type: 'MOCKING_ENABLED', | ||
payload: true, | ||
payload: { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. my IDE is suggesting a warning: " There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wouldnt worry about this file too much, it's an auto-generated asset from |
||
client: { | ||
id: client.id, | ||
frameType: client.frameType, | ||
}, | ||
}, | ||
}) | ||
break | ||
} | ||
|
@@ -155,6 +160,10 @@ async function handleRequest(event, requestId) { | |
async function resolveMainClient(event) { | ||
const client = await self.clients.get(event.clientId) | ||
|
||
if (activeClientIds.has(event.clientId)) { | ||
return client | ||
} | ||
|
||
if (client?.frameType === 'top-level') { | ||
return client | ||
} | ||
|
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😍