@memori.ai/memori-api-client 5.5.0 → 5.6.0
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 +15 -0
- package/dist/backend/analysis.js +1 -1
- package/dist/types.d.ts +7 -2
- package/esm/backend/analysis.js +1 -1
- package/esm/types.d.ts +7 -2
- package/package.json +1 -1
- package/src/backend/analysis.ts +1 -1
- package/src/types.ts +8 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## [5.6.0](https://github.com/memori-ai/memori-api-client/compare/v5.5.1...v5.6.0) (2025-02-28)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add optional obfuscation flag to macro function type ([bfc0c0e](https://github.com/memori-ai/memori-api-client/commit/bfc0c0e623f70ddde7b6981a51d7bcca10a9fc2e))
|
|
9
|
+
* support multilingual descriptions for macro functions ([ac063a8](https://github.com/memori-ai/memori-api-client/commit/ac063a872c0433f3c3c6a7cac93520e04203803c))
|
|
10
|
+
|
|
11
|
+
## [5.5.1](https://github.com/memori-ai/memori-api-client/compare/v5.5.0...v5.5.1) (2025-02-25)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* typo in analysis query pathname ([be4a71f](https://github.com/memori-ai/memori-api-client/commit/be4a71f87248171ac2775ed0b4251a4ff8488470))
|
|
17
|
+
|
|
3
18
|
## [5.5.0](https://github.com/memori-ai/memori-api-client/compare/v5.4.2...v5.5.0) (2025-01-30)
|
|
4
19
|
|
|
5
20
|
|
package/dist/backend/analysis.js
CHANGED
|
@@ -9,7 +9,7 @@ exports.default = (apiUrl) => ({
|
|
|
9
9
|
...params,
|
|
10
10
|
},
|
|
11
11
|
}),
|
|
12
|
-
getUserQueryMatches: async (authToken, analysisID, from, howMany, threshold) => (0, apiFetcher_1.apiFetcher)(`/Analysis/
|
|
12
|
+
getUserQueryMatches: async (authToken, analysisID, from, howMany, threshold) => (0, apiFetcher_1.apiFetcher)(`/Analysis/UserQueryMatches/${authToken}/${analysisID}/${from}/${howMany}${threshold ? `/${threshold}` : ''}`, {
|
|
13
13
|
apiUrl,
|
|
14
14
|
method: 'GET',
|
|
15
15
|
}),
|
package/dist/types.d.ts
CHANGED
|
@@ -954,9 +954,14 @@ export declare type ConsumptionData = {
|
|
|
954
954
|
};
|
|
955
955
|
export declare type MacroFunction = {
|
|
956
956
|
name: string;
|
|
957
|
-
|
|
957
|
+
descriptions: {
|
|
958
|
+
[key: string]: string;
|
|
959
|
+
};
|
|
958
960
|
macroParameters?: {
|
|
959
961
|
name: string;
|
|
960
|
-
|
|
962
|
+
descriptions: {
|
|
963
|
+
[key: string]: string;
|
|
964
|
+
};
|
|
965
|
+
obfuscated?: boolean;
|
|
961
966
|
}[];
|
|
962
967
|
};
|
package/esm/backend/analysis.js
CHANGED
|
@@ -7,7 +7,7 @@ export default (apiUrl) => ({
|
|
|
7
7
|
...params,
|
|
8
8
|
},
|
|
9
9
|
}),
|
|
10
|
-
getUserQueryMatches: async (authToken, analysisID, from, howMany, threshold) => apiFetcher(`/Analysis/
|
|
10
|
+
getUserQueryMatches: async (authToken, analysisID, from, howMany, threshold) => apiFetcher(`/Analysis/UserQueryMatches/${authToken}/${analysisID}/${from}/${howMany}${threshold ? `/${threshold}` : ''}`, {
|
|
11
11
|
apiUrl,
|
|
12
12
|
method: 'GET',
|
|
13
13
|
}),
|
package/esm/types.d.ts
CHANGED
|
@@ -954,9 +954,14 @@ export declare type ConsumptionData = {
|
|
|
954
954
|
};
|
|
955
955
|
export declare type MacroFunction = {
|
|
956
956
|
name: string;
|
|
957
|
-
|
|
957
|
+
descriptions: {
|
|
958
|
+
[key: string]: string;
|
|
959
|
+
};
|
|
958
960
|
macroParameters?: {
|
|
959
961
|
name: string;
|
|
960
|
-
|
|
962
|
+
descriptions: {
|
|
963
|
+
[key: string]: string;
|
|
964
|
+
};
|
|
965
|
+
obfuscated?: boolean;
|
|
961
966
|
}[];
|
|
962
967
|
};
|
package/package.json
CHANGED
package/src/backend/analysis.ts
CHANGED
|
@@ -46,7 +46,7 @@ export default (apiUrl: string) => ({
|
|
|
46
46
|
threshold?: number
|
|
47
47
|
) =>
|
|
48
48
|
apiFetcher(
|
|
49
|
-
`/Analysis/
|
|
49
|
+
`/Analysis/UserQueryMatches/${authToken}/${analysisID}/${from}/${howMany}${
|
|
50
50
|
threshold ? `/${threshold}` : ''
|
|
51
51
|
}`,
|
|
52
52
|
{
|
package/src/types.ts
CHANGED
|
@@ -1873,9 +1873,14 @@ export declare type ConsumptionData = {
|
|
|
1873
1873
|
|
|
1874
1874
|
export declare type MacroFunction = {
|
|
1875
1875
|
name: string;
|
|
1876
|
-
|
|
1876
|
+
descriptions: {
|
|
1877
|
+
[key: string]: string;
|
|
1878
|
+
};
|
|
1877
1879
|
macroParameters?: {
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
+
name: string;
|
|
1881
|
+
descriptions: {
|
|
1882
|
+
[key: string]: string;
|
|
1883
|
+
};
|
|
1884
|
+
obfuscated?: boolean;
|
|
1880
1885
|
}[];
|
|
1881
1886
|
};
|