kotori 3.0.2 → 3.0.4

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 +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -182,7 +182,7 @@ export const { useT, dict, setLanguage } = kotori({
182
182
 
183
183
  Returns `{ dict, useT, setLanguage }`.
184
184
 
185
- ### `dict(Record<primaryLanguageTag | secondaryLanguageTags, string>)<argsType?>`
185
+ ### `dict(translations)<argsType?>`
186
186
 
187
187
  Defines a translation unit. Takes one string per language.
188
188
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "kotori",
3
3
  "description": "Strongly-typed and composable internationalization library for React",
4
- "version": "3.0.2",
4
+ "version": "3.0.4",
5
5
  "scripts": {
6
6
  "setup": "rm -rf node_modules && npm i && git init && husky",
7
7
  "prepublishOnly": "npm i && npx tsc && npm run build",