mirror of
https://github.com/dergigi/boris.git
synced 2025-12-18 15:14:20 +01:00
- Add project structure with TypeScript, React, and Vite - Implement nostr authentication using browser extension (NIP-07) - Add NIP-51 compliant bookmark fetching and display - Create minimal UI with login and bookmark components - Integrate applesauce-core and applesauce-react libraries - Add responsive styling with dark/light mode support - Include comprehensive README with setup instructions This is a minimal MVP for a nostr bookmark client that allows users to view their bookmarks according to NIP-51 specification.
19 lines
812 B
TypeScript
19 lines
812 B
TypeScript
/**
|
|
* Utilities for short weierstrass curves, combined with noble-hashes.
|
|
* @module
|
|
*/
|
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
import { type CurveFn, type CurveType } from './abstract/weierstrass.ts';
|
|
import type { CHash } from './utils.ts';
|
|
/** connects noble-curves to noble-hashes */
|
|
export declare function getHash(hash: CHash): {
|
|
hash: CHash;
|
|
};
|
|
/** Same API as @noble/hashes, with ability to create curve with custom hash */
|
|
export type CurveDef = Readonly<Omit<CurveType, 'hash'>>;
|
|
export type CurveFnWithCreate = CurveFn & {
|
|
create: (hash: CHash) => CurveFn;
|
|
};
|
|
/** @deprecated use new `weierstrass()` and `ecdsa()` methods */
|
|
export declare function createCurve(curveDef: CurveDef, defHash: CHash): CurveFnWithCreate;
|
|
//# sourceMappingURL=_shortw_utils.d.ts.map
|