Fix package.json
This commit is contained in:
parent
6854192a44
commit
053b313df2
File diff suppressed because it is too large
Load Diff
|
@ -32,7 +32,6 @@
|
|||
"@babel/plugin-transform-typescript": "^7.16.8",
|
||||
"@babel/polyfill": "^7.12.1",
|
||||
"@babel/preset-env": "^7.17.10",
|
||||
"@babel/preset-es2015": "^7.0.0-beta.53",
|
||||
"@babel/preset-typescript": "^7.16.7",
|
||||
"@cryptography/aes": "^0.1.1",
|
||||
"@cryptography/sha1": "^0.2.0",
|
||||
|
@ -49,6 +48,7 @@
|
|||
"big-integer": "^1.6.51",
|
||||
"compression": "^1.7.4",
|
||||
"css-loader": "^6.7.1",
|
||||
"cssnano": "^5.1.14",
|
||||
"dotenv-webpack": "^7.1.0",
|
||||
"eslint": "^8.21.0",
|
||||
"express": "^4.18.1",
|
||||
|
@ -62,7 +62,6 @@
|
|||
"mini-css-extract-plugin": "^2.6.0",
|
||||
"npm": "^8.8.0",
|
||||
"on-build-webpack": "^0.1.0",
|
||||
"optimize-css-assets-webpack-plugin": "^6.0.1",
|
||||
"pako": "^2.0.4",
|
||||
"postcss": "^8.4.13",
|
||||
"postcss-import": "^14.1.0",
|
||||
|
@ -71,12 +70,11 @@
|
|||
"qr-code-styling": "^1.5.0",
|
||||
"sass": "^1.51.0",
|
||||
"sass-loader": "^12.6.0",
|
||||
"serviceworker-webpack-plugin": "^1.0.1",
|
||||
"style-loader": "^3.3.1",
|
||||
"text-encoding": "^0.7.0",
|
||||
"ts-jest": "^28.0.4",
|
||||
"ts-loader": "^9.3.0",
|
||||
"typescript": "^4.7.4",
|
||||
"typescript": "^4.9.4",
|
||||
"webpack": "^5.72.0",
|
||||
"webpack-bundle-analyzer": "^4.5.0",
|
||||
"webpack-cli": "^4.9.2",
|
||||
|
|
|
@ -232,10 +232,6 @@ export class StickersTabCategory<Item extends StickersTabCategoryItem, Additiona
|
|||
}
|
||||
|
||||
public setCategoryItemsHeight() {
|
||||
if(this.id === 'Emoji.Recent') {
|
||||
debugger;
|
||||
}
|
||||
|
||||
const {width: containerWidth} = this.getContainerSize();
|
||||
const elementSize = this.getElementMediaSize().width;
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export default function getScreenConstraints(skipAudio?: boolean) {
|
||||
const constraints: DisplayMediaStreamConstraints = {
|
||||
const constraints: DisplayMediaStreamOptions = {
|
||||
video: {
|
||||
// @ts-ignore
|
||||
// cursor: 'always',
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
export default async function getScreenStream(constraints: DisplayMediaStreamConstraints) {
|
||||
export default async function getScreenStream(constraints: DisplayMediaStreamOptions) {
|
||||
const screenStream = await navigator.mediaDevices.getDisplayMedia(constraints);
|
||||
const track = screenStream.getVideoTracks()[0];
|
||||
track.contentHint = 'text';
|
||||
|
|
|
@ -27,7 +27,7 @@ export default function getStreamCached() {
|
|||
|
||||
return async(options: {
|
||||
isScreen: true,
|
||||
constraints: DisplayMediaStreamConstraints,
|
||||
constraints: DisplayMediaStreamOptions,
|
||||
} | {
|
||||
isScreen?: false,
|
||||
constraints: MediaStreamConstraints,
|
||||
|
|
|
@ -101,6 +101,7 @@ const events: A = {
|
|||
|
||||
// return item.controller.enqueue(chunk);
|
||||
// return item.writer.write(chunk);
|
||||
// @ts-ignore
|
||||
return item.controller.enqueue(chunk);
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue