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

xrpl-txdata

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xrpl-txdata - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

6

dist/src/index.js

@@ -417,3 +417,7 @@ "use strict";

if (connection.readyState === connection.OPEN) {
connection.send(JSON.stringify({ id, command: 'tx', transaction: TxHash }));
connection.send(JSON.stringify({
id,
command: 'tx',
[TxHash.length > 16 ? 'transaction' : 'ctid']: TxHash
}));
const onTx = (r) => {

@@ -420,0 +424,0 @@ var _a, _b, _c, _d, _e;

2

package.json
{
"name": "xrpl-txdata",
"version": "1.3.0",
"version": "1.4.0",
"description": "Fetch XRPL transaction by hash (+ meta & balances), awaits if required",

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

@@ -5,2 +5,6 @@ # XRPL Transaction Data fetcher [![npm version](https://badge.fury.io/js/xrpl-txdata.svg)](https://www.npmjs.com/xrpl-txdata) [![GitHub Actions NodeJS status](https://github.com/XRPL-Labs/XrplTxData/workflows/NodeJS/badge.svg?branch=main)](https://github.com/XRPL-Labs/XrplTxData/actions) [![CDNJS Browserified](https://img.shields.io/badge/cdnjs-browserified-blue)](https://cdn.jsdelivr.net/gh/XRPL-Labs/XrplTxData@main/dist/browser.js) [![CDNJS Browserified Minified](https://img.shields.io/badge/cdnjs-minified-orange)](https://cdn.jsdelivr.net/gh/XRPL-Labs/XrplTxData@main/dist/browser.min.js)

# ⚠️ WARNING! PLEASE UPDATE TO THE LATEST VERSION (1.2.3) - previous versions have a bug resulting in sometimes returning UNVALIDATED TRANSACTIONS (without metadata, and may not be included in the closed ledger).
---
This lib. allows you to fetch XRP ledger transaction outcome from a number of (full history) XRP ledger nodes. This lib. will automatically setup connections when fetching from a selected node takes too long. The first (sane) reply will be returned.

@@ -7,0 +11,0 @@

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