promise-idb 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -0
  2. package/package.json +2 -1
package/dist/index.d.ts CHANGED
@@ -2,5 +2,7 @@ import DBError from "./DBError";
2
2
  import DBStore from "./DBStore";
3
3
  import DBStoreIndex from "./DBStoreIndex";
4
4
  import AsyncDB from "./AsyncDB";
5
+ import type { AsyncDBDatabase, AsyncDBInstance, IDbAsync } from "./types";
6
+ export { AsyncDBDatabase, AsyncDBInstance, IDbAsync };
5
7
  export { DBError, DBStore, DBStoreIndex, AsyncDB };
6
8
  export default AsyncDB;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "promise-idb",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "A lightweight TypeScript library that simplifies IndexedDB with async/await syntax and Promise-based API for modern browser storage",
5
5
  "homepage": "https://github.com/Maliklar/async-indexeddb#readme",
6
6
  "bugs": {
@@ -70,6 +70,7 @@
70
70
  "main": "dist/index.js",
71
71
  "scripts": {
72
72
  "build": "tsc",
73
+ "postbuild": "npm link",
73
74
  "test": "echo \"Error: no test specified\" && exit 1"
74
75
  },
75
76
  "devDependencies": {