From aef27db737a80ffbc9f59572fabea72d341ab859 Mon Sep 17 00:00:00 2001 From: PeterYinusa Date: Wed, 19 Apr 2023 16:24:47 +0100 Subject: [PATCH] update policies --- lavamoat/browserify/beta/policy.json | 10 ++++++---- lavamoat/browserify/desktop/policy.json | 10 ++++++---- lavamoat/browserify/flask/policy.json | 10 ++++++---- lavamoat/browserify/main/policy.json | 10 ++++++---- 4 files changed, 24 insertions(+), 16 deletions(-) diff --git a/lavamoat/browserify/beta/policy.json b/lavamoat/browserify/beta/policy.json index dd174c63d..8121d1bc5 100644 --- a/lavamoat/browserify/beta/policy.json +++ b/lavamoat/browserify/beta/policy.json @@ -695,15 +695,17 @@ } }, "@metamask/approval-controller": { - "globals": { - "console.log": true - }, "packages": { + "@metamask/approval-controller>@metamask/base-controller": true, "@metamask/approval-controller>nanoid": true, - "@metamask/base-controller": true, "eth-rpc-errors": true } }, + "@metamask/approval-controller>@metamask/base-controller": { + "packages": { + "immer": true + } + }, "@metamask/approval-controller>nanoid": { "globals": { "crypto.getRandomValues": true diff --git a/lavamoat/browserify/desktop/policy.json b/lavamoat/browserify/desktop/policy.json index fa9312ae5..ca2baa46b 100644 --- a/lavamoat/browserify/desktop/policy.json +++ b/lavamoat/browserify/desktop/policy.json @@ -695,15 +695,17 @@ } }, "@metamask/approval-controller": { - "globals": { - "console.log": true - }, "packages": { + "@metamask/approval-controller>@metamask/base-controller": true, "@metamask/approval-controller>nanoid": true, - "@metamask/base-controller": true, "eth-rpc-errors": true } }, + "@metamask/approval-controller>@metamask/base-controller": { + "packages": { + "immer": true + } + }, "@metamask/approval-controller>nanoid": { "globals": { "crypto.getRandomValues": true diff --git a/lavamoat/browserify/flask/policy.json b/lavamoat/browserify/flask/policy.json index fa9312ae5..ca2baa46b 100644 --- a/lavamoat/browserify/flask/policy.json +++ b/lavamoat/browserify/flask/policy.json @@ -695,15 +695,17 @@ } }, "@metamask/approval-controller": { - "globals": { - "console.log": true - }, "packages": { + "@metamask/approval-controller>@metamask/base-controller": true, "@metamask/approval-controller>nanoid": true, - "@metamask/base-controller": true, "eth-rpc-errors": true } }, + "@metamask/approval-controller>@metamask/base-controller": { + "packages": { + "immer": true + } + }, "@metamask/approval-controller>nanoid": { "globals": { "crypto.getRandomValues": true diff --git a/lavamoat/browserify/main/policy.json b/lavamoat/browserify/main/policy.json index dd174c63d..8121d1bc5 100644 --- a/lavamoat/browserify/main/policy.json +++ b/lavamoat/browserify/main/policy.json @@ -695,15 +695,17 @@ } }, "@metamask/approval-controller": { - "globals": { - "console.log": true - }, "packages": { + "@metamask/approval-controller>@metamask/base-controller": true, "@metamask/approval-controller>nanoid": true, - "@metamask/base-controller": true, "eth-rpc-errors": true } }, + "@metamask/approval-controller>@metamask/base-controller": { + "packages": { + "immer": true + } + }, "@metamask/approval-controller>nanoid": { "globals": { "crypto.getRandomValues": true