update deps

This commit is contained in:
syuilo 2022-01-02 02:15:12 +09:00
parent 158dd49b3d
commit 92d9ce8117
6 changed files with 75 additions and 94 deletions

View file

@ -16,7 +16,7 @@ if (localStorage.getItem('accounts') != null) {
import * as Sentry from '@sentry/browser';
import { Integrations } from '@sentry/tracing';
import { computed, createApp, watch, markRaw, version as vueVersion } from 'vue';
import compareVersions from 'compare-versions';
import * as compareVersions from 'compare-versions';
import widgets from '@/widgets';
import directives from '@/directives';

View file

@ -3,4 +3,8 @@ import { markRaw } from 'vue';
import { $i } from '@/account';
import { url } from '@/config';
export const stream = markRaw(new Misskey.Stream(url, $i));
console.log($i.token);
export const stream = markRaw(new Misskey.Stream(url, $i ? {
token: $i.token,
} : null));