llm-errors 0.1.1 → 0.1.2

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.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,20 @@ All notable changes to this project are documented here. The format follows
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project adheres
5
5
  to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.1.2] - 2026-06-04
8
+
9
+ ### Changed
10
+
11
+ - Published README package-status badges, download visibility and release notes
12
+ to the npm package page.
13
+
14
+ ## [0.1.1] - 2026-06-03
15
+
16
+ ### Changed
17
+
18
+ - Added OpenAI-compatible provider keywords for DeepSeek, Groq and OpenRouter
19
+ discovery in npm and package metadata.
20
+
7
21
  ## [0.1.0] - 2026-06-03
8
22
 
9
23
  ### Added
package/README.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # llm-errors
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/llm-errors.svg)](https://www.npmjs.com/package/llm-errors)
4
+ [![npm downloads](https://img.shields.io/npm/dm/llm-errors.svg)](https://www.npmjs.com/package/llm-errors)
5
+ [![CI](https://github.com/slegarraga/llm-errors/actions/workflows/ci.yml/badge.svg)](https://github.com/slegarraga/llm-errors/actions/workflows/ci.yml)
6
+ [![license](https://img.shields.io/npm/l/llm-errors.svg)](./LICENSE)
7
+ [![zero dependencies](https://img.shields.io/badge/dependencies-0-brightgreen.svg)](./package.json)
8
+
3
9
  > Normalize OpenAI, Anthropic and Gemini API errors into one shape: category, retryable flag and `Retry-After` delay. **Zero dependencies.**
4
10
 
5
11
  Every LLM provider fails differently. OpenAI nests `{ error: { type, code, param } }`, Anthropic wraps `{ type: "error", error: { type } }`, Gemini speaks Google RPC status strings, and each puts retry hints in a different place. `llm-errors` collapses all of that into a single, predictable object so your retry and error-handling code stays provider-agnostic.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "llm-errors",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Normalize OpenAI, Anthropic and Gemini API errors into one shape: category, retryable flag and Retry-After delay. Zero dependencies.",
5
5
  "keywords": [
6
6
  "openai",