Resolve "Move Hasher and Encryptor to Primitives"
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Encrypter, EventEmitter, InverseBloomFilter } from '../utils';
|
||||
|
||||
import { EventEmitter, InverseBloomFilter } from '../utils';
|
||||
import { Encrypter } from '@xocash/primitives';
|
||||
export type StorageOpts = {
|
||||
syncInMemory?: boolean;
|
||||
encryption?: Encrypter;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { BaseStorage, BaseStore, StorageOpts } from './base-store.js';
|
||||
import { StoreInMemorySynced } from './store-inmemory-synced.js';
|
||||
|
||||
import { Encrypter } from '../utils';
|
||||
import { Encrypter } from '@xocash/primitives';
|
||||
|
||||
// TODO: Only use pack/unpack on encrypted content.
|
||||
// Unsure why you were doing it on non-encrypted content (as it's not needed for IDB).
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
import { BaseStore } from './base-store.js';
|
||||
import { Encrypter, SSEClient } from '../utils';
|
||||
import { SSEClient } from '../utils';
|
||||
import {
|
||||
Bytes,
|
||||
Encrypter,
|
||||
PrivateKey,
|
||||
PublicKey,
|
||||
decodeExtendedJson,
|
||||
|
||||
Reference in New Issue
Block a user