From 3699fb48ed7bdaa55b0ea5ada73ad683ac4fcc74 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 14 Jul 2023 03:47:31 -0400 Subject: [PATCH] dep: update bls patch --- patches/@chainsafe+bls+7.1.1.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/patches/@chainsafe+bls+7.1.1.patch b/patches/@chainsafe+bls+7.1.1.patch index 93926fd..9ac65a4 100644 --- a/patches/@chainsafe+bls+7.1.1.patch +++ b/patches/@chainsafe+bls+7.1.1.patch @@ -1,3 +1,16 @@ +diff --git a/node_modules/@chainsafe/bls/lib/getImplementation.js b/node_modules/@chainsafe/bls/lib/getImplementation.js +index 9137cd4..ba8de8a 100644 +--- a/node_modules/@chainsafe/bls/lib/getImplementation.js ++++ b/node_modules/@chainsafe/bls/lib/getImplementation.js +@@ -3,7 +3,7 @@ const isNode = Object.prototype.toString.call(typeof process !== "undefined" ? p + export async function getImplementation(impl = "herumi") { + switch (impl) { + case "herumi": { +- return (await import("./herumi/index.js")).bls; ++ return (await import("./herumi/index.js")).bls(); + } + case "blst-native": + // Lazy import native bindings to prevent automatically importing binding.node files diff --git a/node_modules/@chainsafe/bls/lib/herumi/index.js b/node_modules/@chainsafe/bls/lib/herumi/index.js index 4ed8fdd..f979984 100644 --- a/node_modules/@chainsafe/bls/lib/herumi/index.js