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

react-use-intercom

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-use-intercom - npm Package Compare versions

Comparing version 5.1.0 to 5.1.1

5

package.json

@@ -7,3 +7,3 @@ {

"homepage": "https://github.com/devrnt/react-use-intercom#readme",
"version": "5.1.0",
"version": "5.1.1",
"license": "MIT",

@@ -73,3 +73,2 @@ "main": "dist/index.js",

"@types/react-dom": "^18.0.6",
"cypress": "12.7.0",
"eslint-plugin-simple-import-sort": "^10.0.0",

@@ -94,4 +93,2 @@ "jest": "^29.4.1",

"test:coverage": "jest --coverage",
"e2e": "cypress run",
"e2e:open": "cypress open",
"lint": "eslint src test",

@@ -98,0 +95,0 @@ "lint:fix": "eslint --fix",

17

README.md

@@ -23,3 +23,10 @@ <p align="center"><img src="https://raw.githubusercontent.com/devrnt/react-use-intercom/main/assets/logo.png" alt="Logo" height="120px" style="margin-top: 20px;"/></p>

```
```sh
# pnpm
pnpm add react-use-intercom
# npm
npm install react-use-intercom
# yarn
yarn add react-use-intercom

@@ -30,3 +37,3 @@ ```

```js
```ts
import * as React from 'react';

@@ -91,3 +98,3 @@

#### Example
```javascript
```ts
const App = () => {

@@ -149,3 +156,3 @@ const [unreadMessagesCount, setUnreadMessagesCount] = React.useState(0);

#### Example
```javascript
```ts
import * as React from 'react';

@@ -234,3 +241,3 @@

**Remark** - the keys of the `customAttributes` object should be snake cased (this is how Intercom wants them). They are rawly passed to Intercom.
```javascript
```ts
const { boot } = useIntercom();

@@ -237,0 +244,0 @@

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