podchat-browser 12.9.2 → 12.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +6 -0
- package/dist/node/buildConfig.json +1 -1
- package/dist/node/chat.js +1 -1
- package/dist/podchat-browser-bundle.js +8344 -7892
- package/package.json +2 -2
- package/src/buildConfig.json +1 -1
- package/src/chat.js +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "podchat-browser",
|
|
3
|
-
"version": "12.9.
|
|
3
|
+
"version": "12.9.3",
|
|
4
4
|
"description": "Javascript SDK to use POD's Chat Service - Browser Only",
|
|
5
5
|
"main": "./dist/node/chat.js",
|
|
6
6
|
"scripts": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"publish:snapshot": "npm run version:snapshot && npm run build && npm run commitVersionChanges && npm publish --tag snapshot",
|
|
9
9
|
"version:snapshot": "npm version prerelease --preid snapshot",
|
|
10
10
|
"publish:release": "npm run version:release && npm run build && npm run commitVersionChanges && npm publish",
|
|
11
|
-
"version:release": "npm version 12.9.
|
|
11
|
+
"version:release": "npm version 12.9.3",
|
|
12
12
|
"build:browser": "browserify -t [ babelify ] src/chat.js > dist/podchat-browser-bundle.js",
|
|
13
13
|
"build:npm": "babel src -d dist/node --copy-files",
|
|
14
14
|
"commitVersionChanges": "git add . && git commit -m \"Version\" && npm run wait",
|
package/src/buildConfig.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"12.9.
|
|
1
|
+
{"version":"12.9.3","date":"۱۴۰۲/۳/۳۰","VersionInfo":"Release: true, Snapshot: false, Is For Test: false"}
|
package/src/chat.js
CHANGED
|
@@ -3054,6 +3054,9 @@ function Chat(params) {
|
|
|
3054
3054
|
chatMessaging.messagesCallbacks[uniqueId](Utility.createReturnData(false, '', 0, messageContent));
|
|
3055
3055
|
}
|
|
3056
3056
|
|
|
3057
|
+
if(!messageContent) {
|
|
3058
|
+
messageContent = {};
|
|
3059
|
+
}
|
|
3057
3060
|
messageContent.threadId = threadId;
|
|
3058
3061
|
chatEvents.fireEvent('threadEvents', {
|
|
3059
3062
|
type: 'DELETE_THREAD',
|