From f138f45e7850f097516086abe8d76f17800fe6e5 Mon Sep 17 00:00:00 2001 From: Fernando Gonzalez Goncharov Date: Fri, 13 Dec 2024 12:44:09 +0200 Subject: [PATCH] feat(codecs): re-export directly from the package --- packages/codecs/index.ts | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/packages/codecs/index.ts b/packages/codecs/index.ts index 6211a93412..dbca852d88 100644 --- a/packages/codecs/index.ts +++ b/packages/codecs/index.ts @@ -1,20 +1,10 @@ -import { decode as base64Decode, encode as base64Encode } from "@stablelib/base64"; -import { writeUint16BE as binaryWriteUint16BE } from "@stablelib/binary"; -import { concat as bytesConcat } from "@stablelib/bytes"; -import { decode as hexDecode, encode as hexEncode } from "@stablelib/hex"; -import { hash as sha256Hash } from "@stablelib/sha256"; -import { decode as utf8Decode, encode as utf8Encode } from "@stablelib/utf8"; -import { serialize as borshSerialize } from "borsh"; - -export { - base64Decode, - base64Encode, - binaryWriteUint16BE, - borshSerialize, - bytesConcat, - hexDecode, - hexEncode, - sha256Hash, - utf8Decode, - utf8Encode, -}; +export { decode as base64Decode } from "@stablelib/base64"; +export { encode as base64Encode } from "@stablelib/base64"; +export { writeUint16BE as binaryWriteUint16BE } from "@stablelib/binary"; +export { concat as bytesConcat } from "@stablelib/bytes"; +export { decode as hexDecode } from "@stablelib/hex"; +export { encode as hexEncode } from "@stablelib/hex"; +export { hash as sha256Hash } from "@stablelib/sha256"; +export { decode as utf8Decode } from "@stablelib/utf8"; +export { encode as utf8Encode } from "@stablelib/utf8"; +export { serialize as borshSerialize } from "borsh";