Skip to content

Commit

Permalink
update test type, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
popestr committed Jul 9, 2024
1 parent d84f53d commit 53fa92c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/chat-core-aws-connect/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@yext/chat-core-aws-connect",
"version": "0.1.0-alpha.2",
"version": "0.1.0",
"description": "Typescript Networking Library for the Yext Chat API Integration with Amazon Connect",
"main": "./dist/commonjs/index.js",
"module": "./dist/esm/index.mjs",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ afterEach(() => {
jest.clearAllMocks();
});

function mockChatSession(): connect.ActiveChatSession {
function mockChatSession(): connect.ActiveCustomerChatSession {
return {
onMessage(_: (event: DeepPartial<AwsConnectEvent>) => void) {
return null;
Expand All @@ -55,7 +55,7 @@ function mockChatSession(): connect.ActiveChatSession {
disconnectParticipant() {
return null;
},
} as unknown as connect.ActiveChatSession;
} as unknown as connect.ActiveCustomerChatSession;
}

function mockMessageResponse(): MessageResponse {
Expand Down

0 comments on commit 53fa92c

Please sign in to comment.