mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-28 19:23:47 +02:00
chore(npm): update deps
This commit is contained in:
@@ -13,6 +13,7 @@ import locale from 'element-ui/lib/locale/lang/en';
|
||||
import {v4 as uuidv4} from 'uuid';
|
||||
import * as workerTimers from 'worker-timers';
|
||||
import 'default-passive-events';
|
||||
import Konami from 'konami';
|
||||
|
||||
import {appVersion} from './constants.js';
|
||||
import configRepository from './repository/config.js';
|
||||
@@ -78,6 +79,10 @@ speechSynthesis.getVoices();
|
||||
}
|
||||
});
|
||||
|
||||
var konamiCode = new Konami(() => {
|
||||
$app.toggleCustomEndpoint();
|
||||
});
|
||||
|
||||
VRCXStorage.GetArray = function (key) {
|
||||
try {
|
||||
var array = JSON.parse(this.Get(key));
|
||||
@@ -10725,7 +10730,7 @@ speechSynthesis.getVoices();
|
||||
};
|
||||
|
||||
$app.methods.getFriendLog = async function () {
|
||||
await database.cleanLegendFromFriendLog(); // fix dataebase spam crap
|
||||
await database.cleanLegendFromFriendLog(); // fix database spam crap
|
||||
var friendLogCurrentArray = await database.getFriendLogCurrent();
|
||||
for (var friend of friendLogCurrentArray) {
|
||||
this.friendLog.set(friend.userId, friend);
|
||||
@@ -19056,6 +19061,19 @@ speechSynthesis.getVoices();
|
||||
);
|
||||
$app.methods.toggleCustomEndpoint = function () {
|
||||
this.enableCustomEndpoint = !this.enableCustomEndpoint;
|
||||
if (this.enableCustomEndpoint) {
|
||||
this.$message({
|
||||
message:
|
||||
'Custom endpoint option enabled',
|
||||
type: 'success'
|
||||
});
|
||||
} else {
|
||||
this.$message({
|
||||
message:
|
||||
'Custom endpoint option disabled',
|
||||
type: 'success'
|
||||
});
|
||||
}
|
||||
configRepository.setBool(
|
||||
'VRCX_enableCustomEndpoint',
|
||||
this.enableCustomEndpoint
|
||||
|
||||
Reference in New Issue
Block a user