From 56be9b94022a7493ca830e680fca429fee2d013e Mon Sep 17 00:00:00 2001 From: Cafe137 <77121044+Cafe137@users.noreply.github.com> Date: Tue, 28 Nov 2023 20:49:26 +0100 Subject: [PATCH] chore: expose utilities (#889) --- src/index.ts | 1 + src/utils/expose.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/index.ts b/src/index.ts index 284092f7..db098cf0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -17,6 +17,7 @@ declare global { Utils: typeof import('./utils/expose') BeeError: typeof import('./utils/error').BeeError BeeArgumentError: typeof import('./utils/error').BeeArgumentError + BeeResponseError: typeof import('./utils/error').BeeResponseError } } } diff --git a/src/utils/expose.ts b/src/utils/expose.ts index 905d44cd..c8534923 100644 --- a/src/utils/expose.ts +++ b/src/utils/expose.ts @@ -49,6 +49,8 @@ export { keccak256Hash } from './hash' export { makeMaxTarget } from './pss' export { + getAmountForTtl, + getDepthForCapacity, getStampCostInBzz, getStampCostInPlur, getStampMaximumCapacityBytes,