@contential/chat
Advanced tools
Comparing version 0.0.5 to 0.0.6
# @contential/chat | ||
## 0.0.5 | ||
## 0.0.6 | ||
@@ -9,1 +9,2 @@ ### Patch Changes | ||
- aab0d43: Added chat client | ||
- 2e58fe6: Updated chat options |
@@ -9,2 +9,4 @@ type ChatClientOptions = { | ||
interface ChatOptions { | ||
chatSessionId: string; | ||
messageUserId: string; | ||
text: string; | ||
@@ -36,4 +38,3 @@ onUpdate: ChatOnUpdate; | ||
}; | ||
declare const testApi = "testApi"; | ||
export { ChatClientOptions, ChatConfig, ChatOnUpdate, ChatOptions, ChatOptionsData, MESSAGE_TYPES, Message, MessageType, getClient, testApi }; | ||
export { ChatClientOptions, ChatConfig, ChatOnUpdate, ChatOptions, ChatOptionsData, MESSAGE_TYPES, Message, MessageType, getClient }; |
@@ -44,4 +44,3 @@ "use strict"; | ||
MESSAGE_TYPES: () => MESSAGE_TYPES, | ||
getClient: () => getClient2, | ||
testApi: () => testApi | ||
getClient: () => getClient2 | ||
}); | ||
@@ -171,4 +170,4 @@ module.exports = __toCommonJS(src_exports); | ||
data: { | ||
chatSessionId: "chat_5f91a6469d83c5158645cf86b2acfbda92382dce", | ||
messageUserId: "user_123", | ||
chatSessionId: options2.chatSessionId, | ||
messageUserId: options2.messageUserId, | ||
text: options2.text | ||
@@ -182,3 +181,2 @@ }, | ||
}; | ||
var testApi = "testApi"; | ||
@@ -190,4 +188,3 @@ // src/types.ts | ||
MESSAGE_TYPES, | ||
getClient, | ||
testApi | ||
getClient | ||
}); |
{ | ||
"name": "@contential/chat", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12992
376