@singi-labs/sifa-sdk 0.12.28 → 0.12.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/{adult-content-DdY7S5nN.d.cts → adult-content-BHIB4rxu.d.cts} +8 -0
  2. package/dist/{adult-content-DdY7S5nN.d.ts → adult-content-BHIB4rxu.d.ts} +8 -0
  3. package/dist/{index-ipyzSVry.d.cts → index-C95t5Gg5.d.cts} +2 -2
  4. package/dist/{index-wMuFhu7d.d.ts → index-CZAG8uku.d.ts} +3 -3
  5. package/dist/{index-ZXWW6RsR.d.cts → index-O2oJHRq0.d.cts} +3 -3
  6. package/dist/{index-B6GHpvcg.d.ts → index-ZoAKneCP.d.ts} +2 -2
  7. package/dist/index.cjs +33 -1
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.d.cts +14 -4
  10. package/dist/index.d.ts +14 -4
  11. package/dist/index.js +33 -2
  12. package/dist/index.js.map +1 -1
  13. package/dist/{org-Dme1VvNa.d.cts → org-DWAqK-TV.d.cts} +1 -1
  14. package/dist/{org-CLRdUB1W.d.ts → org-Octhy3vS.d.ts} +1 -1
  15. package/dist/{profile-summary-DjRf3Snf.d.cts → profile-summary-DsaEk_GD.d.cts} +1 -1
  16. package/dist/{profile-summary-B9SuY-EU.d.ts → profile-summary-sWTKu58A.d.ts} +1 -1
  17. package/dist/query/fetchers/index.cjs +4 -1
  18. package/dist/query/fetchers/index.cjs.map +1 -1
  19. package/dist/query/fetchers/index.d.cts +4 -4
  20. package/dist/query/fetchers/index.d.ts +4 -4
  21. package/dist/query/fetchers/index.js +4 -1
  22. package/dist/query/fetchers/index.js.map +1 -1
  23. package/dist/query/hooks/index.cjs +4 -1
  24. package/dist/query/hooks/index.cjs.map +1 -1
  25. package/dist/query/hooks/index.d.cts +3 -3
  26. package/dist/query/hooks/index.d.ts +3 -3
  27. package/dist/query/hooks/index.js +4 -1
  28. package/dist/query/hooks/index.js.map +1 -1
  29. package/dist/query/index.cjs +4 -1
  30. package/dist/query/index.cjs.map +1 -1
  31. package/dist/query/index.d.cts +6 -6
  32. package/dist/query/index.d.ts +6 -6
  33. package/dist/query/index.js +4 -1
  34. package/dist/query/index.js.map +1 -1
  35. package/dist/schemas/index.cjs +1 -0
  36. package/dist/schemas/index.cjs.map +1 -1
  37. package/dist/schemas/index.d.cts +4 -1
  38. package/dist/schemas/index.d.ts +4 -1
  39. package/dist/schemas/index.js +1 -0
  40. package/dist/schemas/index.js.map +1 -1
  41. package/dist/schemas/write/index.cjs +40 -1
  42. package/dist/schemas/write/index.cjs.map +1 -1
  43. package/dist/schemas/write/index.d.cts +1 -0
  44. package/dist/schemas/write/index.d.ts +1 -0
  45. package/dist/schemas/write/index.js +40 -1
  46. package/dist/schemas/write/index.js.map +1 -1
  47. package/package.json +1 -1
@@ -2238,7 +2238,10 @@ async function castRoadmapVote(config, key, options = {}) {
2238
2238
  try {
2239
2239
  const res = await fetchFn(url, {
2240
2240
  method: "POST",
2241
- headers: { "Content-Type": "application/json", ...options.headers ?? {} },
2241
+ // No body: the item key is in the URL. Do NOT declare a JSON content-type
2242
+ // for an empty body — Fastify rejects that with a 400 before the handler
2243
+ // runs. Only forward caller-provided headers.
2244
+ ...options.headers ? { headers: options.headers } : {},
2242
2245
  credentials: options.credentials ?? "include",
2243
2246
  signal: options.signal ?? AbortSignal.timeout(options.timeoutMs ?? 1e4)
2244
2247
  });