@dingrtc/shared
Advanced tools
+16
-25
@@ -465,18 +465,2 @@ import { INamespace, Root } from 'protobufjs/light'; | ||
| } | ||
| interface LogCommonInfo { | ||
| bt?: string; | ||
| bv?: string; | ||
| sdkvrs?: string; | ||
| osn?: string; | ||
| osv?: string; | ||
| apid?: string; | ||
| udid?: string; | ||
| usrn?: string; | ||
| roomName?: string; | ||
| roomId?: string; | ||
| usrid?: string; | ||
| participantId?: string; | ||
| clientId?: string; | ||
| gslb?: string; | ||
| } | ||
| interface SubscriptionBaseParam { | ||
@@ -514,3 +498,2 @@ sessionId?: string; | ||
| securityToken: SecurityTokenDTO; | ||
| commonInfo: LogCommonInfo; | ||
| logService: LogServiceDTO; | ||
@@ -542,3 +525,3 @@ cycleStatsConfig: StatsConfig; | ||
| } | ||
| interface LoggingCommonProps { | ||
| interface LogCommonInfo { | ||
| bt?: string; | ||
@@ -550,6 +533,11 @@ bv?: string; | ||
| apid?: string; | ||
| deviceId?: string; | ||
| udid?: string; | ||
| usrn?: string; | ||
| roomName?: string; | ||
| [key: string]: number | string; | ||
| roomId?: string; | ||
| usrid?: string; | ||
| participantId?: string; | ||
| clientId?: string; | ||
| gslb?: string; | ||
| serverDiffTime?: number; | ||
| } | ||
@@ -738,2 +726,4 @@ type LogLevel = 'debug' | 'info' | 'warn' | 'error' | 'none'; | ||
| declare const getProtobufRoot: (json: INamespace) => Root; | ||
| declare const setDiffTime: (newDiffTime: number) => void; | ||
| declare const getTime: () => number; | ||
@@ -1041,3 +1031,3 @@ declare enum BrowserType { | ||
| eventTriggedInterval: number; | ||
| constructor(config: SLSClientConfig); | ||
| constructor(config: SLSClientConfig, commonInfo: LogCommonInfo); | ||
| get securityToken(): string; | ||
@@ -1053,3 +1043,3 @@ stopUpdateToken(): void; | ||
| declare class Logging { | ||
| commonProps: LoggingCommonProps; | ||
| commonInfo: LogCommonInfo; | ||
| cache: any[]; | ||
@@ -1067,4 +1057,4 @@ slsClient: SlsClient; | ||
| declare class WebTrackingClient { | ||
| commonProps: LoggingCommonProps; | ||
| updateCommonInfo(commonProps: LogCommonInfo): void; | ||
| commonInfo: LogCommonInfo; | ||
| updateCommonInfo(commonInfo: LogCommonInfo): void; | ||
| gslbAccess(success: boolean, message: string): void; | ||
@@ -1200,2 +1190,3 @@ send(param: any): void; | ||
| webtracking: WebTrackingClient; | ||
| commonInfo: LogCommonInfo; | ||
| constructor(id?: string); | ||
@@ -1214,2 +1205,2 @@ setId(newValue: string): void; | ||
| export { type AnyFunction, type AudioDeviceBufferReport, type AudioFirstPacketParam, type AudioNetEQReport, type AudioReceiveReport, type AudioSendReport, AudioSourceState, BaseWebTrackingURL, type BasicMap, type BasicResponse, BrowserType, type BweReport, type CredentialsDto, DEVICEID, Debouncer, DeviceErrorDescription, DingRTCError, Environment, ErrorCode, ErrorCodeAndMsgMap, type EventArgs, EventBus, EventEmitter, FALLBACK_SUB_VIDEO_PROFILE, GSLBErrorCode, type IEventBusEventTypes, type IUnsubscribeParam, type LogCommonInfo, type LogLevel, type LogServiceDTO, type LogServiceRequest, type LogServiceResponse, type LoggingCommonProps, METRIC_STATS_INTERVAL, type PromiseLikeObject, RTCStatsType, Reporter, type SLSClientConfig, SdkType, type SecurityTokenDTO, type StatsConfig, type SubscribeParam, type SubscriptionBaseParam, OSType as SystemType, TraceEvent, type TraceEventType$1 as TraceEventType, type TrackMediaType, UPLOAD_LOG_INTERVAL, type ValidEventTypes, type VideoDimension, VideoDimensions, type VideoFirstFrameParam, type VideoFirstPacketParam, type VideoReceiveReport, type VideoSendReport, VideoSourceInfo, addTimer, cloneDeep, converToRtcErrorFromGslbCode, convertToRtcErrorFromMcsCode, convertToRtcErrorFromMcsException, createUuid, debounce, deviceId, formatToBeijingTime, genTraceId, get, getGslb, getPlainMediaStreamInfo, getPlainMediaTrackInfo, getProtobufRoot, getReporter, isBoolean, isFunction, isNumber, isObject, isPrivateIP, isString, isUndefined, isVideoStreamPlayable, parseAudioDeviceError, parseBase64, parseScreenShareError, parseVideoDeviceError, post, registerReporter, remove, removeTimer, setGslb, setLogLevel, toBase64, tryJsonStringify, uniqBy }; | ||
| export { type AnyFunction, type AudioDeviceBufferReport, type AudioFirstPacketParam, type AudioNetEQReport, type AudioReceiveReport, type AudioSendReport, AudioSourceState, BaseWebTrackingURL, type BasicMap, type BasicResponse, BrowserType, type BweReport, type CredentialsDto, DEVICEID, Debouncer, DeviceErrorDescription, DingRTCError, Environment, ErrorCode, ErrorCodeAndMsgMap, type EventArgs, EventBus, EventEmitter, FALLBACK_SUB_VIDEO_PROFILE, GSLBErrorCode, type IEventBusEventTypes, type IUnsubscribeParam, type LogCommonInfo, type LogLevel, type LogServiceDTO, type LogServiceRequest, type LogServiceResponse, METRIC_STATS_INTERVAL, type PromiseLikeObject, RTCStatsType, Reporter, type SLSClientConfig, SdkType, type SecurityTokenDTO, type StatsConfig, type SubscribeParam, type SubscriptionBaseParam, OSType as SystemType, TraceEvent, type TraceEventType$1 as TraceEventType, type TrackMediaType, UPLOAD_LOG_INTERVAL, type ValidEventTypes, type VideoDimension, VideoDimensions, type VideoFirstFrameParam, type VideoFirstPacketParam, type VideoReceiveReport, type VideoSendReport, VideoSourceInfo, addTimer, cloneDeep, converToRtcErrorFromGslbCode, convertToRtcErrorFromMcsCode, convertToRtcErrorFromMcsException, createUuid, debounce, deviceId, formatToBeijingTime, genTraceId, get, getGslb, getPlainMediaStreamInfo, getPlainMediaTrackInfo, getProtobufRoot, getReporter, getTime, isBoolean, isFunction, isNumber, isObject, isPrivateIP, isString, isUndefined, isVideoStreamPlayable, parseAudioDeviceError, parseBase64, parseScreenShareError, parseVideoDeviceError, post, registerReporter, remove, removeTimer, setDiffTime, setGslb, setLogLevel, toBase64, tryJsonStringify, uniqBy }; |
+1
-1
| { | ||
| "name": "@dingrtc/shared", | ||
| "version": "1.0.4", | ||
| "version": "1.0.5", | ||
| "description": "", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
314668
0.04%2223
-0.36%15
50%