Updating stuff

This commit is contained in:
Fabian
2019-07-02 17:45:14 +02:00
parent 22e6cacd8e
commit 93b272ecb5
4 changed files with 170 additions and 522 deletions

View File

@ -1,8 +1,14 @@
import * as config from "../config.json"
import { Lock, Observable } from "@hibas123/utils"
import SecureFile, { IFile } from "@hibas123/secure-file-wrapper";
import * as b64 from "./helper/base64"
import { Lock, Observable } from "@hibas123/utils";
import * as aesjs from "aes-js";
import { Transaction } from "idb";
import { sha256 } from "js-sha256";
import * as uuidv4 from "uuid/v4";
import * as config from "../config.json";
import * as b64 from "./helper/base64";
import IDB from "./helper/indexeddb";
import Notifications, { MessageType } from "./notifications";
export class HttpError extends Error {
constructor(public status: number, public statusText: string) {
@ -32,13 +38,7 @@ export interface ViewNote extends BaseNote {
__value: string;
}
import * as aesjs from "aes-js";
import { sha256 } from "js-sha256"
import clonedeep = require("lodash.clonedeep");
import * as uuidv4 from "uuid/v4"
import IDB from "./helper/indexeddb";
import { Transaction } from "idb";
import Notifications, { MessageType } from "./notifications";
const Encoder = new TextEncoder();
const Decoder = new TextDecoder();