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

stellar-base

Package Overview
Dependencies
Maintainers
1
Versions
182
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stellar-base - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

185

lib/generated/stellar-xdr_generated.js

@@ -1,2 +0,2 @@

// Automatically generated on 2015-04-07T07:50:08-07:00
// Automatically generated on 2015-04-29T12:01:45-07:00
// DO NOT EDIT or your changes may be overwritten

@@ -956,10 +956,11 @@

// // codes considered as "failure" for the operation
// PAYMENT_UNDERFUNDED = 2, // not enough funds in source account
// PAYMENT_NO_DESTINATION = 3, // destination account does not exist
// PAYMENT_NO_TRUST = 4, // destination missing a trust line for currency
// PAYMENT_NOT_AUTHORIZED = 5, // destination not authorized to hold currency
// PAYMENT_LINE_FULL = 6, // destination would go above their limit
// PAYMENT_TOO_FEW_OFFERS = 7, // not enough offers to satisfy path payment
// PAYMENT_OVER_SENDMAX = 8, // multi-path payment could not satisfy sendmax
// PAYMENT_LOW_RESERVE = 9 // would create an account below the min reserve
// PAYMENT_MALFORMED = -1, // bad input
// PAYMENT_UNDERFUNDED = -2, // not enough funds in source account
// PAYMENT_NO_DESTINATION = -3, // destination account does not exist
// PAYMENT_NO_TRUST = -4, // destination missing a trust line for currency
// PAYMENT_NOT_AUTHORIZED = -5, // destination not authorized to hold currency
// PAYMENT_LINE_FULL = -6, // destination would go above their limit
// PAYMENT_TOO_FEW_OFFERS = -7, // not enough offers to satisfy path payment
// PAYMENT_OVER_SENDMAX = -8, // multi-path payment could not satisfy sendmax
// PAYMENT_LOW_RESERVE = -9 // would create an account below the min reserve
// };

@@ -971,10 +972,11 @@ //

paymentSuccessMulti: 1,
paymentUnderfunded: 2,
paymentNoDestination: 3,
paymentNoTrust: 4,
paymentNotAuthorized: 5,
paymentLineFull: 6,
paymentTooFewOffer: 7,
paymentOverSendmax: 8,
paymentLowReserve: 9 });
paymentMalformed: -1,
paymentUnderfunded: -2,
paymentNoDestination: -3,
paymentNoTrust: -4,
paymentNotAuthorized: -5,
paymentLineFull: -6,
paymentTooFewOffer: -7,
paymentOverSendmax: -8,
paymentLowReserve: -9 });

@@ -1035,15 +1037,14 @@ // === xdr source ============================================================

// // codes considered as "failure" for the operation
// CREATE_OFFER_NO_TRUST = 1, // can't hold what it's buying
// CREATE_OFFER_NOT_AUTHORIZED = 2, // not authorized to hold what it's buying
// CREATE_OFFER_LINE_FULL = 3, // can't receive more of what it's buying
// CREATE_OFFER_MALFORMED = 4, // generated offer would be invalid
// CREATE_OFFER_UNDERFUNDED = 5, // doesn't hold what it's trying to sell
// CREATE_OFFER_CROSS_SELF = 6, // would cross an offer from the same user
// CREATE_OFFER_MALFORMED = -1, // generated offer would be invalid
// CREATE_OFFER_NO_TRUST = -2, // can't hold what it's buying
// CREATE_OFFER_NOT_AUTHORIZED = -3, // not authorized to hold what it's buying
// CREATE_OFFER_LINE_FULL = -4, // can't receive more of what it's buying
// CREATE_OFFER_UNDERFUNDED = -5, // doesn't hold what it's trying to sell
// CREATE_OFFER_CROSS_SELF = -6, // would cross an offer from the same user
//
// // update errors
// CREATE_OFFER_NOT_FOUND = 7, // offerID does not match an existing offer
// CREATE_OFFER_MISMATCH = 8, // currencies don't match offer
// CREATE_OFFER_NOT_FOUND = -7, // offerID does not match an existing offer
// CREATE_OFFER_MISMATCH = -8, // currencies don't match offer
//
// CREATE_OFFER_LOW_RESERVE = 9 // not enough funds to create a new Offer
//
// CREATE_OFFER_LOW_RESERVE = -9 // not enough funds to create a new Offer
// };

