Skip to content

Releases: aron123/node-barion

Refund of faciliated payments and minor fixes

03 Nov 17:01
Compare
Choose a tag to compare
  • FIX: Refund with 0 amount when using facilitated payments is supported from now (thanks @dersy90)
  • FIX: syntax error is fixed in README
  • MAINTENANCE: multiple dependencies are updated:
    • minimatch from 3.0.4 to 3.1.2
    • mocha from 6.1.4 to 10.1.0
    • qs from 6.5.2 to 6.5.3
    • @sideway/formula from 3.0.0 to 3.0.1
    • minimist from 1.2.5 to 1.2.8
    • @babel/traverse from 7.4.5 to 7.23.2
    • braces from 3.0.2 to 3.0.3

npm notice
npm notice 📦 node-barion@3.2.0
npm notice Tarball Contents
npm notice 1.1kB LICENSE
npm notice 32.0kB README.md
npm notice 42B index.js
npm notice 10.2kB lib/barion.js
npm notice 3.3kB lib/build.js
npm notice 2.1kB lib/constants.js
npm notice 2.5kB lib/domain/_constraints.js
npm notice 815B lib/domain/BankTransfer.js
npm notice 447B lib/domain/CancelAuthorization.js
npm notice 609B lib/domain/CapturePayment.js
npm notice 898B lib/domain/common/BankAccount.js
npm notice 749B lib/domain/common/BillingAddress.js
npm notice 466B lib/domain/common/GiftCardPurchase.js
npm notice 753B lib/domain/common/Item.js
npm notice 508B lib/domain/common/Money.js
npm notice 825B lib/domain/common/PayeeTransaction.js
npm notice 1.8kB lib/domain/common/PayerAccountInformation.js
npm notice 759B lib/domain/common/PaymentTransaction.js
npm notice 1.4kB lib/domain/common/PurchaseInformation.js
npm notice 668B lib/domain/common/ShippingAddress.js
npm notice 474B lib/domain/common/TimeSpan.js
npm notice 767B lib/domain/common/TransactionToFinish.js
npm notice 643B lib/domain/common/TransactionToRefund.js
npm notice 466B lib/domain/CompletePayment.js
npm notice 659B lib/domain/EmailTransfer.js
npm notice 611B lib/domain/FinishReservation.js
npm notice 416B lib/domain/GetAccounts.js
npm notice 448B lib/domain/GetPaymentState.js
npm notice 898B lib/domain/index.js
npm notice 923B lib/domain/InitialOptions.js
npm notice 591B lib/domain/PaymentRefund.js
npm notice 3.5kB lib/domain/StartPayment.js
npm notice 768B lib/domain/StatementDownload.js
npm notice 865B lib/errors.js
npm notice 5.8kB lib/fetch-api.js
npm notice 2.0kB lib/schema.js
npm notice 5.3kB lib/services.js
npm notice 1.8kB lib/validate.js
npm notice 1.7kB package.json
npm notice Tarball Details
npm notice name: node-barion
npm notice version: 3.2.0
npm notice filename: node-barion-3.2.0.tgz
npm notice package size: 19.8 kB
npm notice unpacked size: 90.6 kB
npm notice shasum: 6776daa1518f9b5e13eca967a611d6180fde5dc0
npm notice integrity: sha512-WOJIqYYcPJHV5[...]6BI5uBXDPb9HA==
npm notice total files: 39
npm notice
npm notice Publishing to https://registry.npmjs.org/ with tag latest and default access

  • node-barion@3.2.0

Dependency update

13 Nov 19:34
b2218b9
Compare
Choose a tag to compare
  • MAINTENANCE: typo in README is fixed
  • MAINTENANCE: joi dependency is updated to v17.7.0

