@vulog/aima-client 1.2.5 → 1.2.7

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/dist/index.d.mts CHANGED
@@ -21,7 +21,6 @@ type ClientOptions = {
21
21
  logResponse?: boolean;
22
22
  store?: Store;
23
23
  onLog?: (...args: any[]) => void;
24
- userAgent?: string;
25
24
  };
26
25
  type ClientError = {
27
26
  formattedError: {
package/dist/index.d.ts CHANGED
@@ -21,7 +21,6 @@ type ClientOptions = {
21
21
  logResponse?: boolean;
22
22
  store?: Store;
23
23
  onLog?: (...args: any[]) => void;
24
- userAgent?: string;
25
24
  };
26
25
  type ClientError = {
27
26
  formattedError: {
package/dist/index.js CHANGED
@@ -160,8 +160,7 @@ var getClient = (options) => {
160
160
  headers: {
161
161
  "Cache-Control": "no-cache",
162
162
  "Content-Type": "application/json",
163
- "X-Api-Key": options.apiKey,
164
- "User-Agent": options.userAgent ?? `aima-node/${"1.2.5"} ${options.fleetId}`
163
+ "X-Api-Key": options.apiKey
165
164
  },
166
165
  withCredentials: false
167
166
  });
package/dist/index.mjs CHANGED
@@ -124,8 +124,7 @@ var getClient = (options) => {
124
124
  headers: {
125
125
  "Cache-Control": "no-cache",
126
126
  "Content-Type": "application/json",
127
- "X-Api-Key": options.apiKey,
128
- "User-Agent": options.userAgent ?? `aima-node/${"1.2.5"} ${options.fleetId}`
127
+ "X-Api-Key": options.apiKey
129
128
  },
130
129
  withCredentials: false
131
130
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vulog/aima-client",
3
- "version": "1.2.5",
3
+ "version": "1.2.7",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",