@@ -1054,11 +1055,11 @@ //

createOfferSuccess: 0,
createOfferNoTrust: 1,
createOfferNotAuthorized: 2,
createOfferLineFull: 3,
createOfferMalformed: 4,
createOfferUnderfunded: 5,
createOfferCrossSelf: 6,
createOfferNotFound: 7,
createOfferMismatch: 8,
createOfferLowReserve: 9 });
createOfferMalformed: -1,
createOfferNoTrust: -2,
createOfferNotAuthorized: -3,
createOfferLineFull: -4,
createOfferUnderfunded: -5,
createOfferCrossSelf: -6,
createOfferNotFound: -7,
createOfferMismatch: -8,
createOfferLowReserve: -9 });

@@ -1150,5 +1151,6 @@ // === xdr source ============================================================

// // codes considered as "failure" for the operation
// SET_OPTIONS_LOW_RESERVE = 1, // not enough funds to add a signer
// SET_OPTIONS_TOO_MANY_SIGNERS = 2, // max number of signers already reached
// SET_OPTIONS_BAD_FLAGS = 3 // invalid combination of clear/set flags
// SET_OPTIONS_LOW_RESERVE = -1, // not enough funds to add a signer
// SET_OPTIONS_TOO_MANY_SIGNERS = -2, // max number of signers already reached
// SET_OPTIONS_BAD_FLAGS = -3, // invalid combination of clear/set flags
// SET_OPTIONS_INVALID_INFLATION = -4 // inflation account does not exist
// };

@@ -1159,5 +1161,6 @@ //

setOptionsSuccess: 0,
setOptionsLowReserve: 1,
setOptionsTooManySigner: 2,
setOptionsBadFlag: 3 });
setOptionsLowReserve: -1,
setOptionsTooManySigner: -2,
setOptionsBadFlag: -3,
setOptionsInvalidInflation: -4 });

@@ -1190,5 +1193,6 @@ // === xdr source ============================================================

// // codes considered as "failure" for the operation
// CHANGE_TRUST_NO_ISSUER = 1, // could not find issuer
// CHANGE_TRUST_INVALID_LIMIT = 2, // cannot drop limit below balance
// CHANGE_TRUST_LOW_RESERVE = 3 // not enough funds to create a new trust line
// CHANGE_TRUST_MALFORMED = -1, // bad input
// CHANGE_TRUST_NO_ISSUER = -2, // could not find issuer
// CHANGE_TRUST_INVALID_LIMIT = -3, // cannot drop limit below balance
// CHANGE_TRUST_LOW_RESERVE = -4 // not enough funds to create a new trust line
// };

@@ -1199,5 +1203,6 @@ //

changeTrustSuccess: 0,
changeTrustNoIssuer: 1,
changeTrustInvalidLimit: 2,
changeTrustLowReserve: 3 });
changeTrustMalformed: -1,
changeTrustNoIssuer: -2,
changeTrustInvalidLimit: -3,
changeTrustLowReserve: -4 });

@@ -1230,5 +1235,5 @@ // === xdr source ============================================================

// // codes considered as "failure" for the operation
// ALLOW_TRUST_MALFORMED = 1, // currency is not ISO4217
// ALLOW_TRUST_NO_TRUST_LINE = 2, // trustor does not have a trustline
// ALLOW_TRUST_TRUST_NOT_REQUIRED = 3 // source account does not require trust
// ALLOW_TRUST_MALFORMED = -1, // currency is not ISO4217
// ALLOW_TRUST_NO_TRUST_LINE = -2, // trustor does not have a trustline
// ALLOW_TRUST_TRUST_NOT_REQUIRED = -3 // source account does not require trust
// };

@@ -1239,5 +1244,5 @@ //

allowTrustSuccess: 0,
allowTrustMalformed: 1,
allowTrustNoTrustLine: 2,
allowTrustTrustNotRequired: 3 });
allowTrustMalformed: -1,
allowTrustNoTrustLine: -2,
allowTrustTrustNotRequired: -3 });

@@ -1270,6 +1275,6 @@ // === xdr source ============================================================

