From 6006c70d2dbaa762ce147ce51cdfd43830f08796 Mon Sep 17 00:00:00 2001 From: Frank Hinek Date: Tue, 19 Mar 2024 16:58:20 -0700 Subject: [PATCH] Remove pkarr, sodium-universal and add bencode to CJS bundling (#451) Signed-off-by: Frank Hinek --- packages/dids/build/cjs-bundle.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/dids/build/cjs-bundle.js b/packages/dids/build/cjs-bundle.js index 42fb7a6f9..a79895a06 100644 --- a/packages/dids/build/cjs-bundle.js +++ b/packages/dids/build/cjs-bundle.js @@ -4,11 +4,11 @@ import packageJson from '../package.json' assert { type: 'json' }; // list of dependencies that _dont_ ship cjs const includeList = new Set([ '@decentralized-identity/ion-sdk', - 'pkarr' + 'bencode' ]); // create list of dependencies that we _do not_ want to include in our bundle -const excludeList = ['sodium-universal']; +const excludeList = []; for (const dependency in packageJson.dependencies) { if (includeList.has(dependency)) { continue;