npm notice
npm notice 📦 node-barion@3.1.1
npm notice === Tarball Contents ===
npm notice 1.1kB LICENSE
npm notice 32.0kB README.md
npm notice 42B index.js
npm notice 10.2kB lib/barion.js
npm notice 3.3kB lib/build.js
npm notice 2.1kB lib/constants.js
npm notice 2.5kB lib/domain/_constraints.js
npm notice 815B lib/domain/BankTransfer.js
npm notice 447B lib/domain/CancelAuthorization.js
npm notice 609B lib/domain/CapturePayment.js
npm notice 898B lib/domain/common/BankAccount.js
npm notice 749B lib/domain/common/BillingAddress.js
npm notice 466B lib/domain/common/GiftCardPurchase.js
npm notice 753B lib/domain/common/Item.js
npm notice 508B lib/domain/common/Money.js
npm notice 825B lib/domain/common/PayeeTransaction.js
npm notice 1.8kB lib/domain/common/PayerAccountInformation.js
npm notice 759B lib/domain/common/PaymentTransaction.js
npm notice 1.4kB lib/domain/common/PurchaseInformation.js
npm notice 668B lib/domain/common/ShippingAddress.js
npm notice 474B lib/domain/common/TimeSpan.js
npm notice 766B lib/domain/common/TransactionToFinish.js
npm notice 643B lib/domain/common/TransactionToRefund.js
npm notice 466B lib/domain/CompletePayment.js
npm notice 659B lib/domain/EmailTransfer.js
npm notice 611B lib/domain/FinishReservation.js
npm notice 416B lib/domain/GetAccounts.js
npm notice 448B lib/domain/GetPaymentState.js
npm notice 898B lib/domain/index.js
npm notice 923B lib/domain/InitialOptions.js
npm notice 591B lib/domain/PaymentRefund.js
npm notice 3.5kB lib/domain/StartPayment.js
npm notice 768B lib/domain/StatementDownload.js
npm notice 865B lib/errors.js
npm notice 5.8kB lib/fetch-api.js
npm notice 2.0kB lib/schema.js
npm notice 5.3kB lib/services.js
npm notice 1.8kB lib/validate.js
npm notice 1.7kB package.json
npm notice === Tarball Details ===
npm notice name: node-barion
npm notice version: 3.1.1
npm notice filename: node-barion-3.1.1.tgz
npm notice package size: 19.7 kB
npm notice unpacked size: 90.6 kB
npm notice shasum: f390b653e49c37d9119137ccee00c90a257ca2b9
npm notice integrity: sha512-t8MaZljx77jby[...]Ti6YvAaoatnMg==
npm notice total files: 39
npm notice
npm notice Publishing to https://registry.npmjs.org/

  • node-barion@3.1.1

Support new funding sources

22 Apr 08:53
Compare
Choose a tag to compare
  • FEATURE: Support new funding sources (BankCard, GooglePay, ApplePay, BankTransfer) when initializing a new payment. (Google Pay and Apple Pay scenarios are not fully covered yet, but you can initiate a new payment with these funding possibilities in the Barion system with the help of node-barion)

npm notice === Tarball Details ===
npm notice name: node-barion
npm notice version: 3.1.0
npm notice filename: node-barion-3.1.0.tgz
npm notice package size: 19.7 kB
npm notice unpacked size: 90.7 kB
npm notice shasum: 54c32a8e83a5576d761eb3a9b9e715278d96fdd5
npm notice integrity: sha512-qw9lpceDElzp+[...]5JoTGNfoy8nEg==
npm notice total files: 39
npm notice
node-barion-3.1.0.tgz

Update dependencies

09 Feb 18:19
Compare
Choose a tag to compare
  • MAINTENANCE: Various dependencies are updated (security updates)

