UNPKG

@bsv/wallet-toolbox

Version:

BRC100 conforming wallet, wallet storage and wallet signer components

24 lines (22 loc) 815 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /* export class ChaintracksStorageMemory extends ChaintracksStorageKnex { static createStorageMemoryOptions(chain: Chain) { const options: ChaintracksStorageMemoryOptions = { ...ChaintracksStorageKnex.createStorageKnexOptions(chain), sqliteClient: 'better-sqlite3' } return options } constructor(options: ChaintracksStorageMemoryOptions) { if (options.knex) throw new Error( 'knex will be automatically configured from the sqliteClient property setting. Must be undefined.' ) options.knex = knex({ client: options.sqliteClient || 'better-sqlite3', connection: ':memory:', useNullAsDefault: true }) super(options) } } */ //# sourceMappingURL=ChaintracksStorageMemory.js.map