@kesha-antonov/react-native-action-cable
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "@kesha-antonov/react-native-action-cable", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Use Rails 5+ ActionCable channels with React Native for realtime magic.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -19,3 +19,3 @@ [![npm version](https://badge.fury.io/js/action-cable-react.svg)](https://badge.fury.io/js/action-cable-react) | ||
```yarn add react-native-action-cable``` | ||
```yarn add @kesha-antonov/react-native-action-cable``` | ||
@@ -30,3 +30,3 @@ ## Usage | ||
Cable, | ||
} from 'react-native-action-cable' | ||
} from '@kesha-antonov/react-native-action-cable' | ||
``` | ||
@@ -100,3 +100,3 @@ | ||
if (this.state.isWebsocketConnected) return | ||
this.setState({ isWebsocketConnected: true }) | ||
@@ -107,3 +107,3 @@ } | ||
if (!this.state.isWebsocketConnected) return | ||
this.setState({ isWebsocketConnected: false }) | ||
@@ -110,0 +110,0 @@ } |
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
30005