@wildix/xbees-conversations-utils 1.1.88 → 1.1.89
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.
|
@@ -48,6 +48,7 @@ function registerStreamInterceptors(stream, context) {
|
|
|
48
48
|
const { axiosInstance, source } = resolveAxiosInstance(stream);
|
|
49
49
|
if (!axiosInstance || !axiosInstance.interceptors?.response?.use) {
|
|
50
50
|
logger.warn('Unable to register stream budget & rate limit interceptors: axios instance not found', {
|
|
51
|
+
streamType: typeof stream,
|
|
51
52
|
streamConstructorName: typeof stream === 'object' && stream !== null ? stream.constructor?.name : undefined,
|
|
52
53
|
streamKeysPreview: getOwnKeysPreview(stream),
|
|
53
54
|
hasAxiosInstanceField: typeof stream === 'object' && stream !== null && 'axiosInstance' in stream,
|
|
@@ -45,6 +45,7 @@ export function registerStreamInterceptors(stream, context) {
|
|
|
45
45
|
const { axiosInstance, source } = resolveAxiosInstance(stream);
|
|
46
46
|
if (!axiosInstance || !axiosInstance.interceptors?.response?.use) {
|
|
47
47
|
logger.warn('Unable to register stream budget & rate limit interceptors: axios instance not found', {
|
|
48
|
+
streamType: typeof stream,
|
|
48
49
|
streamConstructorName: typeof stream === 'object' && stream !== null ? stream.constructor?.name : undefined,
|
|
49
50
|
streamKeysPreview: getOwnKeysPreview(stream),
|
|
50
51
|
hasAxiosInstanceField: typeof stream === 'object' && stream !== null && 'axiosInstance' in stream,
|