Socket
Socket
Sign inDemoInstall

@zondax/beryx

Package Overview
Dependencies
Maintainers
3
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zondax/beryx - npm Package Compare versions

Comparing version 0.8.1 to 0.8.2

18

dist/filecoin/api/index.js

@@ -78,19 +78,9 @@ "use strict";

this.convertHash = (value, destFormat) => __awaiter(this, void 0, void 0, function* () {
const response = yield this.client.get(`${this.servicePath}/tools/convert/hash`, {
method: 'GET',
headers: {
'Content-Type': 'application/json',
},
data: JSON.stringify({ value, destination_format: destFormat }),
});
const subPath = destFormat == 'eth' ? 'FilToEth' : 'EthToFil';
const response = yield this.client.get(`${this.servicePath}/convert/hash/${subPath}/${value}`);
return response.data;
});
this.convertAddress = (value, destFormat) => __awaiter(this, void 0, void 0, function* () {
const response = yield this.client.get(`${this.servicePath}/tools/convert/address`, {
method: 'GET',
headers: {
'Content-Type': 'application/json',
},
data: JSON.stringify({ value, destination_format: destFormat }),
});
const subPath = destFormat == 'eth' ? 'FilToEth' : 'EthToFil';
const response = yield this.client.get(`${this.servicePath}/convert/address/${subPath}/${value}`);
return response.data;

@@ -97,0 +87,0 @@ });

@@ -9,2 +9,2 @@ "use strict";

exports.DataPrefixPath = 'fil/data';
exports.ToolsPrefixPath = 'fil/data';
exports.ToolsPrefixPath = 'fil/tools';
{
"name": "@zondax/beryx",
"version": "0.8.1",
"version": "0.8.2",
"description": "Beryx indexes and exposes via a public API Filecoin historical and real-time data. We provide historical transactions of every account, interactions with multisig accounts, fees details and many more.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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