From 8759569237668cbd4dcd419c29d9a2f472dbbe59 Mon Sep 17 00:00:00 2001 From: Nazar Hussain Date: Mon, 12 Feb 2024 17:06:35 +0100 Subject: [PATCH] Fix the build issue --- packages/beacon-node/src/eth1/provider/jwt.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/beacon-node/src/eth1/provider/jwt.ts b/packages/beacon-node/src/eth1/provider/jwt.ts index c00fb7eb77c2..da1fc1827cdd 100644 --- a/packages/beacon-node/src/eth1/provider/jwt.ts +++ b/packages/beacon-node/src/eth1/provider/jwt.ts @@ -1,6 +1,9 @@ import type {TAlgorithm} from "jwt-simple"; // TODO: fix jwt-simple types -import {encode, decode} from "jwt-simple"; +import jwt from "jwt-simple"; + +// eslint-disable-next-line import/no-named-as-default-member +const {encode, decode} = jwt; /** * jwt token has iat which is issued at unix timestamp, an optional exp for expiry,