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.3 to 0.0.4

2

package.json
{
"name": "stellar-base",
"version": "0.0.3",
"version": "0.0.4",
"description": "Low level stellar support library",

@@ -5,0 +5,0 @@ "main": "lib/index.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

@@ -1134,10 +1134,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
// };

@@ -1149,10 +1150,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,
});

@@ -1224,15 +1226,14 @@

// // 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
// };

@@ -1243,11 +1244,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,
});

@@ -1350,5 +1351,6 @@

// // 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
// };

@@ -1359,5 +1361,6 @@ //

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

@@ -1394,5 +1397,6 @@

// // 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
// };

@@ -1403,5 +1407,6 @@ //

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

@@ -1438,5 +1443,5 @@

// // 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
// };

@@ -1447,5 +1452,5 @@ //

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

@@ -1482,6 +1487,6 @@

// // 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
// };

@@ -1492,6 +1497,6 @@ //

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

@@ -1528,3 +1533,3 @@

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

@@ -1535,3 +1540,3 @@ //

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

@@ -1582,4 +1587,4 @@

//
// 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
// };

@@ -1590,4 +1595,4 @@ //

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

@@ -1685,16 +1690,16 @@

//
// 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
// };

@@ -1705,13 +1710,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,
});

@@ -1718,0 +1723,0 @@

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

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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