wallet-core/packages/idb-bridge
Sebastian 4845ebddf6
0006728: set up wallet CI pipeline for WebExtension build
This commit split in three main things:
 * added deploy-webext to upload the extension zipfile
 * put scope into the npm packages to be able to deploy them
 * added deploy-npm to deploy related npm packages

Also, fixing bug on `make clean`. Some packages where not
being deleting tsconfig.tsbuildinfo and making subsequent
`make` fail
2021-02-01 17:07:22 -03:00
..
src type annotation 2021-01-29 11:36:55 +01:00
.gitignore get rid of web-common and build directory (in favor of just dist/) 2019-08-18 21:30:33 +02:00
.npmignore db import/export and commit callback 2019-08-16 19:05:48 +02:00
api-extractor.json use API extractor for cleaner package separation 2020-08-10 14:37:20 +05:30
package.json 0006728: set up wallet CI pipeline for WebExtension build 2021-02-01 17:07:22 -03:00
README.md idb wip 2019-06-15 22:44:54 +02:00
rollup.config.js modularize repo, use pnpm, improve typechecking 2020-08-03 13:01:05 +05:30
tsconfig.json use API extractor for cleaner package separation 2020-08-10 14:37:20 +05:30

idb-bridge

The idb-bridge package implements the IndexedDB API with multiple backends.

Currently available backends are:

  • sqlite: A SQLite3 database. Can be backed by a file or in memory.
  • memdb: An unoptimized in-memory storage backend. Useful for environments that do not have sqlite.

Known Issues

IndexedDB assumes that after a database has been opened, the set of object stores and indices does not change, even when there is no transaction active. We cannot guarantee this with SQLite.

Acknowledgements

This library is based on the fakeIndexedDB library (https://github.com/dumbmatter/fakeIndexedDB).