@ai-ecoverse/slicc-kernel 1.59.0 → 1.59.1

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.
@@ -3288,7 +3288,7 @@ function decodeSabResult(status2, payload) {
3288
3288
  case SAB_STATUS_ERRNO: {
3289
3289
  try {
3290
3290
  const parsed = JSON.parse(decoder2.decode(payload));
3291
- const errno2 = typeof parsed.errno === "string" && /^E[A-Z]+$/.test(parsed.errno) ? parsed.errno : "EIO";
3291
+ const errno2 = typeof parsed.errno === "string" && /^E[A-Z]+$|^EAI_[A-Z]+$/.test(parsed.errno) ? parsed.errno : "EIO";
3292
3292
  return { ok: false, errno: errno2, message: String(parsed.message ?? errno2) };
3293
3293
  } catch {
3294
3294
  return { ok: false, errno: "EIO", message: "sync-sab: malformed errno payload" };