@xera-ai/http 0.12.0 → 0.12.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/dist/index.js CHANGED
@@ -172,7 +172,7 @@ function readEnv(name) {
172
172
  throw new Error(`Auth env-var name not configured in role`);
173
173
  const v = process.env[name];
174
174
  if (v === undefined || v === "") {
175
- throw new Error(`Auth env var '${name}' is not set. Add it to .env.local.`);
175
+ throw new Error(`Auth env var '${name}' is not set. Add it to .env.`);
176
176
  }
177
177
  return v;
178
178
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xera-ai/http",
3
- "version": "0.12.0",
3
+ "version": "0.12.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -29,7 +29,7 @@
29
29
  "dependencies": {
30
30
  "@apidevtools/json-schema-ref-parser": "11.7.0",
31
31
  "@playwright/test": "1.60.0",
32
- "@xera-ai/core": "^0.12.0",
32
+ "@xera-ai/core": "^0.12.2",
33
33
  "yaml": "2.9.0",
34
34
  "zod": "4.4.3"
35
35
  }
@@ -12,7 +12,7 @@ function readEnv(name: string | undefined): string {
12
12
  if (!name) throw new Error(`Auth env-var name not configured in role`);
13
13
  const v = process.env[name];
14
14
  if (v === undefined || v === '') {
15
- throw new Error(`Auth env var '${name}' is not set. Add it to .env.local.`);
15
+ throw new Error(`Auth env var '${name}' is not set. Add it to .env.`);
16
16
  }
17
17
  return v;
18
18
  }