New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

arlocal

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arlocal - npm Package Compare versions

Comparing version 1.1.49 to 1.1.50

@@ -118,3 +118,3 @@ "use strict";

this.router.get('/tx_anchor', transaction_1.txAnchorRoute);
this.router.get('/price/:bytes/:addy?', (ctx) => __awaiter(this, void 0, void 0, function* () { return (ctx.body = (+ctx.params.bytes / 1000) * 65595508); }));
this.router.get('/price/:bytes/:addy?', (ctx) => __awaiter(this, void 0, void 0, function* () { return (ctx.body = Math.round((+ctx.params.bytes / 1000) * 65595508)); }));
// tx filter endpoint to restrict ans-104 txs

@@ -121,0 +121,0 @@ this.router.get(/^\/tx(?:\/|$)/, transaction_2.txAccessMiddleware);

@@ -131,3 +131,3 @@ "use strict";

const wallet = yield walletDB.getWallet(owner);
const calculatedReward = +(data.data_size || '0') * 1965132;
const calculatedReward = Math.round((+(data.data_size || '0') / 1000) * 65595508);
if (!wallet || wallet.balance < calculatedReward) {

@@ -134,0 +134,0 @@ ctx.status = 410;

{
"name": "arlocal",
"version": "1.1.49",
"version": "1.1.50",
"main": "./bin/app.js",

@@ -5,0 +5,0 @@ "repository": "https://github.com/textury/arlocal.git",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet