relayx-js 1.0.0 → 1.0.1
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/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,14 +9,14 @@ A powerful library for integrating real-time communication into your software st
|
|
|
9
9
|
|
|
10
10
|
## Installation
|
|
11
11
|
Install the relay library by running the command below in your terminal<br>
|
|
12
|
-
`npm install
|
|
12
|
+
`npm install relayx-js`
|
|
13
13
|
|
|
14
14
|
## Usage
|
|
15
15
|
### Prerequisites
|
|
16
16
|
1. Obtain API key and Secret key
|
|
17
17
|
2. Initialize the library
|
|
18
18
|
```javascript
|
|
19
|
-
import { Realtime, CONNECTED, RECONNECT, DISCONNECTED } from "
|
|
19
|
+
import { Realtime, CONNECTED, RECONNECT, DISCONNECTED } from "relayx-js"
|
|
20
20
|
|
|
21
21
|
var realtime = new Realtime({
|
|
22
22
|
api_key: process.env.api_key,
|