9ea35e88cf
node-appwrite 23.1.0 ships a bundled undici Agent via node-fetch-native-with-agent. That bundle uses an older undici dispatcher API that crashes on Node 26 with 'invalid onError method' (UND_ERR_INVALID_ARG), making every Appwrite call fail with 'fetch failed' / our user-facing 'Bağlantı hatası' fallback. The patch replaces createAgent/createFetch with thin pass-throughs to globalThis.fetch — Node native fetch handles HTTPS to db.kovaksoft.com directly, no proxy/agent customization needed. Verified end-to-end via users.listMemberships against the live project. Also added dev-mode error surfacing in appwriteError so future SDK exceptions show the real message instead of 'Bağlantı hatası'.
6 lines
157 B
YAML
6 lines
157 B
YAML
allowBuilds:
|
|
sharp: true
|
|
unrs-resolver: true
|
|
patchedDependencies:
|
|
node-fetch-native-with-agent@1.7.2: patches/node-fetch-native-with-agent@1.7.2.patch
|