eslint: sort imports & exports
This commit is contained in:
@ -1,26 +1,28 @@
|
||||
import TZ from "../tz.json";
|
||||
import Nostrich from "@/assets/img/nostrich.webp";
|
||||
import * as secp from "@noble/curves/secp256k1";
|
||||
import * as utils from "@noble/curves/abstract/utils";
|
||||
import { sha256 as hash } from "@noble/hashes/sha256";
|
||||
import * as secp from "@noble/curves/secp256k1";
|
||||
import { hmac } from "@noble/hashes/hmac";
|
||||
import { sha256 as hash } from "@noble/hashes/sha256";
|
||||
import { bytesToHex } from "@noble/hashes/utils";
|
||||
import { bech32, base32hex } from "@scure/base";
|
||||
import { base32hex,bech32 } from "@scure/base";
|
||||
import { isHex, isOffline } from "@snort/shared";
|
||||
import {
|
||||
encodeTLV,
|
||||
EventKind,
|
||||
HexKey,
|
||||
MetadataCache,
|
||||
NostrEvent,
|
||||
NostrLink,
|
||||
NostrPrefix,
|
||||
TaggedNostrEvent,
|
||||
u256,
|
||||
EventKind,
|
||||
encodeTLV,
|
||||
NostrPrefix,
|
||||
NostrEvent,
|
||||
MetadataCache,
|
||||
NostrLink,
|
||||
UserMetadata,
|
||||
} from "@snort/system";
|
||||
import { isHex, isOffline } from "@snort/shared";
|
||||
import { Birthday, Day } from "@/Utils/Const";
|
||||
|
||||
import Nostrich from "@/assets/img/nostrich.webp";
|
||||
import AnimalName from "@/Components/User/AnimalName";
|
||||
import { Birthday, Day } from "@/Utils/Const";
|
||||
|
||||
import TZ from "../tz.json";
|
||||
|
||||
export const sha256 = (str: string | Uint8Array): u256 => {
|
||||
return utils.bytesToHex(hash(str));
|
||||
|
Reference in New Issue
Block a user