@@ -55,7 +55,10 @@ export function useSeamClient(): {
55
55
if ( client != null )
56
56
return {
57
57
client,
58
- endpointClient : SeamHttpEndpoints . fromClient ( client . client ) ,
58
+ endpointClient : SeamHttpEndpoints . fromClient (
59
+ client . client ,
60
+ clientOptions ,
61
+ ) ,
59
62
clientWithoutWorkspace : null ,
60
63
endpointClientWithoutWorkspace : null ,
61
64
}
@@ -68,7 +71,10 @@ export function useSeamClient(): {
68
71
69
72
return {
70
73
client : seam ,
71
- endpointClient : SeamHttpEndpoints . fromClient ( seam . client ) ,
74
+ endpointClient : SeamHttpEndpoints . fromClient (
75
+ seam . client ,
76
+ clientOptions ,
77
+ ) ,
72
78
clientWithoutWorkspace : null ,
73
79
endpointClientWithoutWorkspace : null ,
74
80
}
@@ -83,19 +89,26 @@ export function useSeamClient(): {
83
89
84
90
return {
85
91
client : seam ,
86
- endpointClient : SeamHttpEndpoints . fromClient ( seam . client ) ,
92
+ endpointClient : SeamHttpEndpoints . fromClient (
93
+ seam . client ,
94
+ clientOptions ,
95
+ ) ,
87
96
clientWithoutWorkspace : null ,
88
97
endpointClientWithoutWorkspace : null ,
89
98
}
90
99
}
91
100
92
101
if ( consoleSessionToken != null ) {
93
102
const clientWithoutWorkspace =
94
- SeamHttpWithoutWorkspace . fromConsoleSessionToken ( consoleSessionToken )
103
+ SeamHttpWithoutWorkspace . fromConsoleSessionToken (
104
+ consoleSessionToken ,
105
+ clientOptions ,
106
+ )
95
107
96
108
const endpointClientWithoutWorkspace =
97
109
SeamHttpEndpointsWithoutWorkspace . fromClient (
98
110
clientWithoutWorkspace . client ,
111
+ clientOptions ,
99
112
)
100
113
101
114
if ( workspaceId == null ) {
@@ -115,7 +128,10 @@ export function useSeamClient(): {
115
128
116
129
return {
117
130
client : seam ,
118
- endpointClient : SeamHttpEndpoints . fromClient ( seam . client ) ,
131
+ endpointClient : SeamHttpEndpoints . fromClient (
132
+ seam . client ,
133
+ clientOptions ,
134
+ ) ,
119
135
clientWithoutWorkspace,
120
136
endpointClientWithoutWorkspace,
121
137
}
0 commit comments