@nubitio/core 0.11.0 → 0.11.1

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 +10 -14
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -24,11 +24,7 @@ import { CoreProvider } from '@nubitio/core';
24
24
 
25
25
  export function App() {
26
26
  return (
27
- <CoreProvider
28
- apiBaseUrl="https://api.example.com"
29
- timezone="UTC"
30
- locale="en"
31
- >
27
+ <CoreProvider apiBaseUrl="https://api.example.com" timezone="UTC" locale="en">
32
28
  {/* your app */}
33
29
  </CoreProvider>
34
30
  );
@@ -102,12 +98,12 @@ See `CoreHttpClientConfig` for all options.
102
98
 
103
99
  ## Key exports
104
100
 
105
- | Export | Description |
106
- |--------|-------------|
107
- | `CoreProvider` | Root provider — wraps HTTP, i18n, React Query, and runtime config |
108
- | `CoreHttpClient` | Type-safe HTTP client with error normalisation + pluggable auth refresh |
109
- | `dispatch` / `useEvents` | Lightweight event bus for cross-component communication |
110
- | `createCrudEvents` | Factory for typed CRUD event sets |
111
- | `MercureProvider` | Real-time SSE integration via Mercure hub |
112
- | `DateUtils` | Timezone-aware date formatting powered by Luxon |
113
- | `coreTranslationsEs` / `coreTranslationsEn` | Built-in translations for Spanish and English |
101
+ | Export | Description |
102
+ | ------------------------------------------- | ----------------------------------------------------------------------- |
103
+ | `CoreProvider` | Root provider — wraps HTTP, i18n, React Query, and runtime config |
104
+ | `CoreHttpClient` | Type-safe HTTP client with error normalisation + pluggable auth refresh |
105
+ | `dispatch` / `useEvents` | Lightweight event bus for cross-component communication |
106
+ | `createCrudEvents` | Factory for typed CRUD event sets |
107
+ | `MercureProvider` | Real-time SSE integration via Mercure hub |
108
+ | `DateUtils` | Timezone-aware date formatting powered by Luxon |
109
+ | `coreTranslationsEs` / `coreTranslationsEn` | Built-in translations for Spanish and English |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nubitio/core",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "type": "module",
5
5
  "description": "Runtime foundation for Nubit: HTTP, events, i18n, Mercure, feature flags, providers, and date utilities.",
6
6
  "license": "MIT",