twilio-video 2.32.1 → 2.34.0
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/CHANGELOG.md +45 -1
- package/LICENSE.md +1 -1
- package/README.md +3 -3
- package/dist/twilio-video.js +2783 -1136
- package/dist/twilio-video.min.js +24 -23
- package/es5/cancelableroompromise.js.map +1 -1
- package/es5/connect.js +18 -9
- package/es5/connect.js.map +1 -1
- package/es5/createlocaltrack.js.map +1 -1
- package/es5/createlocaltracks.js +24 -18
- package/es5/createlocaltracks.js.map +1 -1
- package/es5/data/receiver.js.map +1 -1
- package/es5/data/sender.js.map +1 -1
- package/es5/data/transceiver.js.map +1 -1
- package/es5/data/transport.js.map +1 -1
- package/es5/encodingparameters.js.map +1 -1
- package/es5/eventtarget.js +10 -6
- package/es5/eventtarget.js.map +1 -1
- package/es5/index.js.map +1 -1
- package/es5/insights/applicationmonitor.js +93 -0
- package/es5/insights/applicationmonitor.js.map +1 -0
- package/es5/insights/computepressuremonitor.js +185 -0
- package/es5/insights/computepressuremonitor.js.map +1 -0
- package/es5/insights/events/application.js +46 -0
- package/es5/insights/events/application.js.map +1 -0
- package/es5/insights/events/getusermedia.js +51 -0
- package/es5/insights/events/getusermedia.js.map +1 -0
- package/es5/insights/events/network.js +54 -0
- package/es5/insights/events/network.js.map +1 -0
- package/es5/insights/events/peerconnection.js +164 -0
- package/es5/insights/events/peerconnection.js.map +1 -0
- package/es5/insights/events/quality.js +56 -0
- package/es5/insights/events/quality.js.map +1 -0
- package/es5/insights/events/room.js +56 -0
- package/es5/insights/events/room.js.map +1 -0
- package/es5/insights/events/system.js +31 -0
- package/es5/insights/events/system.js.map +1 -0
- package/es5/insights/events/track.js +58 -0
- package/es5/insights/events/track.js.map +1 -0
- package/es5/insights/monitorregistry.js +43 -0
- package/es5/insights/monitorregistry.js.map +1 -0
- package/es5/insights/networkmonitor.js +73 -0
- package/es5/insights/networkmonitor.js.map +1 -0
- package/es5/insights/resourcemonitor.js +56 -0
- package/es5/insights/resourcemonitor.js.map +1 -0
- package/es5/insights/statsmonitor.js +441 -0
- package/es5/insights/statsmonitor.js.map +1 -0
- package/es5/insights/telemetry.js +164 -0
- package/es5/insights/telemetry.js.map +1 -0
- package/es5/localparticipant.js +16 -16
- package/es5/localparticipant.js.map +1 -1
- package/es5/media/track/audiotrack.js.map +1 -1
- package/es5/media/track/capturevideoframes.js.map +1 -1
- package/es5/media/track/index.js.map +1 -1
- package/es5/media/track/localaudiotrack.js +6 -6
- package/es5/media/track/localaudiotrack.js.map +1 -1
- package/es5/media/track/localaudiotrackpublication.js +1 -1
- package/es5/media/track/localaudiotrackpublication.js.map +1 -1
- package/es5/media/track/localdatatrack.js.map +1 -1
- package/es5/media/track/localdatatrackpublication.js +1 -1
- package/es5/media/track/localdatatrackpublication.js.map +1 -1
- package/es5/media/track/localmediatrack.js +4 -4
- package/es5/media/track/localmediatrack.js.map +1 -1
- package/es5/media/track/localtrackpublication.js +10 -6
- package/es5/media/track/localtrackpublication.js.map +1 -1
- package/es5/media/track/localvideotrack.js +1 -1
- package/es5/media/track/localvideotrack.js.map +1 -1
- package/es5/media/track/localvideotrackpublication.js +1 -1
- package/es5/media/track/localvideotrackpublication.js.map +1 -1
- package/es5/media/track/mediatrack.js +4 -5
- package/es5/media/track/mediatrack.js.map +1 -1
- package/es5/media/track/noisecancellationimpl.js +8 -8
- package/es5/media/track/noisecancellationimpl.js.map +1 -1
- package/es5/media/track/receiver.js.map +1 -1
- package/es5/media/track/remoteaudiotrack.js +1 -1
- package/es5/media/track/remoteaudiotrack.js.map +1 -1
- package/es5/media/track/remoteaudiotrackpublication.js +1 -1
- package/es5/media/track/remoteaudiotrackpublication.js.map +1 -1
- package/es5/media/track/remotedatatrack.js +9 -5
- package/es5/media/track/remotedatatrack.js.map +1 -1
- package/es5/media/track/remotedatatrackpublication.js +1 -1
- package/es5/media/track/remotedatatrackpublication.js.map +1 -1
- package/es5/media/track/remotemediatrack.js +12 -8
- package/es5/media/track/remotemediatrack.js.map +1 -1
- package/es5/media/track/remotetrackpublication.js +2 -2
- package/es5/media/track/remotetrackpublication.js.map +1 -1
- package/es5/media/track/remotevideotrack.js +1 -1
- package/es5/media/track/remotevideotrack.js.map +1 -1
- package/es5/media/track/remotevideotrackpublication.js +1 -1
- package/es5/media/track/remotevideotrackpublication.js.map +1 -1
- package/es5/media/track/sender.js +1 -1
- package/es5/media/track/sender.js.map +1 -1
- package/es5/media/track/trackpublication.js +1 -1
- package/es5/media/track/trackpublication.js.map +1 -1
- package/es5/media/track/transceiver.js.map +1 -1
- package/es5/media/track/videoprocessoreventobserver.js +2 -2
- package/es5/media/track/videoprocessoreventobserver.js.map +1 -1
- package/es5/media/track/videotrack.js +2 -3
- package/es5/media/track/videotrack.js.map +1 -1
- package/es5/networkqualityconfiguration.js.map +1 -1
- package/es5/noisecancellationadapter.js +11 -12
- package/es5/noisecancellationadapter.js.map +1 -1
- package/es5/participant.js +20 -16
- package/es5/participant.js.map +1 -1
- package/es5/preflight/getCombinedConnectionStats.js +10 -11
- package/es5/preflight/getCombinedConnectionStats.js.map +1 -1
- package/es5/preflight/getturncredentials.js +2 -3
- package/es5/preflight/getturncredentials.js.map +1 -1
- package/es5/preflight/makestat.js +11 -8
- package/es5/preflight/makestat.js.map +1 -1
- package/es5/preflight/mos.js +2 -3
- package/es5/preflight/mos.js.map +1 -1
- package/es5/preflight/preflighttest.js +16 -16
- package/es5/preflight/preflighttest.js.map +1 -1
- package/es5/preflight/syntheticaudio.js +1 -2
- package/es5/preflight/syntheticaudio.js.map +1 -1
- package/es5/preflight/syntheticvideo.js +2 -3
- package/es5/preflight/syntheticvideo.js.map +1 -1
- package/es5/queueingeventemitter.js +10 -6
- package/es5/queueingeventemitter.js.map +1 -1
- package/es5/remoteparticipant.js +11 -7
- package/es5/remoteparticipant.js.map +1 -1
- package/es5/room.js +30 -10
- package/es5/room.js.map +1 -1
- package/es5/signaling/index.js +3 -3
- package/es5/signaling/index.js.map +1 -1
- package/es5/signaling/localparticipant.js.map +1 -1
- package/es5/signaling/localtrackpublication.js.map +1 -1
- package/es5/signaling/participant.js.map +1 -1
- package/es5/signaling/recording.js.map +1 -1
- package/es5/signaling/remoteparticipant.js.map +1 -1
- package/es5/signaling/remotetrackpublication.js.map +1 -1
- package/es5/signaling/room.js +1 -1
- package/es5/signaling/room.js.map +1 -1
- package/es5/signaling/track.js.map +1 -1
- package/es5/signaling/v2/cancelableroomsignalingpromise.js +3 -3
- package/es5/signaling/v2/cancelableroomsignalingpromise.js.map +1 -1
- package/es5/signaling/v2/dominantspeakersignaling.js.map +1 -1
- package/es5/signaling/v2/iceconnectionmonitor.js +0 -1
- package/es5/signaling/v2/iceconnectionmonitor.js.map +1 -1
- package/es5/signaling/v2/index.js.map +1 -1
- package/es5/signaling/v2/localparticipant.js +2 -2
- package/es5/signaling/v2/localparticipant.js.map +1 -1
- package/es5/signaling/v2/localtrackpublication.js +2 -2
- package/es5/signaling/v2/localtrackpublication.js.map +1 -1
- package/es5/signaling/v2/mediasignaling.js +2 -2
- package/es5/signaling/v2/mediasignaling.js.map +1 -1
- package/es5/signaling/v2/networkqualitymonitor.js.map +1 -1
- package/es5/signaling/v2/networkqualitysignaling.js.map +1 -1
- package/es5/signaling/v2/peerconnection.js +181 -48
- package/es5/signaling/v2/peerconnection.js.map +1 -1
- package/es5/signaling/v2/peerconnectionmanager.js +10 -6
- package/es5/signaling/v2/peerconnectionmanager.js.map +1 -1
- package/es5/signaling/v2/publisherhintsignaling.js.map +1 -1
- package/es5/signaling/v2/recording.js.map +1 -1
- package/es5/signaling/v2/remoteparticipant.js.map +1 -1
- package/es5/signaling/v2/remotetrackpublication.js.map +1 -1
- package/es5/signaling/v2/renderhintssignaling.js +0 -1
- package/es5/signaling/v2/renderhintssignaling.js.map +1 -1
- package/es5/signaling/v2/room.js +20 -176
- package/es5/signaling/v2/room.js.map +1 -1
- package/es5/signaling/v2/trackprioritysignaling.js.map +1 -1
- package/es5/signaling/v2/trackswitchoffsignaling.js.map +1 -1
- package/es5/signaling/v2/transcriptionsignaling.js.map +1 -1
- package/es5/signaling/v2/twilioconnectiontransport.js +2 -2
- package/es5/signaling/v2/twilioconnectiontransport.js.map +1 -1
- package/es5/statemachine.js +19 -15
- package/es5/statemachine.js.map +1 -1
- package/es5/stats/icereportfactory.js.map +1 -1
- package/es5/stats/localaudiotrackstats.js.map +1 -1
- package/es5/stats/localtrackstats.js.map +1 -1
- package/es5/stats/localvideotrackstats.js +5 -0
- package/es5/stats/localvideotrackstats.js.map +1 -1
- package/es5/stats/networkqualityaudiostats.js.map +1 -1
- package/es5/stats/networkqualityrecvstats.js.map +1 -1
- package/es5/stats/networkqualitysendstats.js.map +1 -1
- package/es5/stats/networkqualityvideostats.js.map +1 -1
- package/es5/stats/peerconnectionreportfactory.js +13 -9
- package/es5/stats/peerconnectionreportfactory.js.map +1 -1
- package/es5/stats/receiverreport.js.map +1 -1
- package/es5/stats/receiverreportfactory.js.map +1 -1
- package/es5/stats/remoteaudiotrackstats.js +0 -7
- package/es5/stats/remoteaudiotrackstats.js.map +1 -1
- package/es5/stats/remotetrackstats.js +7 -0
- package/es5/stats/remotetrackstats.js.map +1 -1
- package/es5/stats/remotevideotrackstats.js +7 -0
- package/es5/stats/remotevideotrackstats.js.map +1 -1
- package/es5/stats/senderreport.js.map +1 -1
- package/es5/stats/senderreportfactory.js.map +1 -1
- package/es5/stats/statsreport.js.map +1 -1
- package/es5/stats/trackstats.js.map +1 -1
- package/es5/transceiver.js.map +1 -1
- package/es5/twilioconnection.js +34 -30
- package/es5/twilioconnection.js.map +1 -1
- package/es5/util/asyncvar.js.map +1 -1
- package/es5/util/backoff.js.map +1 -1
- package/es5/util/browserdetection.js.map +1 -1
- package/es5/util/cancelablepromise.js +11 -7
- package/es5/util/cancelablepromise.js.map +1 -1
- package/es5/util/constants.js +7 -8
- package/es5/util/constants.js.map +1 -1
- package/es5/util/detectsilentaudio.js.map +1 -1
- package/es5/util/detectsilentvideo.js +3 -3
- package/es5/util/detectsilentvideo.js.map +1 -1
- package/es5/util/documentvisibilitymonitor.js +1 -1
- package/es5/util/documentvisibilitymonitor.js.map +1 -1
- package/es5/util/dynamicimport.js +2 -2
- package/es5/util/dynamicimport.js.map +1 -1
- package/es5/util/eventobserver.js +1 -2
- package/es5/util/eventobserver.js.map +1 -1
- package/es5/util/filter.js.map +1 -1
- package/es5/util/index.js +58 -27
- package/es5/util/index.js.map +1 -1
- package/es5/util/insightspublisher/index.js +5 -6
- package/es5/util/insightspublisher/index.js.map +1 -1
- package/es5/util/insightspublisher/null.js.map +1 -1
- package/es5/util/localmediarestartdeferreds.js.map +1 -1
- package/es5/util/log.js +10 -6
- package/es5/util/log.js.map +1 -1
- package/es5/util/networkmonitor.js.map +1 -1
- package/es5/util/nullobserver.js +0 -1
- package/es5/util/nullobserver.js.map +1 -1
- package/es5/util/sdp/index.js +83 -169
- package/es5/util/sdp/index.js.map +1 -1
- package/es5/util/sdp/issue8329.js +11 -11
- package/es5/util/sdp/issue8329.js.map +1 -1
- package/es5/util/sdp/simulcast.js +5 -5
- package/es5/util/sdp/simulcast.js.map +1 -1
- package/es5/util/sid.js +1 -1
- package/es5/util/sid.js.map +1 -1
- package/es5/util/support.js +1 -2
- package/es5/util/support.js.map +1 -1
- package/es5/util/timeout.js.map +1 -1
- package/es5/util/timeoutpromise.js +10 -6
- package/es5/util/timeoutpromise.js.map +1 -1
- package/es5/util/twilio-video-errors.js.map +1 -1
- package/es5/util/twilioerror.js +11 -7
- package/es5/util/twilioerror.js.map +1 -1
- package/es5/util/twiliowarning.js +0 -1
- package/es5/util/twiliowarning.js.map +1 -1
- package/es5/util/validate.js +4 -4
- package/es5/util/validate.js.map +1 -1
- package/es5/vendor/inherits.js.map +1 -1
- package/es5/vendor/loglevel.js.map +1 -1
- package/es5/webaudio/audiocontext.js.map +1 -1
- package/es5/webaudio/detectsilence.js.map +1 -1
- package/es5/webaudio/workaround180748.js +1 -1
- package/es5/webaudio/workaround180748.js.map +1 -1
- package/es5/webrtc/getstats.js +27 -13
- package/es5/webrtc/getstats.js.map +1 -1
- package/es5/webrtc/getusermedia.js.map +1 -1
- package/es5/webrtc/mediastream.js.map +1 -1
- package/es5/webrtc/mediastreamtrack.js.map +1 -1
- package/es5/webrtc/rtcicecandidate.js.map +1 -1
- package/es5/webrtc/rtcpeerconnection/chrome.js +32 -13
- package/es5/webrtc/rtcpeerconnection/chrome.js.map +1 -1
- package/es5/webrtc/rtcpeerconnection/firefox.js +17 -10
- package/es5/webrtc/rtcpeerconnection/firefox.js.map +1 -1
- package/es5/webrtc/rtcpeerconnection/index.js.map +1 -1
- package/es5/webrtc/rtcpeerconnection/safari.js +19 -14
- package/es5/webrtc/rtcpeerconnection/safari.js.map +1 -1
- package/es5/webrtc/rtcsessiondescription/index.js.map +1 -1
- package/es5/webrtc/util/index.js +10 -6
- package/es5/webrtc/util/index.js.map +1 -1
- package/es5/webrtc/util/latch.js +1 -1
- package/es5/webrtc/util/latch.js.map +1 -1
- package/es5/webrtc/util/sdp.js +7 -7
- package/es5/webrtc/util/sdp.js.map +1 -1
- package/eslint.config.js +308 -0
- package/lib/connect.js +18 -4
- package/lib/createlocaltracks.ts +9 -3
- package/lib/index.ts +1 -1
- package/lib/insights/applicationmonitor.js +101 -0
- package/lib/insights/computepressuremonitor.js +149 -0
- package/lib/insights/events/application.js +49 -0
- package/lib/insights/events/getusermedia.js +54 -0
- package/lib/insights/events/network.js +55 -0
- package/lib/insights/events/peerconnection.js +166 -0
- package/lib/insights/events/quality.js +59 -0
- package/lib/insights/events/room.js +61 -0
- package/lib/insights/events/system.js +32 -0
- package/lib/insights/events/track.js +58 -0
- package/lib/insights/monitorregistry.js +44 -0
- package/lib/insights/networkmonitor.js +82 -0
- package/lib/insights/resourcemonitor.js +63 -0
- package/lib/insights/statsmonitor.js +442 -0
- package/lib/insights/telemetry.js +178 -0
- package/lib/media/track/mediatrack.js +0 -1
- package/lib/media/track/videotrack.js +0 -1
- package/lib/noisecancellationadapter.ts +1 -1
- package/lib/preflight/getCombinedConnectionStats.ts +1 -2
- package/lib/preflight/makestat.ts +1 -1
- package/lib/preflight/mos.ts +1 -1
- package/lib/preflight/preflighttest.ts +2 -2
- package/lib/room.js +16 -0
- package/lib/signaling/v2/cancelableroomsignalingpromise.js +3 -3
- package/lib/signaling/v2/iceconnectionmonitor.js +0 -1
- package/lib/signaling/v2/peerconnection.js +169 -27
- package/lib/signaling/v2/renderhintssignaling.js +0 -1
- package/lib/signaling/v2/room.js +23 -200
- package/lib/stats/localvideotrackstats.js +5 -0
- package/lib/stats/remoteaudiotrackstats.js +0 -7
- package/lib/stats/remotetrackstats.js +7 -0
- package/lib/stats/remotevideotrackstats.js +7 -0
- package/lib/util/constants.js +1 -1
- package/lib/util/eventobserver.js +1 -2
- package/lib/util/index.js +41 -13
- package/lib/util/insightspublisher/index.js +1 -2
- package/lib/util/log.js +3 -3
- package/lib/util/nullobserver.js +0 -1
- package/lib/util/sdp/index.js +77 -172
- package/lib/util/support.js +2 -2
- package/lib/util/twiliowarning.js +0 -1
- package/lib/webrtc/getstats.js +27 -10
- package/lib/webrtc/rtcpeerconnection/chrome.js +16 -1
- package/lib/webrtc/rtcpeerconnection/firefox.js +3 -0
- package/lib/webrtc/rtcpeerconnection/safari.js +6 -5
- package/package.json +34 -34
- package/tsdef/AudioProcessor.d.ts +2 -2
- package/tsdef/LocalTrackOptions.d.ts +4 -4
- package/tsdef/PreflightTypes.d.ts +3 -3
- package/tsdef/index.d.ts +1 -1
- package/tsdef/loglevel.d.ts +43 -43
- package/tsdef/types.d.ts +6 -6
- package/.babelrc +0 -3
- package/.eslintrc.json +0 -369
- package/tsdef/.eslintrc.json +0 -17
|
@@ -52,14 +52,14 @@ export interface AudioProcessor {
|
|
|
52
52
|
* destroys the processor freeing up any resources
|
|
53
53
|
* @returns {void}
|
|
54
54
|
*/
|
|
55
|
-
destroy:() => void;
|
|
55
|
+
destroy: () => void;
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
58
|
* enables/disables logging
|
|
59
59
|
* @param {boolean} [enable] - Specify true to enable logging
|
|
60
60
|
* @returns {void}
|
|
61
61
|
*/
|
|
62
|
-
setLogging:(enable: boolean) => void;
|
|
62
|
+
setLogging: (enable: boolean) => void;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
|
|
@@ -45,9 +45,9 @@ export interface ProgressEvent {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
export interface PreflightReportStats {
|
|
48
|
-
jitter: Stats|null;
|
|
49
|
-
rtt: Stats|null;
|
|
50
|
-
packetLoss: Stats|null;
|
|
48
|
+
jitter: Stats | null;
|
|
49
|
+
rtt: Stats | null;
|
|
50
|
+
packetLoss: Stats | null;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
export interface PreflightTestReport {
|
package/tsdef/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export const isSupported: boolean;
|
|
|
12
12
|
export const version:string;
|
|
13
13
|
export const Logger: Log.RootLogger;
|
|
14
14
|
export function connect(token: string, options?: ConnectOptions): CancelablePromise<Room>;
|
|
15
|
-
export function createLocalAudioTrack(options?: CreateLocalTrackOptions|CreateLocalAudioTrackOptions): Promise<LocalAudioTrack>;
|
|
15
|
+
export function createLocalAudioTrack(options?: CreateLocalTrackOptions | CreateLocalAudioTrackOptions): Promise<LocalAudioTrack>;
|
|
16
16
|
export function createLocalTracks(options?: CreateLocalTracksOptions): Promise<LocalTrack[]>;
|
|
17
17
|
export function createLocalVideoTrack(options?: CreateLocalTrackOptions): Promise<LocalVideoTrack>;
|
|
18
18
|
export function runPreflight(token: string, options?: PreflightOptions): PreflightTest;
|
package/tsdef/loglevel.d.ts
CHANGED
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
// See lib/vendor/loglevel.js for details
|
|
8
8
|
|
|
9
9
|
export namespace Log {
|
|
10
|
-
|
|
10
|
+
/**
|
|
11
11
|
* Log levels
|
|
12
12
|
*/
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
13
|
+
interface LogLevel {
|
|
14
|
+
TRACE: 0;
|
|
15
|
+
DEBUG: 1;
|
|
16
|
+
INFO: 2;
|
|
17
|
+
WARN: 3;
|
|
18
|
+
ERROR: 4;
|
|
19
|
+
SILENT: 5;
|
|
20
|
+
}
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Possible log level numbers.
|
|
@@ -41,63 +41,63 @@ export namespace Log {
|
|
|
41
41
|
type MethodFactory = (methodName: string, level: LogLevelNumbers, loggerName: string | symbol) => LoggingMethod;
|
|
42
42
|
|
|
43
43
|
interface Logger {
|
|
44
|
-
|
|
44
|
+
/**
|
|
45
45
|
* Available log levels.
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
readonly levels: LogLevel;
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
/**
|
|
50
50
|
* Plugin API entry point. This will be called for each enabled method each time the level is set
|
|
51
51
|
* (including initially), and should return a MethodFactory to be used for the given log method, at the given level,
|
|
52
52
|
* for a logger with the given name. If you'd like to retain all the reliability and features of loglevel, it's
|
|
53
53
|
* recommended that this wraps the initially provided value of log.methodFactory
|
|
54
54
|
*/
|
|
55
|
-
|
|
55
|
+
methodFactory: MethodFactory;
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
/**
|
|
58
58
|
* Output trace message to console.
|
|
59
59
|
* This will also include a full stack trace
|
|
60
60
|
*
|
|
61
61
|
* @param msg any data to log to the console
|
|
62
62
|
*/
|
|
63
|
-
|
|
63
|
+
trace(...msg: any[]): void;
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
/**
|
|
66
66
|
* Output debug message to console including appropriate icons
|
|
67
67
|
*
|
|
68
68
|
* @param msg any data to log to the console
|
|
69
69
|
*/
|
|
70
|
-
|
|
70
|
+
debug(...msg: any[]): void;
|
|
71
71
|
|
|
72
|
-
|
|
72
|
+
/**
|
|
73
73
|
* Output debug message to console including appropriate icons
|
|
74
74
|
*
|
|
75
75
|
* @param msg any data to log to the console
|
|
76
76
|
*/
|
|
77
|
-
|
|
77
|
+
log(...msg: any[]): void;
|
|
78
78
|
|
|
79
|
-
|
|
79
|
+
/**
|
|
80
80
|
* Output info message to console including appropriate icons
|
|
81
81
|
*
|
|
82
82
|
* @param msg any data to log to the console
|
|
83
83
|
*/
|
|
84
|
-
|
|
84
|
+
info(...msg: any[]): void;
|
|
85
85
|
|
|
86
|
-
|
|
86
|
+
/**
|
|
87
87
|
* Output warn message to console including appropriate icons
|
|
88
88
|
*
|
|
89
89
|
* @param msg any data to log to the console
|
|
90
90
|
*/
|
|
91
|
-
|
|
91
|
+
warn(...msg: any[]): void;
|
|
92
92
|
|
|
93
|
-
|
|
93
|
+
/**
|
|
94
94
|
* Output error message to console including appropriate icons
|
|
95
95
|
*
|
|
96
96
|
* @param msg any data to log to the console
|
|
97
97
|
*/
|
|
98
|
-
|
|
98
|
+
error(...msg: any[]): void;
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
/**
|
|
101
101
|
* This disables all logging below the given level, so that after a log.setLevel("warn") call log.warn("something")
|
|
102
102
|
* or log.error("something") will output messages, but log.info("something") will not.
|
|
103
103
|
*
|
|
@@ -106,18 +106,18 @@ export namespace Log {
|
|
|
106
106
|
* back to cookies if not. If neither is available in the current environment (i.e. in Node), or if you pass
|
|
107
107
|
* false as the optional 'persist' second argument, persistence will be skipped.
|
|
108
108
|
*/
|
|
109
|
-
|
|
109
|
+
setLevel(level: LogLevelDesc, persist?: boolean): void;
|
|
110
110
|
|
|
111
|
-
|
|
111
|
+
/**
|
|
112
112
|
* Returns the current logging level, as a value from LogLevel.
|
|
113
113
|
* It's very unlikely you'll need to use this for normal application logging; it's provided partly to help plugin
|
|
114
114
|
* development, and partly to let you optimize logging code as below, where debug data is only generated if the
|
|
115
115
|
* level is set such that it'll actually be logged. This probably doesn't affect you, unless you've run profiling
|
|
116
116
|
* on your code and you have hard numbers telling you that your log data generation is a real performance problem.
|
|
117
117
|
*/
|
|
118
|
-
|
|
118
|
+
getLevel(): LogLevel[keyof LogLevel];
|
|
119
119
|
|
|
120
|
-
|
|
120
|
+
/**
|
|
121
121
|
* This sets the current log level only if one has not been persisted and can’t be loaded. This is useful when
|
|
122
122
|
* initializing scripts; if a developer or user has previously called setLevel(), this won’t alter their settings.
|
|
123
123
|
* For example, your application might set the log level to error in a production environment, but when debugging
|
|
@@ -130,37 +130,37 @@ export namespace Log {
|
|
|
130
130
|
*
|
|
131
131
|
* @param level as a string, like 'error' (case-insensitive) or as a number from 0 to 5 (or as log.levels. values)
|
|
132
132
|
*/
|
|
133
|
-
|
|
133
|
+
setDefaultLevel(level: LogLevelDesc): void;
|
|
134
134
|
|
|
135
|
-
|
|
135
|
+
/**
|
|
136
136
|
* This enables all log messages, and is equivalent to log.setLevel("trace").
|
|
137
137
|
*
|
|
138
138
|
* @param persist Where possible the log level will be persisted. LocalStorage will be used if available, falling
|
|
139
139
|
* back to cookies if not. If neither is available in the current environment (i.e. in Node), or if you pass
|
|
140
140
|
* false as the optional 'persist' second argument, persistence will be skipped.
|
|
141
141
|
*/
|
|
142
|
-
|
|
142
|
+
enableAll(persist?: boolean): void;
|
|
143
143
|
|
|
144
|
-
|
|
144
|
+
/**
|
|
145
145
|
* This disables all log messages, and is equivalent to log.setLevel("silent").
|
|
146
146
|
*
|
|
147
147
|
* @param persist Where possible the log level will be persisted. LocalStorage will be used if available, falling
|
|
148
148
|
* back to cookies if not. If neither is available in the current environment (i.e. in Node), or if you pass
|
|
149
149
|
* false as the optional 'persist' second argument, persistence will be skipped.
|
|
150
150
|
*/
|
|
151
|
-
|
|
151
|
+
disableAll(persist?: boolean): void;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
interface RootLogger extends Logger {
|
|
155
|
-
|
|
155
|
+
/**
|
|
156
156
|
* If you're using another JavaScript library that exposes a 'log' global, you can run into conflicts with loglevel.
|
|
157
157
|
* Similarly to jQuery, you can solve this by putting loglevel into no-conflict mode immediately after it is loaded
|
|
158
158
|
* onto the page. This resets to 'log' global to its value before loglevel was loaded (typically undefined), and
|
|
159
159
|
* returns the loglevel object, which you can then bind to another name yourself.
|
|
160
160
|
*/
|
|
161
|
-
|
|
161
|
+
noConflict(): any;
|
|
162
162
|
|
|
163
|
-
|
|
163
|
+
/**
|
|
164
164
|
* This gets you a new logger object that works exactly like the root log object, but can have its level and
|
|
165
165
|
* logging methods set independently. All loggers must have a name (which is a non-empty string or a symbol)
|
|
166
166
|
* Calling * getLogger() multiple times with the same name will return an identical logger object.
|
|
@@ -172,16 +172,16 @@ export namespace Log {
|
|
|
172
172
|
* circumstances.
|
|
173
173
|
* @param name The name of the produced logger
|
|
174
174
|
*/
|
|
175
|
-
|
|
175
|
+
getLogger(name: string | symbol): Logger;
|
|
176
176
|
|
|
177
|
-
|
|
177
|
+
/**
|
|
178
178
|
* This will return you the dictionary of all loggers created with getLogger, keyed off of their names.
|
|
179
179
|
*/
|
|
180
|
-
|
|
180
|
+
getLoggers(): { [name: string]: Logger };
|
|
181
181
|
|
|
182
|
-
|
|
182
|
+
/**
|
|
183
183
|
* A .default property for ES6 default import compatibility
|
|
184
184
|
*/
|
|
185
|
-
|
|
185
|
+
default: RootLogger;
|
|
186
186
|
}
|
|
187
187
|
}
|
package/tsdef/types.d.ts
CHANGED
|
@@ -165,7 +165,7 @@ export interface LocalTrackPublishOptions {
|
|
|
165
165
|
priority?: Track.Priority;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
export interface MediaStreamTrackPublishOptions extends LocalTrackOptions{
|
|
168
|
+
export interface MediaStreamTrackPublishOptions extends LocalTrackOptions {
|
|
169
169
|
priority?: Track.Priority;
|
|
170
170
|
}
|
|
171
171
|
|
|
@@ -210,7 +210,7 @@ export interface CreateLocalAudioTrackOptions extends CreateLocalTrackOptions {
|
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
export interface ConnectOptions extends MediaImplementationOptions {
|
|
213
|
-
audio?: boolean | CreateLocalTrackOptions| CreateLocalAudioTrackOptions;
|
|
213
|
+
audio?: boolean | CreateLocalTrackOptions | CreateLocalAudioTrackOptions;
|
|
214
214
|
automaticSubscription?: boolean;
|
|
215
215
|
bandwidthProfile?: BandwidthProfileOptions;
|
|
216
216
|
dominantSpeaker?: boolean;
|
|
@@ -287,6 +287,7 @@ export class LocalVideoTrackStats extends LocalTrackStats {
|
|
|
287
287
|
dimensions: VideoTrack.Dimensions | null;
|
|
288
288
|
captureFrameRate: number | null;
|
|
289
289
|
frameRate: number | null;
|
|
290
|
+
qualityLimitationReason?: 'none' | 'cpu' | 'bandwidth' | 'other';
|
|
290
291
|
}
|
|
291
292
|
|
|
292
293
|
export class LocalAudioTrackStats extends LocalTrackStats {
|
|
@@ -296,16 +297,17 @@ export class LocalAudioTrackStats extends LocalTrackStats {
|
|
|
296
297
|
export class RemoteTrackStats extends TrackStats {
|
|
297
298
|
bytesReceived: number | null;
|
|
298
299
|
packetsReceived: number | null;
|
|
300
|
+
jitter: number | null;
|
|
299
301
|
}
|
|
300
302
|
|
|
301
303
|
export class RemoteAudioTrackStats extends RemoteTrackStats {
|
|
302
304
|
audioLevel: AudioLevel | null;
|
|
303
|
-
jitter: number | null;
|
|
304
305
|
}
|
|
305
306
|
|
|
306
307
|
export class RemoteVideoTrackStats extends RemoteTrackStats {
|
|
307
308
|
dimensions: VideoTrack.Dimensions | null;
|
|
308
309
|
frameRate: number | null;
|
|
310
|
+
freezeCount?: number;
|
|
309
311
|
}
|
|
310
312
|
|
|
311
313
|
export class StatsReport {
|
|
@@ -321,14 +323,12 @@ export interface CancelablePromise<T> extends Promise<T> {
|
|
|
321
323
|
}
|
|
322
324
|
|
|
323
325
|
export type TranscriptionEvent = {
|
|
324
|
-
/* eslint-disable camelcase */
|
|
325
326
|
language_code: string;
|
|
326
327
|
partial_results: boolean;
|
|
327
328
|
sequence_number: number;
|
|
328
|
-
/* eslint-enable camelcase */
|
|
329
329
|
participant: string;
|
|
330
330
|
timestamp: string;
|
|
331
331
|
track: string;
|
|
332
332
|
transcription: string;
|
|
333
333
|
type: 'extension_transcriptions';
|
|
334
|
-
}
|
|
334
|
+
};
|
package/.babelrc
DELETED
package/.eslintrc.json
DELETED
|
@@ -1,369 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"env": {
|
|
3
|
-
"browser": true,
|
|
4
|
-
"es6": true,
|
|
5
|
-
"node": true
|
|
6
|
-
},
|
|
7
|
-
"parser": "@typescript-eslint/parser",
|
|
8
|
-
"plugins": [
|
|
9
|
-
"@typescript-eslint"
|
|
10
|
-
],
|
|
11
|
-
"extends": [
|
|
12
|
-
"eslint:recommended",
|
|
13
|
-
"plugin:@typescript-eslint/eslint-recommended",
|
|
14
|
-
"plugin:@typescript-eslint/recommended"
|
|
15
|
-
],
|
|
16
|
-
"globals": {
|
|
17
|
-
"Atomics": "readonly",
|
|
18
|
-
"SharedArrayBuffer": "readonly",
|
|
19
|
-
"globalThis": false
|
|
20
|
-
},
|
|
21
|
-
"parserOptions": {
|
|
22
|
-
"ecmaVersion": 2018,
|
|
23
|
-
"sourceType": "module"
|
|
24
|
-
},
|
|
25
|
-
"rules": {
|
|
26
|
-
"@typescript-eslint/no-var-requires": "off",
|
|
27
|
-
"@typescript-eslint/no-empty-function": "off",
|
|
28
|
-
"@typescript-eslint/no-this-alias": "off",
|
|
29
|
-
"accessor-pairs": "error",
|
|
30
|
-
"array-bracket-newline": "off",
|
|
31
|
-
"array-bracket-spacing": [
|
|
32
|
-
"error",
|
|
33
|
-
"never"
|
|
34
|
-
],
|
|
35
|
-
"array-callback-return": "error",
|
|
36
|
-
"array-element-newline": "off",
|
|
37
|
-
"arrow-body-style": "off",
|
|
38
|
-
"arrow-parens": [
|
|
39
|
-
"error",
|
|
40
|
-
"as-needed"
|
|
41
|
-
],
|
|
42
|
-
"arrow-spacing": [
|
|
43
|
-
"error",
|
|
44
|
-
{
|
|
45
|
-
"after": true,
|
|
46
|
-
"before": true
|
|
47
|
-
}
|
|
48
|
-
],
|
|
49
|
-
"block-scoped-var": "error",
|
|
50
|
-
"block-spacing": [
|
|
51
|
-
"error",
|
|
52
|
-
"always"
|
|
53
|
-
],
|
|
54
|
-
"brace-style": [
|
|
55
|
-
"error",
|
|
56
|
-
"1tbs",
|
|
57
|
-
{
|
|
58
|
-
"allowSingleLine": true
|
|
59
|
-
}
|
|
60
|
-
],
|
|
61
|
-
"callback-return": "error",
|
|
62
|
-
"camelcase": "error",
|
|
63
|
-
"capitalized-comments": "off",
|
|
64
|
-
"class-methods-use-this": "off",
|
|
65
|
-
"comma-dangle": "off",
|
|
66
|
-
"comma-spacing": [
|
|
67
|
-
"error",
|
|
68
|
-
{
|
|
69
|
-
"after": true,
|
|
70
|
-
"before": false
|
|
71
|
-
}
|
|
72
|
-
],
|
|
73
|
-
"comma-style": [
|
|
74
|
-
"error",
|
|
75
|
-
"last"
|
|
76
|
-
],
|
|
77
|
-
"complexity": "off",
|
|
78
|
-
"computed-property-spacing": [
|
|
79
|
-
"error",
|
|
80
|
-
"never"
|
|
81
|
-
],
|
|
82
|
-
"consistent-return": "warn",
|
|
83
|
-
"consistent-this": [
|
|
84
|
-
"error",
|
|
85
|
-
"self"
|
|
86
|
-
],
|
|
87
|
-
"curly": "error",
|
|
88
|
-
"default-case": "off",
|
|
89
|
-
"dot-location": [
|
|
90
|
-
"error",
|
|
91
|
-
"property"
|
|
92
|
-
],
|
|
93
|
-
"dot-notation": [
|
|
94
|
-
"error",
|
|
95
|
-
{
|
|
96
|
-
"allowKeywords": true
|
|
97
|
-
}
|
|
98
|
-
],
|
|
99
|
-
"eol-last": "error",
|
|
100
|
-
"eqeqeq": "error",
|
|
101
|
-
"func-call-spacing": "error",
|
|
102
|
-
"func-name-matching": "off",
|
|
103
|
-
"func-names": "off",
|
|
104
|
-
"func-style": [
|
|
105
|
-
"error",
|
|
106
|
-
"declaration",
|
|
107
|
-
{
|
|
108
|
-
"allowArrowFunctions": true
|
|
109
|
-
}
|
|
110
|
-
],
|
|
111
|
-
"function-call-argument-newline": "off",
|
|
112
|
-
"function-paren-newline": "off",
|
|
113
|
-
"generator-star-spacing": "error",
|
|
114
|
-
"global-require": "off",
|
|
115
|
-
"guard-for-in": "off",
|
|
116
|
-
"handle-callback-err": "error",
|
|
117
|
-
"id-blacklist": "error",
|
|
118
|
-
"id-length": "off",
|
|
119
|
-
"id-match": "error",
|
|
120
|
-
"implicit-arrow-linebreak": "off",
|
|
121
|
-
"indent": [
|
|
122
|
-
"error",
|
|
123
|
-
2,
|
|
124
|
-
{
|
|
125
|
-
"SwitchCase": 1
|
|
126
|
-
}
|
|
127
|
-
],
|
|
128
|
-
"indent-legacy": "off",
|
|
129
|
-
"init-declarations": "off",
|
|
130
|
-
"jsx-quotes": "error",
|
|
131
|
-
"key-spacing": "error",
|
|
132
|
-
"keyword-spacing": "error",
|
|
133
|
-
"line-comment-position": "off",
|
|
134
|
-
"linebreak-style": [
|
|
135
|
-
"error",
|
|
136
|
-
"unix"
|
|
137
|
-
],
|
|
138
|
-
"lines-around-comment": "off",
|
|
139
|
-
"lines-around-directive": "off",
|
|
140
|
-
"lines-between-class-members": "off",
|
|
141
|
-
"max-classes-per-file": "off",
|
|
142
|
-
"max-depth": "error",
|
|
143
|
-
"max-len": "off",
|
|
144
|
-
"max-lines": "off",
|
|
145
|
-
"max-lines-per-function": "off",
|
|
146
|
-
"max-nested-callbacks": "error",
|
|
147
|
-
"max-params": "off",
|
|
148
|
-
"max-statements": "off",
|
|
149
|
-
"max-statements-per-line": "off",
|
|
150
|
-
"multiline-comment-style": "off",
|
|
151
|
-
"multiline-ternary": "off",
|
|
152
|
-
"new-cap": "error",
|
|
153
|
-
"new-parens": "error",
|
|
154
|
-
"newline-after-var": "off",
|
|
155
|
-
"newline-before-return": "off",
|
|
156
|
-
"newline-per-chained-call": "off",
|
|
157
|
-
"no-alert": "error",
|
|
158
|
-
"no-array-constructor": "error",
|
|
159
|
-
"no-await-in-loop": "error",
|
|
160
|
-
"no-bitwise": "off",
|
|
161
|
-
"no-buffer-constructor": "error",
|
|
162
|
-
"no-caller": "error",
|
|
163
|
-
"no-catch-shadow": "off",
|
|
164
|
-
"no-confusing-arrow": "off",
|
|
165
|
-
"no-console": "error",
|
|
166
|
-
"no-const-assign": "error",
|
|
167
|
-
"no-continue": "off",
|
|
168
|
-
"no-div-regex": "error",
|
|
169
|
-
"no-duplicate-imports": "error",
|
|
170
|
-
"no-else-return": [
|
|
171
|
-
"error",
|
|
172
|
-
{
|
|
173
|
-
"allowElseIf": true
|
|
174
|
-
}
|
|
175
|
-
],
|
|
176
|
-
"no-empty-function": "off",
|
|
177
|
-
"no-eq-null": "error",
|
|
178
|
-
"no-eval": "error",
|
|
179
|
-
"no-extend-native": "error",
|
|
180
|
-
"no-extra-bind": "error",
|
|
181
|
-
"no-extra-label": "error",
|
|
182
|
-
"no-extra-parens": "off",
|
|
183
|
-
"no-floating-decimal": "error",
|
|
184
|
-
"no-implicit-globals": "error",
|
|
185
|
-
"no-implied-eval": "error",
|
|
186
|
-
"no-inline-comments": "off",
|
|
187
|
-
"no-inner-declarations": [
|
|
188
|
-
"error",
|
|
189
|
-
"functions"
|
|
190
|
-
],
|
|
191
|
-
"no-invalid-this": "error",
|
|
192
|
-
"no-iterator": "error",
|
|
193
|
-
"no-label-var": "error",
|
|
194
|
-
"no-labels": "error",
|
|
195
|
-
"no-lone-blocks": "error",
|
|
196
|
-
"no-lonely-if": "error",
|
|
197
|
-
"no-loop-func": "error",
|
|
198
|
-
"no-magic-numbers": "off",
|
|
199
|
-
"no-mixed-operators": "off",
|
|
200
|
-
"no-mixed-requires": "error",
|
|
201
|
-
"no-multi-assign": "off",
|
|
202
|
-
"no-multi-spaces": "off",
|
|
203
|
-
"no-multi-str": "off",
|
|
204
|
-
"no-multiple-empty-lines": "error",
|
|
205
|
-
"no-native-reassign": "error",
|
|
206
|
-
"no-negated-condition": "off",
|
|
207
|
-
"no-negated-in-lhs": "error",
|
|
208
|
-
"no-nested-ternary": "off",
|
|
209
|
-
"no-new": "error",
|
|
210
|
-
"no-new-func": "error",
|
|
211
|
-
"no-new-object": "error",
|
|
212
|
-
"no-new-require": "error",
|
|
213
|
-
"no-new-wrappers": "error",
|
|
214
|
-
"no-octal-escape": "error",
|
|
215
|
-
"no-param-reassign": "off",
|
|
216
|
-
"no-path-concat": "error",
|
|
217
|
-
"no-plusplus": "off",
|
|
218
|
-
"no-process-env": "error",
|
|
219
|
-
"no-process-exit": "error",
|
|
220
|
-
"no-proto": "error",
|
|
221
|
-
"no-redeclare": [
|
|
222
|
-
"error",
|
|
223
|
-
{
|
|
224
|
-
"builtinGlobals": false
|
|
225
|
-
}
|
|
226
|
-
],
|
|
227
|
-
"no-restricted-globals": "error",
|
|
228
|
-
"no-restricted-imports": "error",
|
|
229
|
-
"no-restricted-modules": "error",
|
|
230
|
-
"no-restricted-properties": "error",
|
|
231
|
-
"no-restricted-syntax": "error",
|
|
232
|
-
"no-return-assign": "error",
|
|
233
|
-
"no-return-await": "error",
|
|
234
|
-
"no-script-url": "error",
|
|
235
|
-
"no-self-compare": "error",
|
|
236
|
-
"no-sequences": "error",
|
|
237
|
-
"no-shadow": "off",
|
|
238
|
-
"no-spaced-func": "error",
|
|
239
|
-
"no-sync": "off",
|
|
240
|
-
"no-tabs": "error",
|
|
241
|
-
"no-template-curly-in-string": "error",
|
|
242
|
-
"no-ternary": "off",
|
|
243
|
-
"no-throw-literal": "error",
|
|
244
|
-
"no-trailing-spaces": "error",
|
|
245
|
-
"no-undef": [
|
|
246
|
-
"error",
|
|
247
|
-
{
|
|
248
|
-
"typeof": false
|
|
249
|
-
}
|
|
250
|
-
],
|
|
251
|
-
"no-undef-init": "error",
|
|
252
|
-
"no-undefined": "error",
|
|
253
|
-
"no-underscore-dangle": "off",
|
|
254
|
-
"no-unmodified-loop-condition": "error",
|
|
255
|
-
"no-unneeded-ternary": "error",
|
|
256
|
-
"no-unused-expressions": "error",
|
|
257
|
-
"no-use-before-define": [
|
|
258
|
-
"error",
|
|
259
|
-
{
|
|
260
|
-
"functions": false
|
|
261
|
-
}
|
|
262
|
-
],
|
|
263
|
-
"no-useless-call": "error",
|
|
264
|
-
"no-useless-computed-key": "error",
|
|
265
|
-
"no-useless-concat": "error",
|
|
266
|
-
"no-useless-constructor": "off",
|
|
267
|
-
"no-useless-rename": "error",
|
|
268
|
-
"no-useless-return": "off",
|
|
269
|
-
"no-var": "off",
|
|
270
|
-
"no-void": "error",
|
|
271
|
-
"no-warning-comments": "warn",
|
|
272
|
-
"no-with": "error",
|
|
273
|
-
"no-whitespace-before-property": "off",
|
|
274
|
-
"nonblock-statement-body-position": "error",
|
|
275
|
-
"object-curly-newline": "error",
|
|
276
|
-
"object-curly-spacing": [
|
|
277
|
-
"error",
|
|
278
|
-
"always"
|
|
279
|
-
],
|
|
280
|
-
"object-shorthand": "off",
|
|
281
|
-
"one-var": [
|
|
282
|
-
"error",
|
|
283
|
-
"never"
|
|
284
|
-
],
|
|
285
|
-
"one-var-declaration-per-line": "error",
|
|
286
|
-
"operator-assignment": "error",
|
|
287
|
-
"operator-linebreak": "off",
|
|
288
|
-
"padded-blocks": "off",
|
|
289
|
-
"padding-line-between-statements": "error",
|
|
290
|
-
"prefer-arrow-callback": "off",
|
|
291
|
-
"prefer-const": "off",
|
|
292
|
-
"prefer-destructuring": "off",
|
|
293
|
-
"prefer-named-capture-group": "off",
|
|
294
|
-
"prefer-numeric-literals": "error",
|
|
295
|
-
"prefer-object-spread": "off",
|
|
296
|
-
"prefer-promise-reject-errors": "off",
|
|
297
|
-
"prefer-reflect": "off",
|
|
298
|
-
"prefer-rest-params": "off",
|
|
299
|
-
"prefer-spread": "off",
|
|
300
|
-
"prefer-template": "off",
|
|
301
|
-
"quote-props": [
|
|
302
|
-
"error",
|
|
303
|
-
"consistent"
|
|
304
|
-
],
|
|
305
|
-
"quotes": [
|
|
306
|
-
"error",
|
|
307
|
-
"single"
|
|
308
|
-
],
|
|
309
|
-
"radix": "off",
|
|
310
|
-
"require-await": "error",
|
|
311
|
-
"require-jsdoc": "off",
|
|
312
|
-
"require-unicode-regexp": "off",
|
|
313
|
-
"rest-spread-spacing": [
|
|
314
|
-
"error",
|
|
315
|
-
"never"
|
|
316
|
-
],
|
|
317
|
-
"semi": "error",
|
|
318
|
-
"semi-spacing": "error",
|
|
319
|
-
"semi-style": [
|
|
320
|
-
"error",
|
|
321
|
-
"last"
|
|
322
|
-
],
|
|
323
|
-
"sort-imports": "error",
|
|
324
|
-
"sort-keys": "off",
|
|
325
|
-
"sort-vars": "error",
|
|
326
|
-
"space-before-blocks": "error",
|
|
327
|
-
"space-before-function-paren": [
|
|
328
|
-
"error",
|
|
329
|
-
{
|
|
330
|
-
"anonymous": "never",
|
|
331
|
-
"named": "never",
|
|
332
|
-
"asyncArrow": "always"
|
|
333
|
-
}
|
|
334
|
-
],
|
|
335
|
-
"space-in-parens": [
|
|
336
|
-
"error",
|
|
337
|
-
"never"
|
|
338
|
-
],
|
|
339
|
-
"space-infix-ops": "error",
|
|
340
|
-
"space-unary-ops": "error",
|
|
341
|
-
"spaced-comment": [
|
|
342
|
-
"error",
|
|
343
|
-
"always"
|
|
344
|
-
],
|
|
345
|
-
"strict": "off",
|
|
346
|
-
"switch-colon-spacing": [
|
|
347
|
-
"error",
|
|
348
|
-
{
|
|
349
|
-
"after": true,
|
|
350
|
-
"before": false
|
|
351
|
-
}
|
|
352
|
-
],
|
|
353
|
-
"symbol-description": "error",
|
|
354
|
-
"template-curly-spacing": [
|
|
355
|
-
"error",
|
|
356
|
-
"never"
|
|
357
|
-
],
|
|
358
|
-
"template-tag-spacing": "error",
|
|
359
|
-
"unicode-bom": [
|
|
360
|
-
"error",
|
|
361
|
-
"never"
|
|
362
|
-
],
|
|
363
|
-
"valid-jsdoc": "off",
|
|
364
|
-
"vars-on-top": "off",
|
|
365
|
-
"wrap-iife": "error",
|
|
366
|
-
"wrap-regex": "off",
|
|
367
|
-
"yield-star-spacing": "error"
|
|
368
|
-
}
|
|
369
|
-
}
|