You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2024. It is now read-only.
"Using API Key as Client Session Token is deprecated. Please use the clientSessionToken option instead."
85
-
)
86
-
return{"client-session-token": apiKey}
87
-
}
88
-
if(!apiKey.startsWith("seam_at")&&workspaceId)
89
-
thrownewError(
90
-
"You can't use API Key Authentication AND specify a workspace. Your API Key only works for the workspace it was created in. To use Session Key Authentication with multi-workspace support, contact Seam support."
91
-
)
92
-
return{authorization: `Bearer ${apiKey}`}
93
-
}
94
-
thrownewError(
95
-
"Must provide either clientSessionToken or apiKey (API Key or Access Token with Workspace ID)."
"Using API Key as Client Session Token is deprecated. Please use the clientSessionToken option instead."
207
+
)
208
+
return{"client-session-token": apiKey}
209
+
}
210
+
if(!apiKey.startsWith("seam_at")&&workspaceId)
211
+
thrownewError(
212
+
"You can't use API Key Authentication AND specify a workspace. Your API Key only works for the workspace it was created in. To use Session Key Authentication with multi-workspace support, contact Seam support."
213
+
)
214
+
return{authorization: `Bearer ${apiKey}`}
215
+
}
216
+
thrownewError(
217
+
"Must provide either clientSessionToken or apiKey (API Key or Access Token with Workspace ID)."
0 commit comments