API_ENDPOINT undefined in typescript SDK

I tried these code in doc
https://docs.amity.co/social/typescript-react-native/getting-started

import {
API_ENDPOINT,
createClient,
enableCache,
} from “@amityco/ts-sdk”;

const apiKey = “apiKey”;

export const client = createClient(apiKey, API_ENDPOINT.EU)
enableCache()

but it response API_ENDPOINT is undefined

TypeError: undefined is not an object (evaluating ‘_$$_REQUIRE(_dependencyMap[4], “@amityco/ts-sdk”).API_ENDPOINT.SG’)

I used “@amityco/ts-sdk”: “^0.0.1-beta.14”

Hello @naphat the team has investigated this issue and we will release the fix in the next release. However, we recommend you to use createClient(apiKey, 'eu') for temporary solution. We will update you once the fix release, thank you :pray: :blush:

@SocialPlus_Support thank you
can u help to check on getCommunityTopic I got undefined on “@amityco/ts-sdk”: “^0.0.1-beta.11”
what version I should use ?

TypeError: (0, _$$_REQUIRE(_dependencyMap[5], “@amityco/ts-sdk”).getCommunityTopic) is not a function. (In ‘(0, _$$_REQUIRE(dependencyMap[5], “@amityco/ts-sdk”).getCommunityTopic)($$_REQUIRE(_dependencyMap[5], “@amityco/ts-sdk”).communityModel, ‘post_and_comment’)’, ‘(0, _$$_REQUIRE(_dependencyMap[5], “@amityco/ts-sdk”).getCommunityTopic)’ is undefined)

Hello @naphat can you please try with the latest sdk which is version 0.0.1 Beta.14?

I just tried beta.13 it works perfectly well !