webrtc-mock
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -17,3 +17,7 @@ import { TCapabilities } from './Capabilities'; | ||
}; | ||
declare class MediaStreamTrackMock<T extends string = 'audio' | 'video'> implements MediaStreamTrack { | ||
type MediaStreamUnionTrack = { | ||
readonly kind: 'video' | 'audio'; | ||
clone: () => MediaStreamUnionTrack; | ||
} & MediaStreamTrack; | ||
declare class MediaStreamTrackMock<T extends 'audio' | 'video' = 'video' | 'audio'> implements MediaStreamUnionTrack { | ||
private readonly events; | ||
@@ -20,0 +24,0 @@ id: string; |
import { default as mediaStreamTrackMock } from '../mediaStreamTrackMock'; | ||
declare const parseTracks: (array: mediaStreamTrackMock<"audio" | "video">[]) => mediaStreamTrackMock<"audio" | "video">[]; | ||
declare const parseTracks: (array: mediaStreamTrackMock<"video" | "audio">[]) => mediaStreamTrackMock<"video" | "audio">[]; | ||
export default parseTracks; |
{ | ||
"name": "webrtc-mock", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Classes and functions mock webrtc api for tests", | ||
@@ -57,5 +57,5 @@ "keywords": [ | ||
"@types/dom-mediacapture-transform": "^0.1.9", | ||
"@types/node": "^20.14.11", | ||
"@typescript-eslint/eslint-plugin": "^7.16.1", | ||
"@typescript-eslint/parser": "^7.16.1", | ||
"@types/node": "^20.14.12", | ||
"@typescript-eslint/eslint-plugin": "^7.17.0", | ||
"@typescript-eslint/parser": "^7.17.0", | ||
"cross-env": "^7.0.3", | ||
@@ -72,3 +72,3 @@ "eslint": "^8.57.0", | ||
"eslint-plugin-unicorn": "^54.0.0", | ||
"husky": "^9.1.0", | ||
"husky": "^9.1.1", | ||
"lint-staged": "^15.2.7", | ||
@@ -78,3 +78,3 @@ "prettier": "^3.3.3", | ||
"tsc-files": "^1.1.4", | ||
"typescript": "^5.5.3", | ||
"typescript": "^5.5.4", | ||
"vite": "^5.3.4", | ||
@@ -86,3 +86,4 @@ "vite-plugin-dts": "^3.9.1", | ||
"events-constructor": "^1.2.3" | ||
} | ||
}, | ||
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45525
823