kriszyp / lmdb-js

Simple, efficient, ultra-fast, scalable data store wrapper for LMDB
Other
484 stars 39 forks source link

published index.d.ts is somehow outdated with master branch #96

Closed gogoout closed 2 years ago

gogoout commented 2 years ago

https://cdn.jsdelivr.net/npm/lmdb@latest/index.d.ts https://cdn.jsdelivr.net/npm/lmdb-store@latest/index.d.ts For example, there should be a transactionAsync function for Database there but isn't. However, seems the type exists for lmdb-store package.

kriszyp commented 2 years ago

v2.0 is going out on lmdb, so https://cdn.jsdelivr.net/npm/lmdb@latest is the latest v2.0 beta release, in which I intended to deprecate transactionAsync in favor of just transaction. I guess should actually still include that in the typings though. https://cdn.jsdelivr.net/npm/lmdb-store@latest has v1.x.

kriszyp commented 2 years ago

Updating the typings on v2.0 branch. Will merge v2.0 into master very soon.

kriszyp commented 2 years ago

V2.0 is now merged into master and published.