@cloudflare/realtimekit 1.4.0-staging.5 → 1.5.0-staging.1
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/dist/EncryptionManager.cjs.js +1 -1
- package/dist/EncryptionManager.d.ts +12 -4
- package/dist/EncryptionManager.es.js +104 -104
- package/dist/browser.js +14 -13
- package/dist/dependencies.txt +1 -1
- package/dist/index.cjs.js +11 -10
- package/dist/index.d.ts +12 -4
- package/dist/index.es.js +1498 -1429
- package/dist/index.es5.js +1759 -1647
- package/dist/index.rn.js +11 -10
- package/dist/ts3.4/dist/EncryptionManager.d.ts +18 -4
- package/dist/ts3.4/dist/index.d.ts +18 -4
- package/package.json +1 -1
|
@@ -4625,7 +4625,8 @@ declare function createSafeToLogError(ex: any): {
|
|
|
4625
4625
|
code?: number | string;
|
|
4626
4626
|
};
|
|
4627
4627
|
|
|
4628
|
-
|
|
4628
|
+
declare const supportedEventSeverities: readonly ["info", "error", "debug", "log", "warn"];
|
|
4629
|
+
type SupportedEventSeverities = typeof supportedEventSeverities[number];
|
|
4629
4630
|
type LogData$2 = {
|
|
4630
4631
|
error?: ReturnType<typeof createSafeToLogError>;
|
|
4631
4632
|
peers?: string;
|
|
@@ -4897,10 +4898,13 @@ declare class Telemetry {
|
|
|
4897
4898
|
[key: string]: any;
|
|
4898
4899
|
}[];
|
|
4899
4900
|
logsProcessorTimer: NodeJS.Timer;
|
|
4901
|
+
private compressionSupported;
|
|
4902
|
+
private isCompressionSupported;
|
|
4900
4903
|
get logsEndpoint(): string;
|
|
4901
4904
|
tracingEnabled: boolean;
|
|
4902
4905
|
initialized: boolean;
|
|
4903
4906
|
readonly logsProcessingInterval = 7000;
|
|
4907
|
+
private get logsBatchSize();
|
|
4904
4908
|
logExclusionList: string[];
|
|
4905
4909
|
meetingMetadata: MeetingMetadata;
|
|
4906
4910
|
resetPeerId(peerId: string): void;
|
|
@@ -4908,9 +4912,13 @@ declare class Telemetry {
|
|
|
4908
4912
|
static trace(spanName: string, metadata?: LogData$1 | undefined): (_target: Object, _propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
|
|
4909
4913
|
injectContext(injectionReceiver: any): void;
|
|
4910
4914
|
addLogInCurrentSpan(eventSeverity: EventSeverities, eventName: string, metadata?: LogData$1, noCache?: boolean): void;
|
|
4911
|
-
sendOtelLogsToNewRelic(logs: object[]
|
|
4912
|
-
|
|
4913
|
-
|
|
4915
|
+
sendOtelLogsToNewRelic(logs: object[], { isInDestructionMode }?: {
|
|
4916
|
+
isInDestructionMode?: boolean;
|
|
4917
|
+
}): Promise<void>;
|
|
4918
|
+
processCachedLogs({ isInDestructionMode }?: {
|
|
4919
|
+
isInDestructionMode?: boolean;
|
|
4920
|
+
}): Promise<void>;
|
|
4921
|
+
destruct(): Promise<void>;
|
|
4914
4922
|
}
|
|
4915
4923
|
|
|
4916
4924
|
type LogData = LogData$1;
|