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

ripple-binary-codec

Package Overview
Dependencies
Maintainers
3
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ripple-binary-codec - npm Package Compare versions

Comparing version 0.1.14 to 0.1.15

test/fixtures/deposit-preauth-tx-binary.json

25

distrib/npm/enums/definitions.json

@@ -39,2 +39,3 @@ {

"PayChannel": 120,
"DepositPreauth": 112,
"Check": 67,

@@ -1067,2 +1068,22 @@ "Nickname": 110,

[
"Authorize",
{
"nth": 5,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
"type": "AccountID"
}
],
[
"Unauthorize",
{
"nth": 6,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
"type": "AccountID"
}
],
[
"Target",

@@ -1615,3 +1636,4 @@ {

"tecINVARIANT_FAILED": 147,
"tecEXPIRED": 148
"tecEXPIRED": 148,
"tecDUPLICATE": 149
},

@@ -1639,2 +1661,3 @@ "TRANSACTION_TYPES": {

"CheckCancel": 18,
"DepositPreauth": 19,
"TrustSet": 20,

@@ -1641,0 +1664,0 @@ "EnableAmendment": 100,

2

package.json
{
"name": "ripple-binary-codec",
"version": "0.1.14",
"version": "0.1.15",
"description": "ripple binary codec",

@@ -5,0 +5,0 @@ "files": [

@@ -18,2 +18,7 @@ /* eslint-disable func-style */

};
const DepositPreauth = {
tx: require('./fixtures/deposit-preauth-tx.json'),
binary: require('./fixtures/deposit-preauth-tx-binary.json'),
meta: require('./fixtures/deposit-preauth-tx-meta-binary.json')
};
const Escrow = {

@@ -139,2 +144,11 @@ create: {

function DepositPreauthTest() {
it('can serialize DepositPreauth', () => {
assert.strictEqual(encode(DepositPreauth.tx), DepositPreauth.binary);
});
it('can serialize DepositPreauth metadata', () => {
assert.strictEqual(encode(DepositPreauth.tx.meta), DepositPreauth.meta);
});
}
function EscrowTest() {

@@ -178,2 +192,3 @@ it('can serialize EscrowCreate', () => {

describe('DeliverMin', deliverMinTest);
describe('DepositPreauth', DepositPreauthTest);
describe('SignerListSet', SignerListSetTest);

@@ -180,0 +195,0 @@ describe('Escrow', EscrowTest);

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