// // codes considered as "failure" for the operation
// ACCOUNT_MERGE_MALFORMED = 1, // can't merge onto itself
// ACCOUNT_MERGE_NO_ACCOUNT = 2, // destination does not exist
// ACCOUNT_MERGE_HAS_CREDIT = 3, // account has active trust lines
// ACCOUNT_MERGE_CREDIT_HELD = 4 // an issuer cannot be merged if used
// ACCOUNT_MERGE_MALFORMED = -1, // can't merge onto itself
// ACCOUNT_MERGE_NO_ACCOUNT = -2, // destination does not exist
// ACCOUNT_MERGE_HAS_CREDIT = -3, // account has active trust lines
// ACCOUNT_MERGE_CREDIT_HELD = -4 // an issuer cannot be merged if used
// };

@@ -1280,6 +1285,6 @@ //

accountMergeSuccess: 0,
accountMergeMalformed: 1,
accountMergeNoAccount: 2,
accountMergeHasCredit: 3,
accountMergeCreditHeld: 4 });
accountMergeMalformed: -1,
accountMergeNoAccount: -2,
accountMergeHasCredit: -3,
accountMergeCreditHeld: -4 });

@@ -1312,3 +1317,3 @@ // === xdr source ============================================================

// // codes considered as "failure" for the operation
// INFLATION_NOT_TIME = 1
// INFLATION_NOT_TIME = -1
// };

@@ -1319,3 +1324,3 @@ //

inflationSuccess: 0,
inflationNotTime: 1 });
inflationNotTime: -1 });

@@ -1359,4 +1364,4 @@ // === xdr source ============================================================

//
// opBAD_AUTH = 1, // not enough signatures to perform operation
// opNO_ACCOUNT = 2 // source account was not found
// opBAD_AUTH = -1, // not enough signatures to perform operation
// opNO_ACCOUNT = -2 // source account was not found
// };

@@ -1367,4 +1372,4 @@ //

opInner: 0,
opBadAuth: 1,
opNoAccount: 2 });
opBadAuth: -1,
opNoAccount: -2 });

@@ -1455,16 +1460,16 @@ // === xdr source ============================================================

//
// txDUPLICATE = 1, // transaction was already submited
// txDUPLICATE = -1, // transaction was already submited
//
// txFAILED = 2, // one of the operations failed (but none were applied)
// txFAILED = -2, // one of the operations failed (but none were applied)
//
// txBAD_LEDGER = 3, // ledger is not in range [minLeder; maxLedger]
// txMISSING_OPERATION = 4, // no operation was specified
// txBAD_SEQ = 5, // sequence number does not match source account
// txBAD_LEDGER = -3, // ledger is not in range [minLeder; maxLedger]
// txMISSING_OPERATION = -4, // no operation was specified
// txBAD_SEQ = -5, // sequence number does not match source account
//
// txBAD_AUTH = 6, // not enough signatures to perform transaction
// txINSUFFICIENT_BALANCE = 7, // fee would bring account below reserve
// txNO_ACCOUNT = 8, // source account not found
// txINSUFFICIENT_FEE = 9, // max fee is too small
// txBAD_AUTH_EXTRA = 10, // too many signatures on transaction
// txINTERNAL_ERROR = 0xFFFFFFFF // an unknown error occured
// txBAD_AUTH = -6, // not enough signatures to perform transaction
// txINSUFFICIENT_BALANCE = -7, // fee would bring account below reserve
// txNO_ACCOUNT = -8, // source account not found
// txINSUFFICIENT_FEE = -9, // max fee is too small
// txBAD_AUTH_EXTRA = -10, // too many signatures on transaction
// txINTERNAL_ERROR = -11 // an unknown error occured
// };

@@ -1475,13 +1480,13 @@ //

txSuccess: 0,
txDuplicate: 1,
txFailed: 2,
txBadLedger: 3,
txMissingOperation: 4,
txBadSeq: 5,
txBadAuth: 6,
txInsufficientBalance: 7,
txNoAccount: 8,
txInsufficientFee: 9,
txBadAuthExtra: 10,
txInternalError: -1 });
txDuplicate: -1,
txFailed: -2,
txBadLedger: -3,
txMissingOperation: -4,
txBadSeq: -5,
txBadAuth: -6,
txInsufficientBalance: -7,
txNoAccount: -8,
txInsufficientFee: -9,
txBadAuthExtra: -10,
txInternalError: -11 });

@@ -1488,0 +1493,0 @@ // === xdr source ============================================================

{
"name": "stellar-base",
"version": "0.0.4",
"version": "0.0.5",
"description": "Low level stellar support library",

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

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