Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rei-network/database

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rei-network/database - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

14

dist/index.js
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -120,3 +124,3 @@ if (k2 === undefined) k2 = k;

if (operationTarget == DBTarget_BloomBits) {
dbOperation.baseDBOp.value = utils_1.compressBytes(value);
dbOperation.baseDBOp.value = (0, utils_1.compressBytes)(value);
}

@@ -162,3 +166,3 @@ else {

for (const tx of block.transactions) {
dbOps.push(DBOp_set(DBTarget_TxLookup, ethereumjs_util_1.toBuffer(blockNumber), {
dbOps.push(DBOp_set(DBTarget_TxLookup, (0, ethereumjs_util_1.toBuffer)(blockNumber), {
txHash: tx.hash()

@@ -451,7 +455,7 @@ }));

const createEncodingLevelDB = (path) => {
return levelup_1.default(encoding_down_1.default(leveldown_1.default(path)));
return (0, levelup_1.default)((0, encoding_down_1.default)((0, leveldown_1.default)(path)));
};
exports.createEncodingLevelDB = createEncodingLevelDB;
const createLevelDB = (path) => {
return levelup_1.default(leveldown_1.default(path));
return (0, levelup_1.default)((0, leveldown_1.default)(path));
};

@@ -458,0 +462,0 @@ exports.createLevelDB = createLevelDB;

{
"name": "@rei-network/database",
"version": "0.0.7",
"version": "0.0.8",
"main": "dist/index.js",

@@ -22,3 +22,3 @@ "types": "dist/index.d.ts",

"@rei-network/structure": "^0.0.2",
"@rei-network/utils": "^0.0.3",
"@rei-network/utils": "^0.0.4",
"encoding-down": "^6.3.0",

@@ -25,0 +25,0 @@ "leveldown": "^5.6.0",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc