Improve cross-platform support
Signed-off-by: James Zuccon <zuccon@gmail.com>
This commit is contained in:
@@ -3,7 +3,7 @@ import {
|
||||
BlockchainLocal,
|
||||
StorageMemory,
|
||||
WalletP2PKH,
|
||||
StorageSQLite,
|
||||
StorageLocal,
|
||||
} from '@xo/wallet';
|
||||
|
||||
const blockchainLocal = new BlockchainLocal();
|
||||
@@ -67,9 +67,9 @@ await storageMemory.set('test', {
|
||||
|
||||
console.log(storageMemory.storage);
|
||||
|
||||
const storageIDB = new StorageSQLite();
|
||||
await storageIDB.start();
|
||||
const storageLocal = new StorageLocal();
|
||||
await storageLocal.start();
|
||||
|
||||
await storageIDB.set('test', {
|
||||
await storageLocal.set('test', {
|
||||
thisShouldNotWork: true,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user