@@ -31,7 +31,7 @@ export function useSeamClient(): {
3131 ...context
3232 } = useSeamQueryContext ( )
3333 const userIdentifierKey = useUserIdentifierKeyOrFingerprint (
34- clientSessionToken != null ? '' : context . userIdentifierKey
34+ clientSessionToken != null ? '' : context . userIdentifierKey ,
3535 )
3636
3737 const { isPending, isError, error, data } = useQuery < {
@@ -63,7 +63,7 @@ export function useSeamClient(): {
6363 if ( clientSessionToken != null ) {
6464 const seam = SeamHttp . fromClientSessionToken (
6565 clientSessionToken ,
66- clientOptions
66+ clientOptions ,
6767 )
6868
6969 return {
@@ -78,7 +78,7 @@ export function useSeamClient(): {
7878 const seam = await SeamHttp . fromPublishableKey (
7979 publishableKey ,
8080 userIdentifierKey ,
81- clientOptions
81+ clientOptions ,
8282 )
8383
8484 return {
@@ -95,7 +95,7 @@ export function useSeamClient(): {
9595
9696 const endpointClientWithoutWorkspace =
9797 SeamHttpEndpointsWithoutWorkspace . fromClient (
98- clientWithoutWorkspace . client
98+ clientWithoutWorkspace . client ,
9999 )
100100
101101 if ( workspaceId == null ) {
@@ -110,7 +110,7 @@ export function useSeamClient(): {
110110 const seam = SeamHttp . fromConsoleSessionToken (
111111 consoleSessionToken ,
112112 workspaceId ,
113- clientOptions
113+ clientOptions ,
114114 )
115115
116116 return {
@@ -122,7 +122,7 @@ export function useSeamClient(): {
122122 }
123123
124124 throw new Error (
125- 'Missing either a client, publishableKey, clientSessionToken, or consoleSessionToken.'
125+ 'Missing either a client, publishableKey, clientSessionToken, or consoleSessionToken.' ,
126126 )
127127 } ,
128128 } )
@@ -155,15 +155,15 @@ export class NullSeamClientError extends Error {
155155 'Either a hook using useSeamClient was called outside of a SeamProvider or SeamQueryProvider,' ,
156156 'or there was an error when creating the Seam client in useSeamClient,' ,
157157 'or useSeamClient is still loading the client.' ,
158- ] . join ( ' ' )
158+ ] . join ( ' ' ) ,
159159 )
160160 this . name = this . constructor . name
161161 Error . captureStackTrace ( this , this . constructor )
162162 }
163163}
164164
165165function useUserIdentifierKeyOrFingerprint (
166- userIdentifierKey : string | undefined
166+ userIdentifierKey : string | undefined ,
167167) : string {
168168 useEffect ( ( ) => {
169169 if ( userIdentifierKey != null ) return
0 commit comments