Merge branch 'unstable' into codex/extend-mirrorvideoevent-and-add-validation

This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2025-10-30 12:42:25 -04:00
commit ba6815f795
2 files changed
+7 -1

No files matched your search

+4
View File
@@ -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,
+3 -1
View File
@@ -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) => ({