Skip to content

Commit 9dbc1ec

Browse files
metamaskbotFrederikBolding
authored andcommitted
Update LavaMoat policies
1 parent e4b10df commit 9dbc1ec

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

packages/snaps-execution-environments/lavamoat/webpack/iframe/policy.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
},
8080
"@metamask/snaps-utils": {
8181
"globals": {
82+
"TextEncoder": true,
8283
"URL": true,
8384
"console.error": true,
8485
"console.log": true,

packages/snaps-execution-environments/lavamoat/webpack/node-process/policy.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
},
8686
"@metamask/snaps-utils": {
8787
"globals": {
88+
"TextEncoder": true,
8889
"URL": true,
8990
"console.error": true,
9091
"console.log": true,

packages/snaps-execution-environments/lavamoat/webpack/node-thread/policy.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
},
8686
"@metamask/snaps-utils": {
8787
"globals": {
88+
"TextEncoder": true,
8889
"URL": true,
8990
"console.error": true,
9091
"console.log": true,

packages/snaps-execution-environments/lavamoat/webpack/webview/policy.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
},
8080
"@metamask/snaps-utils": {
8181
"globals": {
82+
"TextEncoder": true,
8283
"URL": true,
8384
"console.error": true,
8485
"console.log": true,

0 commit comments

Comments
 (0)