Updating stuff
This commit is contained in:
20
src/notes.ts
20
src/notes.ts
@ -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();
|
||||
|
Reference in New Issue
Block a user