Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@agora-js/report

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agora-js/report - npm Package Compare versions

Comparing version 4.22.0 to 4.22.1-1

6

package.json
{
"name": "@agora-js/report",
"version": "4.22.0",
"version": "4.22.1-1",
"description": "logger and report module across @agora-js packages",

@@ -25,6 +25,6 @@ "main": "AgoraRTC_N-report.js",

"dependencies": {
"axios": "^1.6.8",
"@agora-js/shared": "4.22.0"
"axios": "^1.7.7",
"@agora-js/shared": "4.22.1-1"
},
"peerDependencies": {}
}

@@ -1,2 +0,3 @@

import { AgoraRTCError } from '@agora-js/shared';
import { AgoraRTCError as AgoraRTCError_2 } from '@agora-js/shared';
import { AgoraRTCErrorCode } from '@agora-js/shared';
import { EventEmitter } from '@agora-js/shared';

@@ -9,3 +10,3 @@ import { NETWORK_STATE } from '@agora-js/shared';

onSuccess: (result: T) => void;
onError: (err: AgoraRTCError) => void;
onError: (err: AgoraRTCError_2) => void;
}

@@ -88,2 +89,17 @@

/**
* @ignore
*/
/** @en
* @ignore
*/
export declare class AgoraRTCError extends AgoraRTCError_2 {
readonly name: string;
constructor(code: AgoraRTCErrorCode, message?: string, data?: any);
print(level?: "error" | "warning"): AgoraRTCError;
throw(): never;
}
export { AgoraRTCErrorCode }
export declare enum AgoraRTCEvent {

@@ -119,3 +135,2 @@ PUBLISH = "publish",

export declare class AgoraRTCEventReport {
static __CLIENT_LIST__: any[];
/**

@@ -138,2 +153,3 @@ * 以 sessionID 为 key 存储每次上报都需要带上的基本信息

private url?;
private sids;
/**

@@ -222,2 +238,4 @@ * for test

private sendApiInvoke;
addSid(sid: string): void;
removeSid(sid: string): void;
private appendSessionId;

@@ -304,3 +322,3 @@ send(item: AgoraRTCEventUploadItem, isKeyEvent: boolean): void;

options?: any;
error?: string | AgoraRTCError;
error?: string | AgoraRTCError_2;
success: boolean;

@@ -559,2 +577,3 @@ apiInvokeTime: number;

export declare interface EventReportChooseServerParams {
role?: "host" | "audience";
lts: number;

@@ -573,2 +592,4 @@ csAddr: string;

elapse?: number;
corssRegionTagReq?: string;
corssRegionTagRes?: string;
}

@@ -600,2 +621,3 @@

export declare interface EventReportJoinChooseServerMessage extends EventReportBase {
role?: "host" | "audience";
eventType: AgoraRTCEvent.JOIN_CHOOSE_SERVER;

@@ -611,2 +633,4 @@ eventElapse: number;

isHttp3?: 1 | -1;
corssRegionTagReq?: string;
corssRegionTagRes?: string;
}

@@ -613,0 +637,0 @@

@@ -1,2 +0,3 @@

import { AgoraRTCError } from '@agora-js/shared';
import { AgoraRTCError as AgoraRTCError_2 } from '@agora-js/shared';
import { AgoraRTCErrorCode } from '@agora-js/shared';
import { EventEmitter } from '@agora-js/shared';

@@ -9,3 +10,3 @@ import { NETWORK_STATE } from '@agora-js/shared';

onSuccess: (result: T) => void;
onError: (err: AgoraRTCError) => void;
onError: (err: AgoraRTCError_2) => void;
}

@@ -57,2 +58,14 @@

/**
* @ignore
*/
export declare class AgoraRTCError extends AgoraRTCError_2 {
readonly name: string;
constructor(code: AgoraRTCErrorCode, message?: string, data?: any);
print(level?: "error" | "warning"): AgoraRTCError;
throw(): never;
}
export { AgoraRTCErrorCode }
export declare enum AgoraRTCEvent {

@@ -88,3 +101,2 @@ PUBLISH = "publish",

export declare class AgoraRTCEventReport {
static __CLIENT_LIST__: any[];
private baseInfoMap;

@@ -95,2 +107,3 @@ private proxyServer?;

private url?;
private sids;
private backupUrl?;

@@ -139,2 +152,4 @@ private _appId?;

private sendApiInvoke;
addSid(sid: string): void;
removeSid(sid: string): void;
private appendSessionId;

@@ -221,3 +236,3 @@ send(item: AgoraRTCEventUploadItem, isKeyEvent: boolean): void;

options?: any;
error?: string | AgoraRTCError;
error?: string | AgoraRTCError_2;
success: boolean;

@@ -461,2 +476,3 @@ apiInvokeTime: number;

export declare interface EventReportChooseServerParams {
role?: "host" | "audience";
lts: number;

@@ -475,2 +491,4 @@ csAddr: string;

elapse?: number;
corssRegionTagReq?: string;
corssRegionTagRes?: string;
}

@@ -501,2 +519,3 @@

export declare interface EventReportJoinChooseServerMessage extends EventReportBase {
role?: "host" | "audience";
eventType: AgoraRTCEvent.JOIN_CHOOSE_SERVER;

@@ -512,2 +531,4 @@ eventElapse: number;

isHttp3?: 1 | -1;
corssRegionTagReq?: string;
corssRegionTagRes?: string;
}

@@ -514,0 +535,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc