@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
|
@@ -4585,7 +4585,14 @@ declare function createSafeToLogError(ex: any): {
|
|
|
4585
4585
|
reason?: string;
|
|
4586
4586
|
code?: number | string;
|
|
4587
4587
|
};
|
|
4588
|
-
|
|
4588
|
+
declare const supportedEventSeverities: readonly [
|
|
4589
|
+
"info",
|
|
4590
|
+
"error",
|
|
4591
|
+
"debug",
|
|
4592
|
+
"log",
|
|
4593
|
+
"warn"
|
|
4594
|
+
];
|
|
4595
|
+
type SupportedEventSeverities = typeof supportedEventSeverities[number];
|
|
4589
4596
|
type LogData$2 = {
|
|
4590
4597
|
error?: ReturnType<typeof createSafeToLogError>;
|
|
4591
4598
|
peers?: string;
|
|
@@ -4856,10 +4863,13 @@ declare class Telemetry {
|
|
|
4856
4863
|
[key: string]: any;
|
|
4857
4864
|
}[];
|
|
4858
4865
|
logsProcessorTimer: NodeJS.Timer;
|
|
4866
|
+
private compressionSupported;
|
|
4867
|
+
private isCompressionSupported;
|
|
4859
4868
|
readonly logsEndpoint: string;
|
|
4860
4869
|
tracingEnabled: boolean;
|
|
4861
4870
|
initialized: boolean;
|
|
4862
4871
|
readonly logsProcessingInterval = 7000;
|
|
4872
|
+
private readonly logsBatchSize: any;
|
|
4863
4873
|
logExclusionList: string[];
|
|
4864
4874
|
meetingMetadata: MeetingMetadata;
|
|
4865
4875
|
resetPeerId(peerId: string): void;
|
|
@@ -4867,9 +4877,13 @@ declare class Telemetry {
|
|
|
4867
4877
|
static trace(spanName: string, metadata?: LogData$1 | undefined): (_target: Object, _propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
|
|
4868
4878
|
injectContext(injectionReceiver: any): void;
|
|
4869
4879
|
addLogInCurrentSpan(eventSeverity: EventSeverities, eventName: string, metadata?: LogData$1, noCache?: boolean): void;
|
|
4870
|
-
sendOtelLogsToNewRelic(logs: object[]
|
|
4871
|
-
|
|
4872
|
-
|
|
4880
|
+
sendOtelLogsToNewRelic(logs: object[], { isInDestructionMode }?: {
|
|
4881
|
+
isInDestructionMode?: boolean;
|
|
4882
|
+
}): Promise<void>;
|
|
4883
|
+
processCachedLogs({ isInDestructionMode }?: {
|
|
4884
|
+
isInDestructionMode?: boolean;
|
|
4885
|
+
}): Promise<void>;
|
|
4886
|
+
destruct(): Promise<void>;
|
|
4873
4887
|
}
|
|
4874
4888
|
type LogData = LogData$1;
|
|
4875
4889
|
declare class Logger {
|
|
@@ -4526,7 +4526,14 @@ declare function createSafeToLogError(ex: any): {
|
|
|
4526
4526
|
reason?: string;
|
|
4527
4527
|
code?: number | string;
|
|
4528
4528
|
};
|
|
4529
|
-
|
|
4529
|
+
declare const supportedEventSeverities: readonly [
|
|
4530
|
+
"info",
|
|
4531
|
+
"error",
|
|
4532
|
+
"debug",
|
|
4533
|
+
"log",
|
|
4534
|
+
"warn"
|
|
4535
|
+
];
|
|
4536
|
+
type SupportedEventSeverities = typeof supportedEventSeverities[number];
|
|
4530
4537
|
type LogData$2 = {
|
|
4531
4538
|
error?: ReturnType<typeof createSafeToLogError>;
|
|
4532
4539
|
peers?: string;
|
|
@@ -4797,10 +4804,13 @@ declare class Telemetry {
|
|
|
4797
4804
|
[key: string]: any;
|
|
4798
4805
|
}[];
|
|
4799
4806
|
logsProcessorTimer: NodeJS.Timer;
|
|
4807
|
+
private compressionSupported;
|
|
4808
|
+
private isCompressionSupported;
|
|
4800
4809
|
readonly logsEndpoint: string;
|
|
4801
4810
|
tracingEnabled: boolean;
|
|
4802
4811
|
initialized: boolean;
|
|
4803
4812
|
readonly logsProcessingInterval = 7000;
|
|
4813
|
+
private readonly logsBatchSize: any;
|
|
4804
4814
|
logExclusionList: string[];
|
|
4805
4815
|
meetingMetadata: MeetingMetadata;
|
|
4806
4816
|
resetPeerId(peerId: string): void;
|
|
@@ -4808,9 +4818,13 @@ declare class Telemetry {
|
|
|
4808
4818
|
static trace(spanName: string, metadata?: LogData$1 | undefined): (_target: Object, _propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
|
|
4809
4819
|
injectContext(injectionReceiver: any): void;
|
|
4810
4820
|
addLogInCurrentSpan(eventSeverity: EventSeverities, eventName: string, metadata?: LogData$1, noCache?: boolean): void;
|
|
4811
|
-
sendOtelLogsToNewRelic(logs: object[]
|
|
4812
|
-
|
|
4813
|
-
|
|
4821
|
+
sendOtelLogsToNewRelic(logs: object[], { isInDestructionMode }?: {
|
|
4822
|
+
isInDestructionMode?: boolean;
|
|
4823
|
+
}): Promise<void>;
|
|
4824
|
+
processCachedLogs({ isInDestructionMode }?: {
|
|
4825
|
+
isInDestructionMode?: boolean;
|
|
4826
|
+
}): Promise<void>;
|
|
4827
|
+
destruct(): Promise<void>;
|
|
4814
4828
|
}
|
|
4815
4829
|
type LogData = LogData$1;
|
|
4816
4830
|
declare class Logger {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudflare/realtimekit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0-staging.1",
|
|
4
4
|
"description": "A real-time video and audio SDK for building custom, collaborative communication experiences.",
|
|
5
5
|
"main": "./dist/index.cjs.js",
|
|
6
6
|
"module": "./dist/index.es.js",
|
|
@@ -86,8 +86,7 @@
|
|
|
86
86
|
"worker-timers": "7.0.60"
|
|
87
87
|
},
|
|
88
88
|
"publishConfig": {
|
|
89
|
-
"
|
|
90
|
-
"tag": "latest"
|
|
89
|
+
"tag": "staging"
|
|
91
90
|
},
|
|
92
91
|
"devDependencies": {
|
|
93
92
|
"@types/events": "^3.0.0",
|