Socket
Socket
Sign inDemoInstall

stripe

Package Overview
Dependencies
Maintainers
4
Versions
652
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stripe - npm Package Compare versions

Comparing version 2.4.1 to 2.4.2

7

lib/resources/Transfers.js

@@ -18,5 +18,10 @@ 'use strict';

urlParams: ['transferId']
}),
listTransactions: stripeMethod({
method: 'GET',
path: '{transferId}/transactions',
urlParams: ['transferId']
})
});

2

package.json
{
"name": "stripe",
"version": "2.4.1",
"version": "2.4.2",
"description": "Stripe API wrapper",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/stripe/stripe-node",

@@ -140,2 +140,3 @@ # Stripe node.js bindings [![Build Status](https://travis-ci.org/stripe/stripe-node.png?branch=master)](https://travis-ci.org/stripe/stripe-node)

* [`cancel(transferId)`](https://stripe.com/docs/api/node#cancel_transfer)
* [`listTransactions(transferId[, params])`](https://stripe.com/docs/api/curl#list_transfers)
* `setMetadata(transferId, metadataObject)` ([metadata info](https://stripe.com/docs/api/node#metadata))

@@ -142,0 +143,0 @@ * `setMetadata(transferId, key, value)`

@@ -87,2 +87,17 @@ 'use strict';

describe.only('listTransactions', function() {
it('Sends the correct request', function() {
stripe.transfers.listTransactions('tr_14222');
expect(stripe.LAST_REQUEST).to.deep.equal({
method: 'GET',
url: '/v1/transfers/tr_14222/transactions',
data: {}
});
});
});
});

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