@memori.ai/memori-api-client 6.3.0 → 6.4.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 CHANGED
@@ -1,5 +1,12 @@
1
1
 
2
2
 
3
+ ## [6.4.0](https://github.com/memori-ai/memori-api-client/compare/v6.3.0...v6.4.0) (2025-05-22)
4
+
5
+
6
+ ### Features
7
+
8
+ * update CompletionConfig to Vertex_Anthropic provider options ([e2e23ad](https://github.com/memori-ai/memori-api-client/commit/e2e23ad86de1457440b45104bbbb64a2c3d69f69))
9
+
3
10
  ## [6.3.0](https://github.com/memori-ai/memori-api-client/compare/v6.2.0...v6.3.0) (2025-05-22)
4
11
 
5
12
 
package/dist/types.d.ts CHANGED
@@ -102,7 +102,7 @@ export declare type CompletionConfig = {
102
102
  completionConfigID: string;
103
103
  configName: string;
104
104
  description?: string;
105
- provider: 'OpenAI' | 'Anthropic' | 'Mistral' | 'Azure_OpenAI' | 'AWS_Anthropic';
105
+ provider: 'OpenAI' | 'Anthropic' | 'Mistral' | 'Azure_OpenAI' | 'AWS_Anthropic' | 'Vertex_Anthropic';
106
106
  endPoint?: string;
107
107
  apiKey?: string;
108
108
  model: string;
@@ -119,6 +119,7 @@ export declare type CompletionConfig = {
119
119
  region?: string;
120
120
  modelId?: string;
121
121
  accessKeyId?: string;
122
+ projectId?: string;
122
123
  secretAccessKey?: string;
123
124
  location?: string;
124
125
  clientSecret?: string;
package/esm/types.d.ts CHANGED
@@ -102,7 +102,7 @@ export declare type CompletionConfig = {
102
102
  completionConfigID: string;
103
103
  configName: string;
104
104
  description?: string;
105
- provider: 'OpenAI' | 'Anthropic' | 'Mistral' | 'Azure_OpenAI' | 'AWS_Anthropic';
105
+ provider: 'OpenAI' | 'Anthropic' | 'Mistral' | 'Azure_OpenAI' | 'AWS_Anthropic' | 'Vertex_Anthropic';
106
106
  endPoint?: string;
107
107
  apiKey?: string;
108
108
  model: string;
@@ -119,6 +119,7 @@ export declare type CompletionConfig = {
119
119
  region?: string;
120
120
  modelId?: string;
121
121
  accessKeyId?: string;
122
+ projectId?: string;
122
123
  secretAccessKey?: string;
123
124
  location?: string;
124
125
  clientSecret?: string;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "6.3.0",
2
+ "version": "6.4.0",
3
3
  "name": "@memori.ai/memori-api-client",
4
4
  "description": "React library to integrate a Memori in your app or website",
5
5
  "license": "Apache-2.0",
package/src/types.ts CHANGED
@@ -145,13 +145,16 @@ export declare type CompletionConfig = {
145
145
  * - Anthropic
146
146
  * - Mistral
147
147
  * - Azure_OpenAI
148
+ * - AWS_Anthropic
149
+ * - Vertex_Anthropic
148
150
  */
149
151
  provider:
150
152
  | 'OpenAI'
151
153
  | 'Anthropic'
152
154
  | 'Mistral'
153
155
  | 'Azure_OpenAI'
154
- | 'AWS_Anthropic';
156
+ | 'AWS_Anthropic'
157
+ | 'Vertex_Anthropic';
155
158
  /**
156
159
  * @type {string=}
157
160
  * URL of the Completion Provider API end-point. If not specified, the default end-point for the provider is used.
@@ -238,6 +241,11 @@ export declare type CompletionConfig = {
238
241
  * Access Key ID of the AWS Anthropic model.
239
242
  */
240
243
  accessKeyId?: string;
244
+ /**
245
+ * @type {string=}
246
+ * Project ID of the Vertex Anthropic model.
247
+ */
248
+ projectId?: string;
241
249
  /**
242
250
  * @type {string=}
243
251
  * Secret Access Key of the AWS Anthropic model.