UNPKG

askexperts

Version:

AskExperts SDK: build and use AI experts - ask them questions and pay with bitcoin on an open protocol

15 lines 833 B
/** * NIP-174 (Ask Experts) client implementation * Works in both browser and Node.js environments */ // Export the main client classes export { AskExpertsClient } from './AskExpertsClient.js'; export { AskExpertsPayingClient } from './AskExpertsPayingClient.js'; export { AskExpertsSmartClient } from './AskExpertsSmartClient.js'; export { AskExpertsChatClient } from './AskExpertsChatClient.js'; // Export constants export { FORMAT_TEXT, FORMAT_OPENAI, METHOD_LIGHTNING, DEFAULT_DISCOVERY_RELAYS, } from '../common/constants.js'; // Export utility functions export { encrypt, decrypt, createEvent, generateRandomKeyPair, validateNostrEvent, } from '../common/crypto.js'; export { publishToRelays, subscribeToRelays, fetchFromRelays, waitForEvent, createEventStream, } from '../common/relay.js'; //# sourceMappingURL=index.js.map