vern-llm 2.2.0 → 2.3.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vern-llm",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "description": "Production-ready resilience for LLM calls: retries, timeouts, caching, and circuit breaking behind one typed interface, with adapters for OpenAI-compatible APIs (OpenAI, Groq, and more), Anthropic, Gemini, and Bedrock.",
5
5
  "keywords": [
6
6
  "llm",
@@ -39,6 +39,7 @@
39
39
  "@aws-sdk/client-bedrock-runtime": "^3.1106.0",
40
40
  "@changesets/cli": "^2.31.1",
41
41
  "@google/genai": "^2.16.0",
42
+ "@size-limit/file": "^13.0.3",
42
43
  "@smithy/eventstream-serde-node": "^4.4.16",
43
44
  "@smithy/node-http-handler": "^4.9.13",
44
45
  "@smithy/util-utf8": "^4.4.16",
@@ -46,6 +47,7 @@
46
47
  "@vitest/coverage-v8": "^4.1.10",
47
48
  "groq-sdk": "^1.5.0",
48
49
  "openai": "^7.4.0",
50
+ "size-limit": "^13.0.3",
49
51
  "tsdown": "^0.9.9",
50
52
  "typescript": "^5.9.3",
51
53
  "vitest": "^4.1.10",
@@ -61,9 +63,20 @@
61
63
  "access": "public",
62
64
  "provenance": true
63
65
  },
66
+ "size-limit": [
67
+ {
68
+ "path": "dist/index.js",
69
+ "limit": "70 KB"
70
+ },
71
+ {
72
+ "path": "dist/index.cjs",
73
+ "limit": "70 KB"
74
+ }
75
+ ],
64
76
  "scripts": {
65
77
  "build": "tsdown",
66
78
  "dev": "tsdown --watch",
79
+ "smoke-test": "node scripts/smoke-test.mts",
67
80
  "typecheck": "tsc --noEmit -p tsconfig.json",
68
81
  "typecheck:test": "tsc --noEmit -p tsconfig.test.json",
69
82
  "test": "vitest run",
@@ -73,6 +86,7 @@
73
86
  "test:coverage": "vitest run --coverage",
74
87
  "changeset": "changeset",
75
88
  "version-packages": "changeset version",
76
- "release": "pnpm run build && changeset publish"
89
+ "release": "pnpm run build && changeset publish",
90
+ "size": "size-limit"
77
91
  }
78
92
  }