Skip to content

Commit 5c41495

Browse files
authored
chore!: Remove web worker execution service and environment (#3371)
This is a redo of #3357, which was reverted in #3359 to avoid two breaking changes in a row. Now that #3322 is merged, we can do this again. The original PR description can be found below. --- This removes the web worker execution service and execution environment, as they were unused. We can revert this PR in the future to add them again, if needed. ## Breaking changes ### `@metamask/snaps-controllers` - Remove web worker execution service. ### `@metamask/snaps-execution-environments` - Remove web worker pool execution environment. - Remove web worker executor execution environment.
1 parent 1d36a99 commit 5c41495

18 files changed

Lines changed: 8 additions & 1026 deletions
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"branches": 93.54,
3-
"functions": 97.38,
4-
"lines": 98.34,
5-
"statements": 98.08
2+
"branches": 93.51,
3+
"functions": 97.36,
4+
"lines": 98.33,
5+
"statements": 98.17
66
}

packages/snaps-controllers/src/services/browser.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ describe('browser entrypoint', () => {
66
'setupMultiplex',
77
'IframeExecutionService',
88
'OffscreenExecutionService',
9-
'WebWorkerExecutionService',
109
'ProxyPostMessageStream',
1110
'WebViewExecutionService',
1211
'WebViewMessageStream',

packages/snaps-controllers/src/services/browser.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ export * from './ProxyPostMessageStream';
55
export * from './iframe';
66
export * from './offscreen';
77
export * from './webview';
8-
export { WebWorkerExecutionService } from './webworker';

packages/snaps-controllers/src/services/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ export type * from './ExecutionService';
33
export * from './ProxyPostMessageStream';
44
export * from './iframe';
55
export * from './offscreen';
6-
export { WebWorkerExecutionService } from './webworker';

packages/snaps-controllers/src/services/webworker/WebWorkerExecutionService.test.browser.ts

Lines changed: 0 additions & 226 deletions
This file was deleted.

packages/snaps-controllers/src/services/webworker/WebWorkerExecutionService.ts

Lines changed: 0 additions & 122 deletions
This file was deleted.

packages/snaps-controllers/src/services/webworker/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)