Update things

This commit is contained in:
Fabian Stamm
2024-06-22 16:47:48 +02:00
parent da315034e4
commit 55a10f3366
5 changed files with 758 additions and 1124 deletions

View File

@ -105,7 +105,7 @@ export default class SecureFileWrapper {
public async getJWT() {
if (!this.auth_lock.locked) {
let lock = await this.auth_lock.getLock();
await new Promise((yes, no) => {
await new Promise<void>((yes, no) => {
this._jwtObservableServer.send((err: Error | null | string, jwt: string) => {
if (err) {
this.jwt = undefined;

View File

@ -1,5 +1,5 @@
import SecureFile, { NotFound } from "./index";
import * as v4 from "uuid/v4"
import { v4 } from "uuid"
import { TextEncoder, TextDecoder } from "util";
const testname = "ouiavgbsop687463743"