refactor: upgrade snort pkgs

This commit is contained in:
2023-10-16 23:05:37 +01:00
parent d9bcea518b
commit b36c305a53
57 changed files with 389 additions and 1094 deletions

View File

@ -1,5 +1,5 @@
import { StreamState } from "index";
import { NostrEvent } from "@snort/system";
import { NostrEvent, SystemInterface } from "@snort/system";
import { ExternalStore } from "@snort/shared";
import { Nip103StreamProvider } from "./zsz";
import { ManualProvider } from "./manual";
@ -22,7 +22,7 @@ export interface StreamProvider {
/**
* Update stream info event
*/
updateStreamInfo(ev: NostrEvent): Promise<void>;
updateStreamInfo(system: SystemInterface, ev: NostrEvent): Promise<void>;
/**
* Top-up balance with provider