Skip to content

Commit 9f8c228

Browse files
committed
fix(types): fix missing StatusCategory export
Fix issue with missing `StatusCategory` export in types definition file.
1 parent 1a2ddeb commit 9f8c228

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/core/constants/categories.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"use strict";
22
Object.defineProperty(exports, "__esModule", { value: true });
3+
exports.StatusCategory = void 0;
34
/**
45
* Request processing status categories.
56
*/
@@ -80,5 +81,5 @@ var StatusCategory;
8081
* PubNub client unexpectedly disconnected from the real-time updates streams.
8182
*/
8283
StatusCategory["PNDisconnectedUnexpectedlyCategory"] = "PNDisconnectedUnexpectedlyCategory";
83-
})(StatusCategory || (StatusCategory = {}));
84+
})(StatusCategory || (exports.StatusCategory = StatusCategory = {}));
8485
exports.default = StatusCategory;

src/core/constants/categories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Request processing status categories.
33
*/
4-
enum StatusCategory {
4+
export enum StatusCategory {
55
/**
66
* Call failed when network was unable to complete the call.
77
*/

0 commit comments

Comments
 (0)