nostr_cn_dev on Nostr: nostr-tools 删除了 nip96 import NDK from "@nostr-dev-kit/ndk"; // Create a new NDK ...
nostr-tools 删除了 nip96
import NDK from "@nostr-dev-kit/ndk";
// Create a new NDK instance with explicit relays
const ndk = new NDK({
explicitRelayUrls: ["wss://a.relay", "wss://another.relay"],
}); 删除了 websocket-polyfill的依赖。
为什么? 今天这2个问题要搞明白。
Published at
2025-05-14 00:48:54 UTCEvent JSON
{
"id": "7d527500b48595a498eba796190b2a28e6bc9ed93c294fb52f587434842f0467",
"pubkey": "fd06f542bc6c06a39881810de917e6c5d277dfb51689a568ad7b7a548d6d54cd",
"created_at": 1747183734,
"kind": 1,
"tags": [
[
"client",
"Yakihonne",
"31990:20986fb83e775d96d188ca5c9df10ce6d613e0eb7e5768a0f0b12b37cdac21b3:1700732875747"
]
],
"content": "nostr-tools 删除了 nip96\n\nimport NDK from \"@nostr-dev-kit/ndk\";\n\n// Create a new NDK instance with explicit relays\nconst ndk = new NDK({\n explicitRelayUrls: [\"wss://a.relay\", \"wss://another.relay\"],\n}); 删除了 websocket-polyfill的依赖。\n\n为什么? 今天这2个问题要搞明白。",
"sig": "af072f9f43439dd5056bc8d7520973027094d6d79b98a939063cbe4c64cfa1adb9ade633aaef386c63eee6c7d06db8dc053aded1d4d55cf7bea0b9294fc5b282"
}