createClient and disconnectClient showing error in ts-sdk

During my work on a Next.js project that revolves around user authentication, I faced an issue. This problem arose when I was using the create client and ‘disconnectClient’ functions, they both showed errors that

" Module ‘“@amityco/ts-sdk”’ has no exported member ‘connectClient’.ts(2305)"
“Module '”@amityco/ts-sdk"’ has no exported member ‘disconnectClient’.ts(2305)"

ts-sdk version 6.10.0

Hello, the function names have been changed, please refer to the docs below:

1 Like