@unboundcx/sdk 4.13.178 → 4.13.179
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.
- package/index.js +16 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -102,9 +102,24 @@ class UnboundSDK extends BaseSDK {
|
|
|
102
102
|
socketStore,
|
|
103
103
|
baseURL,
|
|
104
104
|
tokenDelivery,
|
|
105
|
+
autoRefresh,
|
|
106
|
+
onUnauthorized,
|
|
107
|
+
refreshToken,
|
|
105
108
|
} = options;
|
|
106
109
|
|
|
107
|
-
|
|
110
|
+
// autoRefresh / onUnauthorized / refreshToken must reach BaseSDK or the
|
|
111
|
+
// 401 refresh-and-retry (lib/refreshInterceptor.js) never runs.
|
|
112
|
+
super({
|
|
113
|
+
namespace,
|
|
114
|
+
callId,
|
|
115
|
+
token,
|
|
116
|
+
fwRequestId,
|
|
117
|
+
baseURL,
|
|
118
|
+
tokenDelivery,
|
|
119
|
+
autoRefresh,
|
|
120
|
+
onUnauthorized,
|
|
121
|
+
refreshToken,
|
|
122
|
+
});
|
|
108
123
|
|
|
109
124
|
// Handle client-side specific parameters
|
|
110
125
|
if (url) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unboundcx/sdk",
|
|
3
|
-
"version": "4.13.
|
|
3
|
+
"version": "4.13.179",
|
|
4
4
|
"description": "Official JavaScript SDK for the Unbound API - A comprehensive toolkit for integrating with Unbound's communication, AI, and data management services",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|