js-broadcast-channel 1.3.2 → 1.3.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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +17 -3
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
- # broadcaster-channel
1
+ # js-broadcast-channel
2
2
 
3
3
  A lightweight TypeScript library for cross-tab communication using the BroadcastChannel API. This package provides a simple interface for sending and receiving messages between different browser tabs or windows.
4
4
 
5
5
  ## Installation
6
6
 
7
- npm install broadcaster-channel
7
+ npm install js-broadcast-channel
8
8
 
9
9
  ## Features
10
10
 
@@ -20,7 +20,7 @@ npm install broadcaster-channel
20
20
  ### Basic Usage
21
21
 
22
22
  ```typescript
23
- import { BroadcastJS } from 'broadcaster-channel';
23
+ import { BroadcastJS } from 'js-broadcast-channel';
24
24
  // Initialize BroadcastJS with a channel name
25
25
  const broadcast = new BroadcastJS('my-channel');
26
26
  // Send a message
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "js-broadcast-channel",
3
- "version": "1.3.2",
3
+ "version": "1.3.4",
4
4
  "description": "Broadcast-js",
5
5
  "main": "index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,7 +11,21 @@
11
11
  "prepare": "npm run build"
12
12
  },
13
13
  "keywords": [
14
- "BroadcastAPI"
14
+ "broadcast-channel",
15
+ "broadcast-api",
16
+ "cross-tab",
17
+ "cross-window",
18
+ "browser-communication",
19
+ "tab-communication",
20
+ "messaging",
21
+ "browser-messaging",
22
+ "typescript",
23
+ "browser-sync",
24
+ "window-communication",
25
+ "browser-events",
26
+ "web-messaging",
27
+ "channel-api",
28
+ "browser-tabs"
15
29
  ],
16
30
  "author": "Alireza Valipou",
17
31
  "license": "ISC",
@@ -36,4 +50,4 @@
36
50
  "tsup": "^8.3.6",
37
51
  "typescript": "^5.7.3"
38
52
  }
39
- }
53
+ }