@nxtedition/rocksdb 10.0.1 → 10.0.2

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.
package/binding.cc CHANGED
@@ -902,8 +902,7 @@ NAPI_METHOD(db_open) {
902
902
  database->columns[column.handle->GetID()] = column;
903
903
  }
904
904
 
905
- napi_value columns;
906
- NAPI_STATUS_RETURN(napi_create_object(env, &columns));
905
+ napi_value columns = argv[1];
907
906
  for (auto& [id, column] : database->columns) {
908
907
  napi_value val;
909
908
  NAPI_STATUS_RETURN(napi_create_external(env, column.handle, nullptr, nullptr, &val));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/rocksdb",
3
- "version": "10.0.1",
3
+ "version": "10.0.2",
4
4
  "description": "A low-level Node.js RocksDB binding",
5
5
  "license": "MIT",
6
6
  "main": "index.js",