From: Chris Duncan Date: Mon, 3 Aug 2026 14:35:44 +0000 (-0700) Subject: Revert as const since it prevents usage of some array functions. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=e3322a6b8a7aca5ed05085ee7a6b79d770d8c597;p=libnemo.git Revert as const since it prevents usage of some array functions. --- 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) +})