@cloudflare/realtimekit 1.4.0 → 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 +1480 -1412
- package/dist/index.es5.js +1165 -1058
- 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 +2 -3
package/dist/index.d.ts
CHANGED
|
@@ -4571,7 +4571,8 @@ declare function createSafeToLogError(ex: any): {
|
|
|
4571
4571
|
code?: number | string;
|
|
4572
4572
|
};
|
|
4573
4573
|
|
|
4574
|
-
|
|
4574
|
+
declare const supportedEventSeverities: readonly ["info", "error", "debug", "log", "warn"];
|
|
4575
|
+
type SupportedEventSeverities = typeof supportedEventSeverities[number];
|
|
4575
4576
|
type LogData$2 = {
|
|
4576
4577
|
error?: ReturnType<typeof createSafeToLogError>;
|
|
4577
4578
|
peers?: string;
|
|
@@ -4843,10 +4844,13 @@ declare class Telemetry {
|
|
|
4843
4844
|
[key: string]: any;
|
|
4844
4845
|
}[];
|
|
4845
4846
|
logsProcessorTimer: NodeJS.Timer;
|
|
4847
|
+
private compressionSupported;
|
|
4848
|
+
private isCompressionSupported;
|
|
4846
4849
|
get logsEndpoint(): string;
|
|
4847
4850
|
tracingEnabled: boolean;
|
|
4848
4851
|
initialized: boolean;
|
|
4849
4852
|
readonly logsProcessingInterval = 7000;
|
|
4853
|
+
private get logsBatchSize();
|
|
4850
4854
|
logExclusionList: string[];
|
|
4851
4855
|
meetingMetadata: MeetingMetadata;
|
|
4852
4856
|
resetPeerId(peerId: string): void;
|
|
@@ -4854,9 +4858,13 @@ declare class Telemetry {
|
|
|
4854
4858
|
static trace(spanName: string, metadata?: LogData$1 | undefined): (_target: Object, _propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
|
|
4855
4859
|
injectContext(injectionReceiver: any): void;
|
|
4856
4860
|
addLogInCurrentSpan(eventSeverity: EventSeverities, eventName: string, metadata?: LogData$1, noCache?: boolean): void;
|
|
4857
|
-
sendOtelLogsToNewRelic(logs: object[]
|
|
4858
|
-
|
|
4859
|
-
|
|
4861
|
+
sendOtelLogsToNewRelic(logs: object[], { isInDestructionMode }?: {
|
|
4862
|
+
isInDestructionMode?: boolean;
|
|
4863
|
+
}): Promise<void>;
|
|
4864
|
+
processCachedLogs({ isInDestructionMode }?: {
|
|
4865
|
+
isInDestructionMode?: boolean;
|
|
4866
|
+
}): Promise<void>;
|
|
4867
|
+
destruct(): Promise<void>;
|
|
4860
4868
|
}
|
|
4861
4869
|
|
|
4862
4870
|
type LogData = LogData$1;
|