Skip to content

Commit

Permalink
fix: add prefixDeviceIdKey when create a client
Browse files Browse the repository at this point in the history
  • Loading branch information
ptchayap committed Oct 17, 2024
1 parent 11db3e6 commit 979a18c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@amityco/react-native-cli-chat-ui-kit",
"version": "0.5.0",
"version": "0.5.1",
"description": "Chat UIKit",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down
1 change: 1 addition & 0 deletions src/providers/auth-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export const AuthContextProvider: FC<IAmityUIkitProvider> = ({

const client: Amity.Client = Client.createClient(apiKey, apiRegion, {
apiEndpoint: { http: apiEndpoint },
prefixDeviceIdKey: 'chat',
});

const sessionHandler: Amity.SessionHandler = {
Expand Down

0 comments on commit 979a18c

Please sign in to comment.