diff --git a/README.md b/README.md index 481d60b..1c768ea 100644 --- a/README.md +++ b/README.md @@ -36,25 +36,6 @@ Sets the current locale. Pass `null` or `undefined` to reset to system locale. Throws an error if the locale is invalid. -## Examples - -```typescript -// Basic usage -setLocale('es-ES'); -const current = getLocale(); // "es-ES" - -// Reset to system -setLocale(null); -const system = getLocale(); // "en-US" (or your system locale) - -// Error handling -try { - setLocale('invalid'); -} catch (error) { - console.error(error.message); -} -``` - --- ## 📚 Documentation @@ -63,4 +44,4 @@ See the full API documentation at [agape.dev/api](https://agape.dev/api). ## 📦 Agape Toolkit -This package is part of the [Agape Toolkit](https://github.com/AgapeToolkit/AgapeToolkit) - a comprehensive collection of TypeScript utilities and libraries for modern web development. \ No newline at end of file +This package is part of the [Agape Toolkit](https://github.com/AgapeToolkit/AgapeToolkit) - a comprehensive collection of TypeScript utilities and libraries for modern web development. diff --git a/package.json b/package.json index 876e398..4568b56 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@agape/locale", - "version": "0.1.0", + "version": "0.1.1", "description": "Locale management utilities with global state", "main": "./cjs/index.js", "module": "./es2020/index.js",