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

ripple-binary-codec

Package Overview
Dependencies
Maintainers
9
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 1.4.2 to 1.5.0-beta.0

dist/types/bridge.d.ts

1215

dist/enums/definitions.json
{
"TYPES": {
"Validation": 10003,
"Done": -1,
"Unknown": -2,
"NotPresent": 0,
"UInt16": 1,
"UInt32": 2,
"UInt64": 3,
"Hash128": 4,
"Hash256": 5,
"Amount": 6,
"Blob": 7,
"AccountID": 8,
"Amount": 6,
"Hash256": 5,
"STObject": 14,
"STArray": 15,
"UInt8": 16,
"Hash160": 17,
"PathSet": 18,
"Vector256": 19,
"STObject": 14,
"Unknown": -2,
"UInt96": 20,
"UInt192": 21,
"UInt384": 22,
"UInt512": 23,
"Issue": 24,
"XChainBridge": 25,
"XChainAttestationBatch": 26,
"Transaction": 10001,
"Hash160": 17,
"PathSet": 18,
"LedgerEntry": 10002,
"UInt16": 1,
"NotPresent": 0,
"UInt64": 3,
"UInt32": 2,
"STArray": 15
"Validation": 10003,
"Metadata": 10004
},
"LEDGER_ENTRY_TYPES": {
"Any": -3,
"Child": -2,
"Invalid": -1,

@@ -34,14 +40,20 @@ "AccountRoot": 97,

"Offer": 111,
"Bridge": 105,
"LedgerHashes": 104,
"Amendments": 102,
"XChainClaimID": 113,
"XChainCreateAccountClaimID": 116,
"FeeSettings": 115,
"Escrow": 117,
"PayChannel": 120,
"Check": 67,
"DepositPreauth": 112,
"Check": 67,
"NegativeUNL": 78,
"NFTokenPage": 80,
"NFTokenOffer": 55,
"Any": -3,
"Child": -2,
"Nickname": 110,
"Contract": 99,
"NFTokenPage": 80,
"NFTokenOffer": 55,
"NegativeUNL": 78
"GeneratorMap": 103
},

@@ -70,2 +82,172 @@ "FIELDS": [

[
"ObjectEndMarker",
{
"nth": 1,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
}
],
[
"ArrayEndMarker",
{
"nth": 1,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "STArray"
}
],
[
"hash",
{
"nth": 257,
"isVLEncoded": false,
"isSerialized": false,
"isSigningField": false,
"type": "Hash256"
}
],
[
"index",
{
"nth": 258,
"isVLEncoded": false,
"isSerialized": false,
"isSigningField": false,
"type": "Hash256"
}
],
[
"taker_gets_funded",
{
"nth": 258,
"isVLEncoded": false,
"isSerialized": false,
"isSigningField": false,
"type": "Amount"
}
],
[
"taker_pays_funded",
{
"nth": 259,
"isVLEncoded": false,
"isSerialized": false,
"isSigningField": false,
"type": "Amount"
}
],
[
"LedgerEntry",
{
"nth": 1,
"isVLEncoded": false,
"isSerialized": false,
"isSigningField": true,
"type": "LedgerEntry"
}
],
[
"Transaction",
{
"nth": 1,
"isVLEncoded": false,
"isSerialized": false,
"isSigningField": true,
"type": "Transaction"
}
],
[
"Validation",
{
"nth": 1,
"isVLEncoded": false,
"isSerialized": false,
"isSigningField": true,
"type": "Validation"
}
],
[
"Metadata",
{
"nth": 1,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Metadata"
}
],
[
"CloseResolution",
{
"nth": 1,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt8"
}
],
[
"Method",
{
"nth": 2,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt8"
}
],
[
"TransactionResult",
{
"nth": 3,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt8"
}
],
[
"TickSize",
{
"nth": 16,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt8"
}
],
[
"UNLModifyDisabling",
{
"nth": 17,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt8"
}
],
[
"HookResult",
{
"nth": 18,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt8"
}
],
[
"WasLockingChainSend",
{
"nth": 19,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt8"
}
],
[
"LedgerEntryType",

@@ -111,2 +293,52 @@ {

[
"Version",
{
"nth": 16,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt16"
}
],
[
"HookStateChangeCount",
{
"nth": 17,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt16"
}
],
[
"HookEmitCount",
{
"nth": 18,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt16"
}
],
[
"HookExecutionIndex",
{
"nth": 19,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt16"
}
],
[
"HookApiVersion",
{
"nth": 20,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt16"
}
],
[
"Flags",

@@ -462,2 +694,92 @@ {

[
"SignerListID",
{
"nth": 38,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt32"
}
],
[
"SettleDelay",
{
"nth": 39,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt32"
}
],
[
"TicketCount",
{
"nth": 40,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt32"
}
],
[
"TicketSequence",
{
"nth": 41,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt32"
}
],
[
"NFTokenTaxon",
{
"nth": 42,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt32"
}
],
[
"MintedNFTokens",
{
"nth": 43,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt32"
}
],
[
"BurnedNFTokens",
{
"nth": 44,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt32"
}
],
[
"HookStateCount",
{
"nth": 45,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt32"
}
],
[
"EmitGeneration",
{
"nth": 46,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt32"
}
],
[
"IndexNext",

@@ -543,2 +865,122 @@ {

[
"DestinationNode",
{
"nth": 9,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt64"
}
],
[
"Cookie",
{
"nth": 10,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt64"
}
],
[
"ServerVersion",
{
"nth": 11,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt64"
}
],
[
"NFTokenOfferNode",
{
"nth": 12,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt64"
}
],
[
"EmitBurden",
{
"nth": 13,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt64"
}
],
[
"HookOn",
{
"nth": 16,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt64"
}
],
[
"HookInstructionCount",
{
"nth": 17,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt64"
}
],
[
"HookReturnCode",
{
"nth": 18,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt64"
}
],
[
"ReferenceCount",
{
"nth": 19,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt64"
}
],
[
"XChainClaimID",
{
"nth": 20,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt64"
}
],
[
"XChainAccountCreateCount",
{
"nth": 21,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt64"
}
],
[
"XChainAccountClaimCount",
{
"nth": 22,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt64"
}
],
[
"EmailHash",

@@ -554,2 +996,42 @@ {

[
"TakerPaysCurrency",
{
"nth": 1,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash160"
}
],
[
"TakerPaysIssuer",
{
"nth": 2,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash160"
}
],
[
"TakerGetsCurrency",
{
"nth": 3,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash160"
}
],
[
"TakerGetsIssuer",
{
"nth": 4,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash160"
}
],
[
"LedgerHash",

@@ -655,2 +1137,32 @@ {

[
"EmitParentTxnID",
{
"nth": 11,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
}
],
[
"EmitNonce",
{
"nth": 12,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
}
],
[
"EmitHookHash",
{
"nth": 13,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
}
],
[
"BookDirectory",

@@ -696,5 +1208,5 @@ {

[
"TicketID",
"Digest",
{
"nth": 20,
"nth": 21,
"isVLEncoded": false,

@@ -707,5 +1219,5 @@ "isSerialized": true,

[
"Digest",
"Channel",
{
"nth": 21,
"nth": 22,
"isVLEncoded": false,

@@ -718,8 +1230,8 @@ "isSerialized": true,

[
"hash",
"ConsensusHash",
{
"nth": 257,
"nth": 23,
"isVLEncoded": false,
"isSerialized": false,
"isSigningField": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"

@@ -729,8 +1241,8 @@ }

[
"index",
"CheckID",
{
"nth": 258,
"nth": 24,
"isVLEncoded": false,
"isSerialized": false,
"isSigningField": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"

@@ -740,2 +1252,92 @@ }

[
"ValidatedHash",
{
"nth": 25,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
}
],
[
"PreviousPageMin",
{
"nth": 26,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
}
],
[
"NextPageMin",
{
"nth": 27,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
}
],
[
"NFTokenBuyOffer",
{
"nth": 28,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
}
],
[
"NFTokenSellOffer",
{
"nth": 29,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
}
],
[
"HookStateKey",
{
"nth": 30,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
}
],
[
"HookHash",
{
"nth": 31,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
}
],
[
"HookNamespace",
{
"nth": 32,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
}
],
[
"HookSetTxnID",
{
"nth": 33,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
}
],
[
"Amount",

@@ -881,8 +1483,8 @@ {

[
"taker_gets_funded",
"XChainFee",
{
"nth": 258,
"nth": 28,
"isVLEncoded": false,
"isSerialized": false,
"isSigningField": false,
"isSerialized": true,
"isSigningField": true,
"type": "Amount"

@@ -892,8 +1494,8 @@ }

[
"taker_pays_funded",
"SignatureReward",
{
"nth": 259,
"nth": 29,
"isVLEncoded": false,
"isSerialized": false,
"isSigningField": false,
"isSerialized": true,
"isSigningField": true,
"type": "Amount"

@@ -903,2 +1505,12 @@ }

[
"MinAccountCreateAmount",
{
"nth": 30,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Amount"
}
],
[
"PublicKey",

@@ -1104,2 +1716,42 @@ {

[
"HookStateData",
{
"nth": 22,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
"type": "Blob"
}
],
[
"HookReturnString",
{
"nth": 23,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
"type": "Blob"
}
],
[
"HookParameterName",
{
"nth": 24,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
"type": "Blob"
}
],
[
"HookParameterValue",
{
"nth": 25,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
"type": "Blob"
}
],
[
"Account",

@@ -1165,5 +1817,5 @@ {

[
"Target",
"RegularKey",
{
"nth": 7,
"nth": 8,
"isVLEncoded": true,

@@ -1176,5 +1828,5 @@ "isSerialized": true,

[
"RegularKey",
"NFTokenMinter",
{
"nth": 8,
"nth": 9,
"isVLEncoded": true,

@@ -1187,5 +1839,5 @@ "isSerialized": true,

[
"NFTokenMinter",
"EmitCallback",
{
"nth": 9,
"nth": 10,
"isVLEncoded": true,

@@ -1198,153 +1850,163 @@ "isSerialized": true,

[
"ObjectEndMarker",
"HookAccount",
{
"nth": 1,
"isVLEncoded": false,
"nth": 16,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
"type": "AccountID"
}
],
[
"TransactionMetaData",
"ThisChainAccount",
{
"nth": 2,
"isVLEncoded": false,
"nth": 17,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
"type": "AccountID"
}
],
[
"CreatedNode",
"OtherChainSource",
{
"nth": 3,
"isVLEncoded": false,
"nth": 18,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
"type": "AccountID"
}
],
[
"DeletedNode",
"OtherChainDestination",
{
"nth": 4,
"isVLEncoded": false,
"nth": 19,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
"type": "AccountID"
}
],
[
"ModifiedNode",
"AttestationSignerAccount",
{
"nth": 5,
"isVLEncoded": false,
"nth": 20,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
"type": "AccountID"
}
],
[
"PreviousFields",
"AttestationRewardAccount",
{
"nth": 6,
"isVLEncoded": false,
"nth": 21,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
"type": "AccountID"
}
],
[
"FinalFields",
"LockingChainDoor",
{
"nth": 7,
"isVLEncoded": false,
"nth": 22,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
"type": "AccountID"
}
],
[
"NewFields",
"IssuingChainDoor",
{
"nth": 8,
"isVLEncoded": false,
"nth": 23,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
"type": "AccountID"
}
],
[
"TemplateEntry",
"Indexes",
{
"nth": 9,
"isVLEncoded": false,
"nth": 1,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
"type": "Vector256"
}
],
[
"Memo",
"Hashes",
{
"nth": 10,
"isVLEncoded": false,
"nth": 2,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
"type": "Vector256"
}
],
[
"SignerEntry",
"Amendments",
{
"nth": 11,
"isVLEncoded": false,
"nth": 3,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
"type": "Vector256"
}
],
[
"NFToken",
"NFTokenOffers",
{
"nth": 12,
"nth": 4,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
"type": "Vector256"
}
],
[
"Paths",
{
"nth": 1,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
"type": "PathSet"
}
],
[
"Signer",
"LockingChainIssue",
{
"nth": 16,
"nth": 1,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
"type": "Issue"
}
],
[
"Majority",
"IssuingChainIssue",
{
"nth": 18,
"nth": 2,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
"type": "Issue"
}
],
[
"DisabledValidator",
"XChainBridge",
{
"nth": 19,
"nth": 1,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
"type": "XChainBridge"
}
],
[
"ArrayEndMarker",
"XChainAttestationBatch",
{

@@ -1355,17 +2017,27 @@ "nth": 1,

"isSigningField": true,
"type": "STArray"
"type": "XChainAttestationBatch"
}
],
[
"Signers",
"TransactionMetaData",
{
"nth": 2,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
}
],
[
"CreatedNode",
{
"nth": 3,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": false,
"type": "STArray"
"isSigningField": true,
"type": "STObject"
}
],
[
"SignerEntries",
"DeletedNode",
{

@@ -1376,7 +2048,7 @@ "nth": 4,

"isSigningField": true,
"type": "STArray"
"type": "STObject"
}
],
[
"Template",
"ModifiedNode",
{

@@ -1387,7 +2059,7 @@ "nth": 5,

"isSigningField": true,
"type": "STArray"
"type": "STObject"
}
],
[
"Necessary",
"PreviousFields",
{

@@ -1398,7 +2070,7 @@ "nth": 6,

"isSigningField": true,
"type": "STArray"
"type": "STObject"
}
],
[
"Sufficient",
"FinalFields",
{

@@ -1409,7 +2081,7 @@ "nth": 7,

"isSigningField": true,
"type": "STArray"
"type": "STObject"
}
],
[
"AffectedNodes",
"NewFields",
{

@@ -1420,7 +2092,7 @@ "nth": 8,

"isSigningField": true,
"type": "STArray"
"type": "STObject"
}
],
[
"Memos",
"TemplateEntry",
{

@@ -1431,7 +2103,7 @@ "nth": 9,

"isSigningField": true,
"type": "STArray"
"type": "STObject"
}
],
[
"NFTokens",
"Memo",
{

@@ -1442,383 +2114,373 @@ "nth": 10,

"isSigningField": true,
"type": "STArray"
"type": "STObject"
}
],
[
"Majorities",
"SignerEntry",
{
"nth": 16,
"nth": 11,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "STArray"
"type": "STObject"
}
],
[
"DisabledValidators",
"NFToken",
{
"nth": 17,
"nth": 12,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "STArray"
"type": "STObject"
}
],
[
"CloseResolution",
"EmitDetails",
{
"nth": 1,
"nth": 13,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt8"
"type": "STObject"
}
],
[
"Method",
"Hook",
{
"nth": 2,
"nth": 14,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt8"
"type": "STObject"
}
],
[
"TransactionResult",
"Signer",
{
"nth": 3,
"nth": 16,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt8"
"type": "STObject"
}
],
[
"TakerPaysCurrency",
"Majority",
{
"nth": 1,
"nth": 18,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash160"
"type": "STObject"
}
],
[
"TakerPaysIssuer",
"DisabledValidator",
{
"nth": 2,
"nth": 19,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash160"
"type": "STObject"
}
],
[
"TakerGetsCurrency",
"EmittedTxn",
{
"nth": 3,
"nth": 20,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash160"
"type": "STObject"
}
],
[
"TakerGetsIssuer",
"HookExecution",
{
"nth": 4,
"nth": 21,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash160"
"type": "STObject"
}
],
[
"Paths",
"HookDefinition",
{
"nth": 1,
"nth": 22,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "PathSet"
"type": "STObject"
}
],
[
"Indexes",
"HookParameter",
{
"nth": 1,
"isVLEncoded": true,
"nth": 23,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Vector256"
"type": "STObject"
}
],
[
"Hashes",
"HookGrant",
{
"nth": 2,
"isVLEncoded": true,
"nth": 24,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Vector256"
"type": "STObject"
}
],
[
"Amendments",
"XChainClaimProofSig",
{
"nth": 3,
"isVLEncoded": true,
"nth": 32,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Vector256"
"type": "STObject"
}
],
[
"NFTokenOffers",
"XChainCreateAccountProofSig",
{
"nth": 4,
"isVLEncoded": true,
"nth": 33,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Vector256"
"type": "STObject"
}
],
[
"Transaction",
"XChainAttestationBatchElement",
{
"nth": 1,
"nth": 34,
"isVLEncoded": false,
"isSerialized": false,
"isSigningField": false,
"type": "Transaction"
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
}
],
[
"LedgerEntry",
"XChainClaimAttestationBatchElement",
{
"nth": 1,
"nth": 35,
"isVLEncoded": false,
"isSerialized": false,
"isSigningField": false,
"type": "LedgerEntry"
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
}
],
[
"Validation",
"XChainCreateAccountAttestationBatchElement",
{
"nth": 1,
"nth": 36,
"isVLEncoded": false,
"isSerialized": false,
"isSigningField": false,
"type": "Validation"
}
],
[
"SignerListID",
{
"nth": 38,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt32"
"type": "STObject"
}
],
[
"SettleDelay",
"XChainAttestationBatchInner",
{
"nth": 39,
"nth": 37,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt32"
"type": "STObject"
}
],
[
"TicketCount",
"Signers",
{
"nth": 40,
"nth": 3,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt32"
"isSigningField": false,
"type": "STArray"
}
],
[
"TicketSequence",
"SignerEntries",
{
"nth": 41,
"nth": 4,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt32"
"type": "STArray"
}
],
[
"NFTokenTaxon",
"Template",
{
"nth": 42,
"nth": 5,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt32"
"type": "STArray"
}
],
[
"MintedNFTokens",
"Necessary",
{
"nth": 43,
"nth": 6,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt32"
"type": "STArray"
}
],
[
"BurnedNFTokens",
"Sufficient",
{
"nth": 44,
"nth": 7,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt32"
"type": "STArray"
}
],
[
"Channel",
"AffectedNodes",
{
"nth": 22,
"nth": 8,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
"type": "STArray"
}
],
[
"ConsensusHash",
"Memos",
{
"nth": 23,
"nth": 9,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
"type": "STArray"
}
],
[
"CheckID",
"NFTokens",
{
"nth": 24,
"nth": 10,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
"type": "STArray"
}
],
[
"ValidatedHash",
"Hooks",
{
"nth": 25,
"nth": 11,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
"type": "STArray"
}
],
[
"PreviousPageMin",
"Majorities",
{
"nth": 26,
"nth": 16,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
"type": "STArray"
}
],
[
"NextPageMin",
"DisabledValidators",
{
"nth": 27,
"nth": 17,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
"type": "STArray"
}
],
[
"NFTokenBuyOffer",
"HookExecutions",
{
"nth": 28,
"nth": 18,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
"type": "STArray"
}
],
[
"NFTokenSellOffer",
"HookParameters",
{
"nth": 29,
"nth": 19,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
"type": "STArray"
}
],
[
"TickSize",
"HookGrants",
{
"nth": 16,
"nth": 20,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt8"
"type": "STArray"
}
],
[
"UNLModifyDisabling",
"XChainProofSigs",
{
"nth": 17,
"nth": 21,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt8"
"type": "STArray"
}
],
[
"DestinationNode",
"XChainClaimAttestationBatch",
{
"nth": 9,
"nth": 22,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt64"
"type": "STArray"
}
],
[
"Cookie",
"XChainCreateAccountAttestationBatch",
{
"nth": 10,
"nth": 23,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt64"
"type": "STArray"
}
],
[
"ServerVersion",
"XChainClaimAttestations",
{
"nth": 11,
"nth": 24,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt64"
"type": "STArray"
}
],
[
"NFTokenOfferNode",
"XChainCreateAccountAttestations",
{
"nth": 12,
"nth": 25,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt64"
"type": "STArray"
}

@@ -1875,6 +2537,16 @@ ]

"temCANNOT_PREAUTH_SELF": -267,
"temUNCERTAIN": -266,
"temUNKNOWN": -265,
"temSEQ_AND_TICKET": -264,
"temBAD_NFTOKEN_TRANSFER_FEE": -263,
"temINVALID_COUNT": -266,
"temUNCERTAIN": -265,
"temUNKNOWN": -264,
"temSEQ_AND_TICKET": -263,
"temBAD_NFTOKEN_TRANSFER_FEE": -262,
"temBAD_AMM_OPTIONS": -261,
"temBAD_AMM_TOKENS": -260,
"temEQUAL_DOOR_ACCOUNTS": -259,
"temBAD_XCHAIN_PROOF": -258,
"temSIDECHAIN_BAD_ISSUES": -257,
"temSIDECHAIN_NONDOOR_OWNER": -256,
"temXCHAIN_BRIDGE_BAD_MIN_ACCOUNT_CREATE_AMOUNT": -255,
"temXCHAIN_BRIDGE_BAD_REWARD_AMOUNT": -254,
"temXCHAIN_TOO_MANY_ATTESTATIONS": -253,

@@ -1956,3 +2628,2 @@ "tefFAILURE": -199,

"tecTOO_SOON": 152,
"tecMAX_SEQUENCE_REACHED": 154,

@@ -1966,8 +2637,30 @@ "tecNO_SUITABLE_NFTOKEN_PAGE": 155,

"tecINSUFFICIENT_PAYMENT": 161,
"tecINCORRECT_ASSET": 162,
"tecTOO_MANY": 163
"tecUNFUNDED_AMM": 162,
"tecAMM_BALANCE": 163,
"tecAMM_FAILED_DEPOSIT": 164,
"tecAMM_FAILED_WITHDRAW": 165,
"tecAMM_INVALID_TOKENS": 166,
"tecAMM_EXISTS": 167,
"tecAMM_FAILED_BID": 168,
"tecAMM_DIRECT_PAYMENT": 169,
"tecAMM_FAILED_VOTE": 170,
"tecBAD_XCHAIN_TRANSFER_ISSUE": 171,
"tecXCHAIN_NO_CLAIM_ID": 172,
"tecXCHAIN_BAD_CLAIM_ID": 173,
"tecXCHAIN_CLAIM_NO_QUORUM": 174,
"tecXCHAIN_PROOF_UNKNOWN_KEY": 175,
"tecXCHAIN_CREATE_ACCOUNT_NONXRP_ISSUE": 176,
"tecXCHAIN_CLAIM_ACCOUNT_DST_EXISTS": 177,
"tecXCHAIN_WRONG_CHAIN": 178,
"tecXCHAIN_REWARD_MISMATCH": 179,
"tecXCHAIN_NO_SIGNERS_LIST": 180,
"tecXCHAIN_SENDING_ACCOUNT_MISMATCH": 181,
"tecXCHAIN_INSUFF_CREATE_AMOUNT": 182,
"tecXCHAIN_ACCOUNT_CREATE_PAST": 183,
"tecXCHAIN_ACCOUNT_CREATE_TOO_MANY": 184,
"tecXCHAIN_PAYMENT_FAILED": 185,
"tecXCHAIN_SELF_COMMIT": 186
},
"TRANSACTION_TYPES": {
"Invalid": -1,
"Payment": 0,

@@ -1995,2 +2688,3 @@ "EscrowCreate": 1,

"AccountDelete": 21,
"SetHook": 22,
"NFTokenMint": 25,

@@ -2001,2 +2695,9 @@ "NFTokenBurn": 26,

"NFTokenAcceptOffer": 29,
"XChainCreateBridge": 40,
"XChainCreateClaimID": 41,
"XChainCommit": 42,
"XChainClaim": 43,
"XChainAccountCreateCommit": 44,
"XChainAddAttestation": 45,
"XChainModifyBridge": 46,
"EnableAmendment": 100,

@@ -2003,0 +2704,0 @@ "SetFee": 101,

@@ -8,2 +8,3 @@ import { AccountID } from './account-id';

import { Hash256 } from './hash-256';
import { IssuedCurrency } from './issued-currency';
import { PathSet } from './path-set';

@@ -17,2 +18,4 @@ import { STArray } from './st-array';

import { Vector256 } from './vector-256';
import { XChainAttestationBatch } from './xchain-attestation-batch';
import { XChainBridge } from './xchain-bridge';
declare const coreTypes: {

@@ -26,2 +29,3 @@ AccountID: typeof AccountID;

Hash256: typeof Hash256;
IssuedCurrency: typeof IssuedCurrency;
PathSet: typeof PathSet;

@@ -35,3 +39,5 @@ STArray: typeof STArray;

Vector256: typeof Vector256;
XChainAttestationBatch: typeof XChainAttestationBatch;
XChainBridge: typeof XChainBridge;
};
export { coreTypes };

@@ -12,2 +12,3 @@ "use strict";

var hash_256_1 = require("./hash-256");
var issued_currency_1 = require("./issued-currency");
var path_set_1 = require("./path-set");

@@ -21,2 +22,4 @@ var st_array_1 = require("./st-array");

var vector_256_1 = require("./vector-256");
var xchain_attestation_batch_1 = require("./xchain-attestation-batch");
var xchain_bridge_1 = require("./xchain-bridge");
var coreTypes = {

@@ -30,2 +33,3 @@ AccountID: account_id_1.AccountID,

Hash256: hash_256_1.Hash256,
IssuedCurrency: issued_currency_1.IssuedCurrency,
PathSet: path_set_1.PathSet,

@@ -39,2 +43,4 @@ STArray: st_array_1.STArray,

Vector256: vector_256_1.Vector256,
XChainAttestationBatch: xchain_attestation_batch_1.XChainAttestationBatch,
XChainBridge: xchain_bridge_1.XChainBridge,
};

@@ -41,0 +47,0 @@ exports.coreTypes = coreTypes;

{
"name": "ripple-binary-codec",
"version": "1.4.2",
"version": "1.5.0-beta.0",
"description": "XRP Ledger binary codec",

@@ -27,4 +27,4 @@ "files": [

"clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo",
"prepare": "npm run build && npm test",
"test": "jest",
"prepare": "npm test",
"test": "npm run build && jest",
"lint": "eslint . --ext .ts --ext .test.js"

@@ -46,3 +46,3 @@ },

},
"gitHead": "aff6988f098ecc033a0cfa7974101f91de5cf948"
"gitHead": "e697bd017b917b141c60937477becc893e70fff1"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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