From e3322a6b8a7aca5ed05085ee7a6b79d770d8c597 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Mon, 3 Aug 2026 07:35:44 -0700 Subject: [PATCH] Revert as const since it prevents usage of some array functions. --- src/lib/constants.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/constants.ts b/src/lib/constants.ts index 753d700..3729d89 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -24,7 +24,7 @@ export const SEED_LENGTH_BIP44 = 128 export const SEED_LENGTH_BLAKE2B = 64 export const XNO = 'Ó¾' -export const UNITS: Record = Object.freeze({ +export const UNITS = Object.freeze({ RAW: 0, RAI: 24, NYANO: 24, @@ -34,7 +34,7 @@ export const UNITS: Record = Object.freeze({ NANO: 30, KNANO: 33, MNANO: 36, -} as const) +}) export const SCHEMA = Object.freeze({ account_info: { @@ -77,4 +77,4 @@ export const SCHEMA = Object.freeze({ 'subtype', ], }, -} as const) +}) -- 2.52.0