podchat-browser 12.9.3 → 12.9.4
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 +13 -1
- package/dist/node/buildConfig.json +1 -1
- package/dist/node/chat.js +130 -121
- package/dist/node/lib/sdkParams.js +19 -0
- package/dist/podchat-browser-bundle.js +3273 -3695
- package/examples/index.html +20 -0
- package/package.json +2 -2
- package/src/buildConfig.json +1 -1
- package/src/chat.js +222 -207
- package/src/lib/sdkParams.js +13 -0
package/examples/index.html
CHANGED
|
@@ -3377,6 +3377,26 @@ Thread: <input type="text" id="threadInput" autocomplete="on" width="500">
|
|
|
3377
3377
|
})
|
|
3378
3378
|
});
|
|
3379
3379
|
|
|
3380
|
+
function deleteMultipleMessages(){
|
|
3381
|
+
chatAgent.deleteMultipleMessages({
|
|
3382
|
+
messageIds: [
|
|
3383
|
+
863183710,
|
|
3384
|
+
854269101,
|
|
3385
|
+
854268962,
|
|
3386
|
+
854268862,
|
|
3387
|
+
854268682,
|
|
3388
|
+
854268651,
|
|
3389
|
+
854268176,
|
|
3390
|
+
854267902,
|
|
3391
|
+
854267454
|
|
3392
|
+
]
|
|
3393
|
+
}, function(result) {
|
|
3394
|
+
console.log("deleteMultipleMessages:: ", {result});
|
|
3395
|
+
})
|
|
3396
|
+
}
|
|
3397
|
+
|
|
3398
|
+
window.deleteMultipleMessages = deleteMultipleMessages;
|
|
3399
|
+
|
|
3380
3400
|
|
|
3381
3401
|
</script>
|
|
3382
3402
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "podchat-browser",
|
|
3
|
-
"version": "12.9.
|
|
3
|
+
"version": "12.9.4",
|
|
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.4",
|
|
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.4","date":"۱۴۰۲/۴/۱۱","VersionInfo":"Release: true, Snapshot: false, Is For Test: false"}
|