@algolia/algolia-custom-helpcenter-search 2.3.13 → 2.3.17
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 +8 -0
- package/README.md +2 -2
- package/lib/index.es.js +4 -4
- package/lib/index.umd.js +4 -4
- package/lib/src/autocomplete.d.ts +0 -7
- package/lib/src/constants.d.ts +1 -0
- package/lib/src/utils.d.ts +1 -0
- package/package.json +3 -1
@@ -1,10 +1,3 @@
|
|
1
|
-
/**
|
2
|
-
* @typedef {Object} StartAutocompleteReturn
|
3
|
-
* @property {Function} destroy
|
4
|
-
*
|
5
|
-
* @param {(HTMLElement|string)} container
|
6
|
-
* @returns {StartAutocompleteReturn}
|
7
|
-
*/
|
8
1
|
export declare const startAutocomplete: (container: HTMLElement) => {
|
9
2
|
destroy: () => void;
|
10
3
|
};
|
package/lib/src/constants.d.ts
CHANGED
package/lib/src/utils.d.ts
CHANGED
@@ -5,6 +5,7 @@ export declare const getElement: <TElement extends Element>(selector: string) =>
|
|
5
5
|
export declare const debounced: <TParams>(params: TParams) => Promise<TParams>;
|
6
6
|
export declare const getSortedHits: (SOURCES: Source[], query: string, genericAnswerParams?: Omit<FindAnswersOptions, 'attributesForPrediction'> & {
|
7
7
|
EXPERIMENTAL_illuminate?: number;
|
8
|
+
clickAnalytics?: boolean;
|
8
9
|
}) => Promise<{
|
9
10
|
hits: Array<HitWithAnswer<FederatedHits> & {
|
10
11
|
sourceId: SourceId;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@algolia/algolia-custom-helpcenter-search",
|
3
|
-
"version": "2.3.
|
3
|
+
"version": "2.3.17",
|
4
4
|
"description": "Algolia's Zendesk Help Center search implementation",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -58,6 +58,7 @@
|
|
58
58
|
},
|
59
59
|
"dependencies": {
|
60
60
|
"@algolia/autocomplete-js": "^1.2.2",
|
61
|
+
"@algolia/autocomplete-plugin-algolia-insights": "^1.8.1",
|
61
62
|
"@algolia/autocomplete-preset-algolia": "^1.2.2",
|
62
63
|
"@algolia/autocomplete-theme-classic": "^1.2.2",
|
63
64
|
"@algolia/satellite": "^1.0.0-beta.109",
|
@@ -66,6 +67,7 @@
|
|
66
67
|
"preact": "^10.5.14",
|
67
68
|
"preact-render-to-string": "^5.1.19",
|
68
69
|
"react-feather": "^2.0.9",
|
70
|
+
"search-insights": "^2.3.0",
|
69
71
|
"throttle-debounce": "^3.0.1"
|
70
72
|
},
|
71
73
|
"scripts": {
|