File tree Expand file tree Collapse file tree 5 files changed +23
-2
lines changed Expand file tree Collapse file tree 5 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 14719
14719
* API call status category.
14720
14720
*/
14721
14721
PubNubCore.CATEGORIES = StatusCategory$1;
14722
+ /**
14723
+ * Enum with API endpoint groups which can be used with retry policy to set up exclusions (which shouldn't be
14724
+ * retried).
14725
+ */
14726
+ PubNubCore.Endpoint = Endpoint;
14722
14727
/**
14723
14728
* Exponential retry policy constructor.
14724
14729
*/
Original file line number Diff line number Diff line change @@ -2216,6 +2216,11 @@ PubNubCore.OPERATIONS = operations_1.default;
2216
2216
* API call status category.
2217
2217
*/
2218
2218
PubNubCore . CATEGORIES = categories_1 . default ;
2219
+ /**
2220
+ * Enum with API endpoint groups which can be used with retry policy to set up exclusions (which shouldn't be
2221
+ * retried).
2222
+ */
2223
+ PubNubCore . Endpoint = retryPolicy_1 . Endpoint ;
2219
2224
/**
2220
2225
* Exponential retry policy constructor.
2221
2226
*/
Original file line number Diff line number Diff line change @@ -53,6 +53,11 @@ declare class PubNubCore<
53
53
* API call status category.
54
54
*/
55
55
static CATEGORIES : typeof PubNub . StatusCategory ;
56
+ /**
57
+ * Enum with API endpoint groups which can be used with retry policy to set up exclusions (which shouldn't be
58
+ * retried).
59
+ */
60
+ static Endpoint : typeof PubNub . Endpoint ;
56
61
/**
57
62
* Exponential retry policy constructor.
58
63
*/
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ import StatusCategory from './constants/categories';
32
32
33
33
import { createValidationError , PubNubError } from '../errors/pubnub-error' ;
34
34
import { PubNubAPIError } from '../errors/pubnub-api-error' ;
35
- import { RetryPolicy } from './components/retryPolicy' ;
35
+ import { RetryPolicy , Endpoint } from './components/retryPolicy' ;
36
36
37
37
// region Event Engine
38
38
import { PresenceEventEngine } from '../event-engine/presence/presence' ;
@@ -295,6 +295,12 @@ export class PubNubCore<
295
295
*/
296
296
static CATEGORIES = StatusCategory ;
297
297
298
+ /**
299
+ * Enum with API endpoint groups which can be used with retry policy to set up exclusions (which shouldn't be
300
+ * retried).
301
+ */
302
+ static Endpoint = Endpoint ;
303
+
298
304
/**
299
305
* Exponential retry policy constructor.
300
306
*/
You can’t perform that action at this time.
0 commit comments