forked from hibas123/SecureFileWrapper
Update things
This commit is contained in:
@ -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;
|
||||
|
@ -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"
|
||||
|
Reference in New Issue
Block a user