@ultimat3/i18n 31.45.0 → 31.47.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.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -48,6 +48,8 @@ A `default` outside `locales` is `X_LOCALE_UNSUPPORTED` — and a compile error
48
48
  ```ts
49
49
  import { negotiateLocale, t } from '@ultimat3/i18n';
50
50
 
51
+ declare const request: Request;
52
+
51
53
  // per-request: the HTTP layer resolves the locale once
52
54
  const locale = negotiateLocale(request.headers.get('accept-language')); // 'de'
53
55
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultimat3/i18n",
3
- "version": "31.45.0",
3
+ "version": "31.47.0",
4
4
  "description": "Dependency-free translator, catalog flattening, locale negotiation and loud missing-key rendering",
5
5
  "keywords": [
6
6
  "ultimate",
@@ -48,6 +48,6 @@
48
48
  "test": "bun test"
49
49
  },
50
50
  "dependencies": {
51
- "@ultimat3/core": "31.45.0"
51
+ "@ultimat3/core": "31.47.0"
52
52
  }
53
53
  }