New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

amazon-connect-chatjs

Package Overview
Dependencies
Maintainers
6
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amazon-connect-chatjs - npm Package Compare versions

Comparing version 1.1.14 to 1.3.0

12

CHANGELOG.md

@@ -9,2 +9,14 @@ # Changelog

## [1.3.0]
### Added
- Add message receipt. Message Receipts allow the sender of a chat message to view when their message has been delivered and read (seen) by the recipient.
- Add browser and OS usage client side metric to enhance the proactive identify issues.
### Changed
- fix global declaration.
## [1.2.0]
### Added
- Add client side metric service in order to enhance the customer experience and proactively identify issues. Detail: [README.md](https://github.com/amazon-connect/amazon-connect-chatjs#Client-side-metric).
- Update `.babelrc` file to fix the error of `ReferenceError: regeneratorRuntime is not defined`.
## [1.1.14]

@@ -11,0 +23,0 @@ ### Added

14

package.json
{
"name": "amazon-connect-chatjs",
"version": "1.1.14",
"version": "1.3.0",
"main": "dist/amazon-connect-chat.js",

@@ -19,2 +19,3 @@ "types": "src/index.d.ts",

"test": "jest",
"test:watch": "jest --watchAll",
"release": "tsc && jest && webpack --mode=production",

@@ -67,5 +68,5 @@ "devo": "jest && webpack --mode=development",

"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.0",
"@babel/preset-env": "^7.15.4",
"@babel/cli": "^7.17.6",
"babel-loader": "^8.2.4",

@@ -75,10 +76,15 @@ "eslint": "^8.9.0",

"regenerator-runtime": "^0.13.9",
"typescript": "^4.4.2",
"webpack": "^5.54.0",
"webpack-cli": "^4.8.0",
"webpack-dev-server": "^4.8.1",
"typescript": "^4.4.2"
"@babel/eslint-parser": "^7.18.9",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-jest": "^26.6.0"
},
"dependencies": {
"sprintf-js": "^1.1.2"
"sprintf-js": "^1.1.2",
"detect-browser": "5.3.0"
}
}

@@ -98,2 +98,10 @@ # About

region: "us-east-1", // optional, defaults to: "us-west-2"
//Control switch for enabling/disabling message-receipts (Read/Delivered) for messages
//message receipts use sendEvent API for sending Read/Delivered events https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_SendEvent.html
features: {
messageReceipts: {
shouldSendMessageReceipts: false, // by default messageReceipts is enabled
throttleTime: 5000 //default throttle time - time to wait before sending Read/Delivered receipt.
}
}
});

@@ -430,2 +438,11 @@ ```

### Client side metric
In version `1.2.0` the client side metric(CSM) service is added into this library. Client side metric can provide insights into the real performance and usability, it helps us to understnad how customers are actually using the website and what UI experiences they prefer. This feature is enabled by default. User can also disable this feature by passing a flag: `disableCSM` when they create a new chat session:
```
const customerChatSession = connect.ChatSession.create({
...,
disableCSM: true
});
```
### Other

@@ -432,0 +449,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc