ripple-binary-codec
Advanced tools
Comparing version 0.1.14 to 0.1.15
@@ -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, |
{ | ||
"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); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
903859
77
12925