So Thank you for help , please can you provide me the steps after this
import { API_REGIONS, Client, enableCache } from '@amityco/ts-sdk';
const apiKey = 'b0e9ec5d3eddf5641f328d4a555b168ed20c8bb0bf356b7a';
const client = Client.createClient(apiKey, API_REGIONS.EU);
enableCache();
And when log the response in the SDK It return
{"accessTokenExpiryWatcher": [Function accessTokenExpiryWatcher], "apiKey": "b0e9ec5d3eddf5641f328d4a555b168ed20c8bb0bf356b7a", "cache": {"data": {}}, "emitter": {"all": Map {}, "emit": [Function emit], "off": [Function off], "on": [Function on]}, "getFeedSettings": [Function getFeedSettings], "getMarkerSyncConsistentMode": [Function getMarkerSyncConsistentMode], "getMessagePreviewSetting": [Function getMessagePreviewSetting], "getSocialSettings": [Function getSocialSettings], "hasPermission": [Function hasPermission$1], "http": [Function wrap], "isUnreadCountEnabled": false, "log": [Function print], "mqtt": {"connect": [Function connect], "connected": false, "disconnect": [Function disconnect], "off": [Function off], "on": [Function on], "once": [Function once], "removeAllListeners": [Function removeAllListeners], "subscribe": [Function subscribe], "unsubscribe": [Function unsubscribe]}, "sessionHandler": undefined, "sessionState": "notLoggedIn", "use": [Function use], "validateTexts": [Function validateTexts], "validateUrls": [Function validateUrls], "version": "v6.22.0-cjs", "ws": {"_callbacks": {"$connect": [Array], "$connecting": [Array], "$disconnect": [Array]}, "acks": {}, "connected": false, "disconnected": true, "flags": {}, "ids": 0, "io": {"_randomizationFactor": 0.5, "_reconnection": true, "_reconnectionAttempts": Infinity, "_reconnectionDelay": 2000, "_reconnectionDelayMax": 5000, "_timeout": 20000, "autoConnect": false, "backoff": [Backoff], "connecting": [Array], "decoder": [Decoder], "encoder": [Encoder], "encoding": false, "lastPing": null, "nsps": [Object], "opts": [Object], "packetBuffer": [Array], "readyState": "closed", "subs": [Array], "uri": "https://api.sg.amity.co"}, "json": [Circular], "nsp": "/", "receiveBuffer": [], "sendBuffer": []}}
But I want to connect with EU and I put this already so why?
and how can connect with API to make login ?
@amitysupport