Skip to content

Commit 9b136e4

Browse files
committed
Update message to refer to SeamQueryProvider
1 parent 4ee8536 commit 9b136e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/seam/use-seam-client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export class NullSeamClientError extends Error {
6565
super(
6666
[
6767
'Attempted to use a null Seam client.',
68-
'Either a hook using useSeamClient was called outside of a SeamProvider,',
68+
'Either a hook using useSeamClient was called outside of a SeamProvider or SeamQueryProvider,',
6969
'or there was an error when creating the Seam client in useSeamClient,',
7070
'or useSeamClient is still loading the client.',
7171
].join(' ')
@@ -81,7 +81,7 @@ function useUserIdentifierKeyOrFingerprint(
8181
useEffect(() => {
8282
if (userIdentifierKey != null) return
8383
// eslint-disable-next-line no-console
84-
console.warn(`Using an automatically generated fingerprint for the SeamProvider userIdentifierKey!
84+
console.warn(`Using an automatically generated fingerprint for the Seam userIdentifierKey!
8585
The user interface will show warnings when using a fingerprint.
8686
This is not recommended because the client session is now bound to this machine and is effectively ephemeral.`)
8787
}, [userIdentifierKey])

0 commit comments

Comments
 (0)