@indxsearch/intrface 3.0.0 → 3.0.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.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,15 @@ All notable changes to `@indxsearch/intrface` will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [3.0.1] - 2026-08-27
9
+
10
+ ### Fixed
11
+ - `authError` was missing from the published type declarations (`SearchContextType` and
12
+ `IndxAuthResult`) — the property existed at runtime in 3.0.0 but TypeScript consumers
13
+ could not access it without a compile error. Types only; no runtime change.
14
+
15
+ ---
16
+
8
17
  ## [3.0.0] - 2026-08-25
9
18
 
10
19
  First stable release of the v3 line, for IndxCloudApi v2 (IndxSearchLib v5).
@@ -23,7 +23,6 @@ export interface SearchState {
23
23
  resultsSuppressed?: boolean;
24
24
  facetDebounceDelayMillis?: number;
25
25
  error?: string;
26
- authError?: string;
27
26
  facets?: any | null;
28
27
  filterableFields: string[];
29
28
  facetableFields: string[];
@@ -50,6 +49,7 @@ export interface SearchState {
50
49
  export interface SearchContextType {
51
50
  state: SearchState;
52
51
  isFetchingInitial: boolean;
52
+ authError?: string;
53
53
  allowEmptySearch: boolean;
54
54
  url: string;
55
55
  team: string;
@@ -1,6 +1,8 @@
1
1
  export interface IndxAuthResult {
2
2
  token: string | null;
3
3
  isFetchingInitial: boolean;
4
+ /** Set when initialization failed (bad token, unknown dataset, unreachable server). */
5
+ authError: string | null;
4
6
  initialFacetStats: Record<string, {
5
7
  min: number;
6
8
  max: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indxsearch/intrface",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "Indx Search interface components for React. Provides ready-to-use filter panels, search inputs, faceted navigation, and sorting components. Built on @indxsearch/systm.",
5
5
  "keywords": [
6
6
  "indx",