Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing StatusCategory export #428

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
---
changelog:
- date: 2025-01-08
version: v8.4.2
changes:
- type: bug
text: "Fix issue with missing `StatusCategory` export in types definition file."
- date: 2025-01-02
version: v8.4.1
changes:
Expand Down Expand Up @@ -1099,7 +1104,7 @@ supported-platforms:
- 'Ubuntu 14.04 and up'
- 'Windows 7 and up'
version: 'Pubnub Javascript for Node'
version: '8.4.1'
version: '8.4.2'
sdks:
- full-name: PubNub Javascript SDK
short-name: Javascript
Expand All @@ -1115,7 +1120,7 @@ sdks:
- distribution-type: source
distribution-repository: GitHub release
package-name: pubnub.js
location: https://github.com/pubnub/javascript/archive/refs/tags/v8.4.1.zip
location: https://github.com/pubnub/javascript/archive/refs/tags/v8.4.2.zip
requires:
- name: 'agentkeepalive'
min-version: '3.5.2'
Expand Down Expand Up @@ -1786,7 +1791,7 @@ sdks:
- distribution-type: library
distribution-repository: GitHub release
package-name: pubnub.js
location: https://github.com/pubnub/javascript/releases/download/v8.4.1/pubnub.8.4.1.js
location: https://github.com/pubnub/javascript/releases/download/v8.4.2/pubnub.8.4.2.js
requires:
- name: 'agentkeepalive'
min-version: '3.5.2'
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## v8.4.2
January 08 2025

#### Fixed
- Fix issue with missing `StatusCategory` export in types definition file.

## v8.4.1
January 02 2025

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ Watch [Getting Started with PubNub JS SDK](https://app.dashcam.io/replay/64ee0d2
npm install pubnub
```
* or download one of our builds from our CDN:
* https://cdn.pubnub.com/sdk/javascript/pubnub.8.4.1.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.8.4.1.min.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.8.4.2.js
* https://cdn.pubnub.com/sdk/javascript/pubnub.8.4.2.min.js

2. Configure your keys:

Expand Down
2 changes: 1 addition & 1 deletion dist/web/pubnub.js
Original file line number Diff line number Diff line change
Expand Up @@ -3961,7 +3961,7 @@
return base.PubNubFile;
},
get version() {
return '8.4.1';
return '8.4.2';
},
getVersion() {
return this.version;
Expand Down
2 changes: 1 addition & 1 deletion dist/web/pubnub.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/core/components/configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const makeConfiguration = (base, setupCryptoModule) => {
return base.PubNubFile;
},
get version() {
return '8.4.1';
return '8.4.2';
},
getVersion() {
return this.version;
Expand Down
3 changes: 2 additions & 1 deletion lib/core/constants/categories.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.StatusCategory = void 0;
/**
* Request processing status categories.
*/
Expand Down Expand Up @@ -80,5 +81,5 @@ var StatusCategory;
* PubNub client unexpectedly disconnected from the real-time updates streams.
*/
StatusCategory["PNDisconnectedUnexpectedlyCategory"] = "PNDisconnectedUnexpectedlyCategory";
})(StatusCategory || (StatusCategory = {}));
})(StatusCategory || (exports.StatusCategory = StatusCategory = {}));
exports.default = StatusCategory;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pubnub",
"version": "8.4.1",
"version": "8.4.2",
"author": "PubNub <[email protected]>",
"description": "Publish & Subscribe Real-time Messaging with PubNub",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/core/components/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export const makeConfiguration = (
return base.PubNubFile;
},
get version(): string {
return '8.4.1';
return '8.4.2';
},
getVersion(): string {
return this.version;
Expand Down
2 changes: 1 addition & 1 deletion src/core/constants/categories.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Request processing status categories.
*/
enum StatusCategory {
export enum StatusCategory {
/**
* Call failed when network was unable to complete the call.
*/
Expand Down