Skip to content

Commit 5607747

Browse files
authored
Migrate to SharedWorker (#371)
feat(shared-worker): migrate to shared worker Use `SharedWorker` instead of `Service Worker` for better PubNub client instances feedback. feat(shared-worker): add worker log verbosity flag Add configuration option to enable debug log output from the subscription `SharedWorker`. refactor: add declarations generation Create types declaration files.
1 parent 3fff075 commit 5607747

File tree

359 files changed

+15477
-1196
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

359 files changed

+15477
-1196
lines changed

.prettierrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"parser" : "typescript",
23
"semi": true,
34
"printWidth": 120,
45
"singleQuote": true,

.pubnub.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
---
22
changelog:
3+
- date: 2024-05-16
4+
version: v8.1.0
5+
changes:
6+
- type: feature
7+
text: "Use `SharedWorker` instead of `Service Worker` for better PubNub client instances feedback."
8+
- type: feature
9+
text: "Add configuration option to enable debug log output from the subscription `SharedWorker`."
10+
- type: improvement
11+
text: "Create types declaration files."
312
- date: 2024-04-23
413
version: v8.0.1
514
changes:
@@ -972,7 +981,7 @@ supported-platforms:
972981
- 'Ubuntu 14.04 and up'
973982
- 'Windows 7 and up'
974983
version: 'Pubnub Javascript for Node'
975-
version: '8.0.1'
984+
version: '8.1.0'
976985
sdks:
977986
- full-name: PubNub Javascript SDK
978987
short-name: Javascript
@@ -988,7 +997,7 @@ sdks:
988997
- distribution-type: source
989998
distribution-repository: GitHub release
990999
package-name: pubnub.js
991-
location: https://github.com/pubnub/javascript/archive/refs/tags/v8.0.1.zip
1000+
location: https://github.com/pubnub/javascript/archive/refs/tags/v8.1.0.zip
9921001
requires:
9931002
- name: 'agentkeepalive'
9941003
min-version: '3.5.2'
@@ -1659,7 +1668,7 @@ sdks:
16591668
- distribution-type: library
16601669
distribution-repository: GitHub release
16611670
package-name: pubnub.js
1662-
location: https://github.com/pubnub/javascript/releases/download/v8.0.1/pubnub.8.0.1.js
1671+
location: https://github.com/pubnub/javascript/releases/download/v8.1.0/pubnub.8.1.0.js
16631672
requires:
16641673
- name: 'agentkeepalive'
16651674
min-version: '3.5.2'

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## v8.1.0
2+
May 16 2024
3+
4+
#### Added
5+
- Use `SharedWorker` instead of `Service Worker` for better PubNub client instances feedback.
6+
- Add configuration option to enable debug log output from the subscription `SharedWorker`.
7+
8+
#### Modified
9+
- Create types declaration files.
10+
111
## v8.0.1
212
April 23 2024
313

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ Watch [Getting Started with PubNub JS SDK](https://app.dashcam.io/replay/64ee0d2
2828
npm install pubnub
2929
```
3030
* or download one of our builds from our CDN:
31-
* https://cdn.pubnub.com/sdk/javascript/pubnub.8.0.1.js
32-
* https://cdn.pubnub.com/sdk/javascript/pubnub.8.0.1.min.js
31+
* https://cdn.pubnub.com/sdk/javascript/pubnub.8.1.0.js
32+
* https://cdn.pubnub.com/sdk/javascript/pubnub.8.1.0.min.js
3333
3434
2. Configure your keys:
3535

0 commit comments

Comments
 (0)