We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 436072c commit 92c72a8Copy full SHA for 92c72a8
src/lib/seam/connect/parse-options.ts
@@ -10,7 +10,7 @@ import {
10
11
const defaultEndpoint = 'https://connect.getseam.com'
12
13
-const defaultHeaders = {
+const sdkHeaders = {
14
'seam-sdk-name': 'seamapi/javascript-http',
15
'seam-sdk-version': version,
16
}
@@ -30,9 +30,9 @@ export const parseOptions = (
30
withCredentials: isSeamHttpOptionsWithClientSessionToken(options),
31
...options.axiosOptions,
32
headers: {
33
- ...defaultHeaders,
34
...getAuthHeaders(options),
35
...options.axiosOptions?.headers,
+ ...sdkHeaders,
36
},
37
38
axiosRetryOptions: {
0 commit comments