Skip to content

Commit d03c138

Browse files
committed
fix(wallet-connection): add install-ses-lockdown.js
1 parent e22032b commit d03c138

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import 'ses/lockdown';
2+
import '@agoric/eventual-send/shim';
3+
4+
lockdown({
5+
__allowUnsafeMonkeyPatching__: 'unsafe',
6+
errorTaming: 'unsafe',
7+
overrideTaming: 'severe',
8+
});
9+
10+
// Even on non-v8, we tame the start compartment's Error constructor so
11+
// this assignment is not rejected, even if it does nothing.
12+
Error.stackTraceLimit = Infinity;

0 commit comments

Comments
 (0)