mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-31 01:42:27 +00:00
34 lines
1.2 KiB
JavaScript
34 lines
1.2 KiB
JavaScript
// js/nostr.js
|
|
//
|
|
// Compatibility shim that forwards legacy imports to the new domain-specific
|
|
// facades. Prefer importing from the facades directly in new modules so the
|
|
// wiring between the default client and helper layers stays explicit.
|
|
|
|
export { nostrClient, requestDefaultExtensionPermissions } from "./nostrClientFacade.js";
|
|
|
|
export {
|
|
recordVideoViewWithDefaultClient,
|
|
listVideoViewEventsWithDefaultClient,
|
|
subscribeVideoViewEventsWithDefaultClient,
|
|
countVideoViewEventsWithDefaultClient,
|
|
} from "./nostrViewEventsFacade.js";
|
|
|
|
export {
|
|
updateWatchHistoryListWithDefaultClient,
|
|
removeWatchHistoryItemWithDefaultClient,
|
|
} from "./nostrWatchHistoryFacade.js";
|
|
|
|
export {
|
|
recordVideoViewWithDefaultClient as recordVideoView,
|
|
listVideoViewEventsWithDefaultClient as listVideoViewEvents,
|
|
subscribeVideoViewEventsWithDefaultClient as subscribeVideoViewEvents,
|
|
countVideoViewEventsWithDefaultClient as countVideoViewEvents,
|
|
} from "./nostrViewEventsFacade.js";
|
|
|
|
export {
|
|
updateWatchHistoryListWithDefaultClient as updateWatchHistoryList,
|
|
removeWatchHistoryItemWithDefaultClient as removeWatchHistoryItem,
|
|
} from "./nostrWatchHistoryFacade.js";
|
|
|
|
export * from "./nostr/index.js";
|