Update dashboard, kb, memory +4 more (+28 ~18 -1)

This commit is contained in:
Echo
2026-02-06 14:25:10 +00:00
parent 7f64d5054a
commit 19d178268a
6767 changed files with 1346472 additions and 1282 deletions

19
node_modules/@exodus/bytes/hex.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
import { assertUint8 } from './assert.js'
import { typedView } from './array.js'
import { skipWeb } from './fallback/_utils.js'
import * as js from './fallback/hex.js'
const { toHex: webHex } = Uint8Array.prototype // Modern engines have this
export function toHex(arr) {
assertUint8(arr)
if (arr.length === 0) return ''
if (!skipWeb && webHex && arr.toHex === webHex) return arr.toHex()
return js.toHex(arr)
}
// Unlike Buffer.from(), throws on invalid input
export const fromHex =
!skipWeb && Uint8Array.fromHex
? (str, format = 'uint8') => typedView(Uint8Array.fromHex(str), format)
: (str, format = 'uint8') => typedView(js.fromHex(str), format)