npm notice
npm notice 📦 node-barion@3.0.1
npm notice === Tarball Contents ===
npm notice 1.1kB LICENSE
npm notice 31.9kB README.md
npm notice 42B index.js
npm notice 10.2kB lib/barion.js
npm notice 3.3kB lib/build.js
npm notice 2.1kB lib/constants.js
npm notice 2.4kB lib/domain/_constraints.js
npm notice 821B lib/domain/BankTransfer.js
npm notice 453B lib/domain/CancelAuthorization.js
npm notice 615B lib/domain/CapturePayment.js
npm notice 904B lib/domain/common/BankAccount.js
npm notice 755B lib/domain/common/BillingAddress.js
npm notice 472B lib/domain/common/GiftCardPurchase.js
npm notice 759B lib/domain/common/Item.js
npm notice 514B lib/domain/common/Money.js
npm notice 831B lib/domain/common/PayeeTransaction.js
npm notice 1.8kB lib/domain/common/PayerAccountInformation.js
npm notice 765B lib/domain/common/PaymentTransaction.js
npm notice 1.5kB lib/domain/common/PurchaseInformation.js
npm notice 674B lib/domain/common/ShippingAddress.js
npm notice 480B lib/domain/common/TimeSpan.js
npm notice 772B lib/domain/common/TransactionToFinish.js
npm notice 649B lib/domain/common/TransactionToRefund.js
npm notice 472B lib/domain/CompletePayment.js
npm notice 665B lib/domain/EmailTransfer.js
npm notice 617B lib/domain/FinishReservation.js
npm notice 422B lib/domain/GetAccounts.js
npm notice 454B lib/domain/GetPaymentState.js
npm notice 898B lib/domain/index.js
npm notice 948B lib/domain/InitialOptions.js
npm notice 597B lib/domain/PaymentRefund.js
npm notice 3.6kB lib/domain/StartPayment.js
npm notice 774B lib/domain/StatementDownload.js
npm notice 865B lib/errors.js
npm notice 5.8kB lib/fetch-api.js
npm notice 2.0kB lib/schema.js
npm notice 5.3kB lib/services.js
npm notice 1.8kB lib/validate.js
npm notice 1.7kB package.json
npm notice === Tarball Details ===
npm notice name: node-barion
npm notice version: 3.0.1
npm notice filename: node-barion-3.0.1.tgz
npm notice package size: 19.7 kB
npm notice unpacked size: 90.6 kB
npm notice shasum: c7c3b030e46310282bb742c08fd533d4a0cbfdd2
npm notice integrity: sha512-aSjms6MCNePSB[...]JP2H19B9qa+WQ==
npm notice total files: 39
npm notice
node-barion-3.0.1.tgz

3DSv2, token payments, security and other improvements

07 Jan 19:39
Compare
Choose a tag to compare
  • BREAKING: Instead of ValidateModels property, a new Secure field (default: true) is added to the Barion object. Among others, it determines how the module should handle sensitive credential data (username and password). (read more)
  • BREAKING: Callback and redirect urls MUST be passed to startPayment function from now, when starting a new payment.
  • FEATURE: Supporting statement download (/v2/Statement/Download).
  • FEATURE: TraceId parameter and 'OneClickPayment' recurrence type of token payments are supported from now.
  • FEATURE: Completion of One-Click payments is supported from now (/v2/Payment/Complete)
  • BREAKING: The deprecated barionTransfer function is removed. Use emailTransfer instead. The module does no longer support any endpoint of the v1 API.
  • BREAKING: Greek localization (el-GR) is not supported when instantiating the Barion object or starting a new payment.

npm notice
npm notice 📦 node-barion@3.0.0
npm notice === Tarball Details ===
npm notice name: node-barion
npm notice version: 3.0.0
npm notice filename: node-barion-3.0.0.tgz
npm notice package size: 19.9 kB
npm notice unpacked size: 90.6 kB
npm notice shasum: 15d48d6cb376326c8e2267443ddb66870dc2ca61
npm notice integrity: sha512-DhqkSPYdmwPNw[...]1aL8z4o5vgGXg==
npm notice total files: 39
npm notice
node-barion-3.0.0.tgz

Minor fixes and improvements

