import { finalizeEvent, SimplePool, type Event } from "nostr-tools"; import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime"; import type { NostrProfile } from "./config-schema.js"; import { profileToContent } from "./nostr-profile-core.js";
export {
contentToProfile,
profileToContent,
sanitizeProfileForDisplay,
validateProfile,
type ProfileContent,
} from "./nostr-profile-core.js";
/** Result of a profile publish attempt */
export interface ProfilePublishResult { /** Event ID of the published profile */
eventId: string; /** Relays that successfully received the event */
successes: string[]; /** Relays that failed with their error messages */
failures: Array<{ relay: string; error: string }>; /** Unix timestamp when the event was created */
createdAt: number;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.