From 03922df0fd00ec9129e08b027d260bdd727499dd Mon Sep 17 00:00:00 2001 From: Kris Kowal Date: Mon, 21 Oct 2024 15:16:22 -0700 Subject: [PATCH] docs(ses): Missing lockdown in Compartment doc Per https://github.com/endojs/endo/issues/1281#issuecomment-2418717060 --- packages/ses/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/ses/README.md b/packages/ses/README.md index 9bbb736142..59b27bc2d2 100644 --- a/packages/ses/README.md +++ b/packages/ses/README.md @@ -168,6 +168,8 @@ function on `globalThis`. ```js import 'ses'; +lockdown(); + const c = new Compartment({ globals: { print: harden(console.log),