@@ -19,6 +19,7 @@ import {
1919 type SeamHttpOptionsWithClientSessionToken ,
2020} from 'lib/seam/connect/options.js'
2121import { parseOptions } from 'lib/seam/connect/parse-options.js'
22+ import { SeamHttpClientSessions } from 'lib/seam/connect/routes/client-sessions.js'
2223
2324import { SeamHttpAcsAccessGroups } from './acs-access-groups.js'
2425import { SeamHttpAcsCredentials } from './acs-credentials.js'
@@ -73,15 +74,15 @@ export class SeamHttpAcs {
7374 publishableKey : string ,
7475 userIdentifierKey : string ,
7576 options : ClientOptions = { } ,
76- ) : Promise < SeamHttp > {
77+ ) : Promise < SeamHttpAcs > {
7778 const opts = parseOptions ( options )
7879 const client = createClient ( { ...opts , publishableKey } )
7980 const clientSessions = SeamHttpClientSessions . fromClient ( client )
8081 // TODO: clientSessions.getOrCreate({ user_identifier_key: userIdentifierKey })
8182 const { token } = await clientSessions . create ( {
8283 user_identifier_key : userIdentifierKey ,
8384 } )
84- return SeamHttp . fromClientSessionToken ( token , options )
85+ return SeamHttpAcs . fromClientSessionToken ( token , options )
8586 }
8687
8788 get accessGroups ( ) : SeamHttpAcsAccessGroups {
0 commit comments