10 Apr 10:10
Compare
Choose a tag to compare
  • FIX: npm audit fix (only dev dependencies are involved)
  • MAINTENANCE: Redirect and callback urls are added to code example to show best practice (Thanks to @LaKing)

npm notice
npm notice �📦 node-barion@2.1.1
npm notice === Tarball Details ===
npm notice name: node-barion
npm notice version: 2.1.1
npm notice package size: 18.0 kB
npm notice unpacked size: 81.9 kB
npm notice shasum: 9ababd031bb69f2981b3574b075a4bc8906a9965
npm notice integrity: sha512-0D5jGa2qt1mJs[...]7rtcACQ4pp1Ig==
npm notice total files: 38
npm notice

  • node-barion@2.1.1

New way of e-money transfer

12 Mar 18:32
Compare
Choose a tag to compare
  • FEATURE: Calling /v2/Accounts/Get endpoint of the Barion API is supported from now. Use the getAccounts function.
  • FEATURE: Calling /v2/Transfer/Email endpoint of the Barion API is supported from now. Use the emailTransfer function.
  • DEPRECATION: barionTransfer function has been deprecated from this version, and will be removed in the next major version. Please use emailTransfer instead.

npm notice === Tarball Details ===
npm notice name: node-barion
npm notice version: 2.1.0
npm notice filename: node-barion-2.1.0.tgz
npm notice package size: 17.9 kB
npm notice unpacked size: 81.8 kB
npm notice shasum: cd95d4f76213517b8eeb25406566e67f791c6b14
npm notice integrity: sha512-pE5CWvvc2eTfS[...]jLp5GDf5bNhFg==
npm notice total files: 38
npm notice
node-barion-2.1.0.tgz

Documentation fixes, vulnerability elimination

03 Feb 18:27
Compare
Choose a tag to compare

npm notice === Tarball Details ===
npm notice name: node-barion
npm notice version: 2.0.2
npm notice filename: node-barion-2.0.2.tgz
npm notice package size: 16.8 kB
npm notice unpacked size: 74.1 kB
npm notice shasum: e8ab0058c1e2b590c7f414d4d14b9cdf69d0bb17
npm notice integrity: sha512-IUiVzf97CXFDW[...]WoaoJhookZwdg==
npm notice total files: 35
npm notice
node-barion-2.0.2.tgz

Update README and dependencies

12 Sep 17:00
Compare
Choose a tag to compare

MAINTENANCE: Update README with new information (3DS fields' description, localization settings, delayed capture)
MAINTENANCE: Update dependencies (@hapi/joi, node-fetch)

npm notice
npm notice �📦 node-barion@2.0
npm notice === Tarball Details ===
npm notice name: node-barion
npm notice version: 2.0.1
npm notice package size: 16.8 kB
npm notice unpacked size: 74.1 kB
npm notice shasum: 2d23005cbb66e26017d187a712b711d7d96d1c2b
npm notice integrity: sha512-e7/uyjiv+b9eX[...]0rZNwKPQFZ5LA==
npm notice total files: 35
npm notice

  • node-barion@2.0.1

Model validation, 3DS, delayed capture

03 Sep 15:33
Compare
Choose a tag to compare
  • BREAKING: Prevalidate and sanitize the passed objects before sending to the Barion API (it can be switched off)
  • FEATURE: Support of the new Delayed Capture Payment
  • FEATURE: Fields needed for 3DS-compliance are added to models
  • FIX: npm audit fix

npm notice
npm notice �📦 node-barion@2.0.0
npm notice === Tarball Details ===
npm notice name: node-barion
npm notice version: 2.0.0
npm notice filename: node-barion-2.0.0.tgz
npm notice package size: 16.7 kB
npm notice unpacked size: 74.0 kB
npm notice shasum: bc42887c6faccc03dd3ce5963624e87e2697869e
npm notice integrity: sha512-I4mz7WMdUgxBx[...]VpGIF83wuYfZQ==
npm notice total files: 35
npm notice
node-barion-2.0.0.tgz