Event JSON
{
"id": "0f05cbf36c11c4e9db0e5ce2ef22f03122d6392988148df36a8c1ac0daa98719",
"pubkey": "660079b23fc2c67c2eca687d78e5f0e553e45be8355bfdaa3ea7f5cd16ece5f5",
"created_at": 1715277135,
"kind": 1,
"tags": [
[
"e",
"02cb2e91508ceb8f42cd0a55e1d53f371b0ccf89792afb7899c2a6fa36c37d39",
"",
"root"
],
[
"e",
"04342f041a03e4ddfa3f10c409421bc24398ccf59d270b2073181f352b0c4503"
],
[
"e",
"35c0940c7bd8665d58607e47377d916fc375e6f6087e13bd4812a8643210bf32",
"",
"reply"
],
[
"p",
"660079b23fc2c67c2eca687d78e5f0e553e45be8355bfdaa3ea7f5cd16ece5f5"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
],
[
"r",
"https://image.nostr.build/898dd2005d721afc3781c34cc14724a5d6e3d738fcbd362895e38aff743a5cbe.jpg"
],
[
"r",
"https://crafters.amethyst.social/js/nostr.js:127"
],
[
"r",
"https://crafters.amethyst.social/js/nostr.js:136"
],
[
"r",
"https://crafters.amethyst.social/js/nostr.js:557"
],
[
"r",
"https://crafters.amethyst.social/js/ui-utils.js:92"
],
[
"r",
"https://crafters.amethyst.social/js/ui-utils.js:91"
],
[
"r",
"https://crafters.amethyst.social/js/nostr.js:557"
],
[
"r",
"https://crafters.amethyst.social/js/nostr.js:580"
],
[
"r",
"https://www.unpkg.com/nostr-login@latest/dist/unpkg.js:17"
],
[
"r",
"https://www.unpkg.com/nostr-login@latest/dist/unpkg.js:17"
],
[
"r",
"https://www.unpkg.com/nostr-login@latest/dist/unpkg.js:17"
],
[
"r",
"https://www.unpkg.com/nostr-login@latest/dist/unpkg.js:1"
],
[
"r",
"https://www.unpkg.com/nostr-login@latest/dist/unpkg.js:17"
],
[
"r",
"https://www.unpkg.com/nostr-login@latest/dist/unpkg.js:17"
],
[
"r",
"https://www.unpkg.com/nostr-login@latest/dist/unpkg.js:17"
],
[
"r",
"https://www.unpkg.com/nostr-login@latest/dist/unpkg.js:17"
],
[
"r",
"https://www.unpkg.com/nostr-login@latest/dist/unpkg.js:17"
],
[
"r",
"EventListener.handleEvent"
],
[
"r",
"https://www.unpkg.com/nostr-login@latest/dist/unpkg.js:17"
],
[
"r",
"https://www.unpkg.com/nostr-login@latest/dist/unpkg.js:17"
],
[
"r",
"https://www.unpkg.com/nostr-login@latest/dist/unpkg.js:17"
],
[
"r",
"https://image.nostr.build/17afca27f58d91480c640419d8447b3fddb3b11948051415b42ad9dd0e1808c3.jpg"
],
[
"r",
"event.tags"
],
[
"r",
"tags.push"
],
[
"imeta",
"url https://image.nostr.build/898dd2005d721afc3781c34cc14724a5d6e3d738fcbd362895e38aff743a5cbe.jpg",
"m image/jpeg",
"alt Verifiable file url",
"x 10bfb1cb8e86fde8c2b73a124f1801d5a49433d54b6056077b550888eca12654",
"size 46630",
"dim 804x342",
"blurhash Z29GXc~q:gxqTfD%9u4:8^#,n$kXjDt7xus:ogWY9XRPXoRjs+xaxZs:t7-=xZn#WBRkRiWEazoJ",
"ox 898dd2005d721afc3781c34cc14724a5d6e3d738fcbd362895e38aff743a5cbe"
],
[
"imeta",
"url https://image.nostr.build/17afca27f58d91480c640419d8447b3fddb3b11948051415b42ad9dd0e1808c3.jpg",
"m image/jpeg",
"alt Verifiable file url",
"x 38ce1ec11a3a7685a89f4d22bb8db3d6e307206a8127ec778bcc60bf1b5f220e",
"size 69712",
"dim 815x666",
"blurhash #15r0.R$D~?w?HITIoM|xbkGt8xuV@V@t7WURjRQ-.WAV[WAbbogs:t7oyDgs*n$R,kExvt7s:W=-m%MaeRiWsWBofn%R*9YXAerM_baoMoft7bY.Ap0WXWAaJV@bbf6oL",
"ox 17afca27f58d91480c640419d8447b3fddb3b11948051415b42ad9dd0e1808c3"
]
],
"content": "Yours opened fine but mine don't work\nWhen I try to add something I got this error:\n https://image.nostr.build/898dd2005d721afc3781c34cc14724a5d6e3d738fcbd362895e38aff743a5cbe.jpg\n\nUncaught (in promise) TypeError: event is undefined\n addTagArray https://crafters.amethyst.social/js/nostr.js:127\n add https://crafters.amethyst.social/js/nostr.js:136\n initEditors https://crafters.amethyst.social/js/nostr.js:557\n initAdd https://crafters.amethyst.social/js/ui-utils.js:92\n jQuery 8\n initAdd https://crafters.amethyst.social/js/ui-utils.js:91\n initEditors https://crafters.amethyst.social/js/nostr.js:557\n \u003canonymous\u003e https://crafters.amethyst.social/js/nostr.js:580\n onAuth https://www.unpkg.com/nostr-login@latest/dist/unpkg.js:17\n setExtension https://www.unpkg.com/nostr-login@latest/dist/unpkg.js:17\n NostrLoginInitializer https://www.unpkg.com/nostr-login@latest/dist/unpkg.js:17\n emit https://www.unpkg.com/nostr-login@latest/dist/unpkg.js:1\n setExtensionReadPubkey https://www.unpkg.com/nostr-login@latest/dist/unpkg.js:17\n trySetExtensionForPubkey https://www.unpkg.com/nostr-login@latest/dist/unpkg.js:17\n switchAccount https://www.unpkg.com/nostr-login@latest/dist/unpkg.js:17\n init https://www.unpkg.com/nostr-login@latest/dist/unpkg.js:17\n \u003canonymous\u003e https://www.unpkg.com/nostr-login@latest/dist/unpkg.js:17\n EventListener.handleEvent* https://www.unpkg.com/nostr-login@latest/dist/unpkg.js:17\n \u003canonymous\u003e https://www.unpkg.com/nostr-login@latest/dist/unpkg.js:17\n \u003canonymous\u003e https://www.unpkg.com/nostr-login@latest/dist/unpkg.js:17\n\n https://image.nostr.build/17afca27f58d91480c640419d8447b3fddb3b11948051415b42ad9dd0e1808c3.jpg\n\nasync function addTagArray(event, tagArray) {\n let tags = [...event.tags] //THIS LINE\n if (tagArray) {\n tags.push(tagArray)\n }\n\n signBroadcastAndUpdateScreen(tags)\n}",
"sig": "e0c4936e45b3a243512fe296d0f45f95dbb041be987c496e3133f65c2c967e7cfd0c6b5d2138863fb2142ffd8a64ebc1503de3bb57229dc18530f3e5ca7a0bf4"
}