mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Merge branch 'unstable' into codex/extend-mirrorvideoevent-and-add-validation
This commit is contained in:
2 files changed
+7
-1
No files matched your search
@@ -716,6 +716,10 @@ export function buildRepostEvent({
|
||||
return schema?.kind ?? 6;
|
||||
})();
|
||||
|
||||
if (resolvedKind === 16 && normalizedTargetKind !== null) {
|
||||
tags.push(["k", String(normalizedTargetKind)]);
|
||||
}
|
||||
|
||||
return {
|
||||
kind: resolvedKind,
|
||||
pubkey,
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
import assert from "node:assert/strict";
|
||||
import test from "node:test";
|
||||
|
||||
const { mirrorVideoEvent } = await import("../../js/nostr/publishHelpers.js");
|
||||
const { mirrorVideoEvent, repostEvent } = await import(
|
||||
"../../js/nostr/publishHelpers.js",
|
||||
);
|
||||
|
||||
const resolveActiveSignerStub = () => ({
|
||||
signEvent: async (event) => ({
|
||||
|
||||
Reference in new issue
Block a user