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

medusa-payment-stripe

Package Overview
Dependencies
Maintainers
2
Versions
838
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

medusa-payment-stripe - npm Package Compare versions

Comparing version 1.1.23 to 1.1.24-alpha.37

services/stripe-ideal.js

24

CHANGELOG.md

@@ -6,2 +6,26 @@ # Change Log

## [1.1.26](https://github.com/medusajs/medusa/compare/medusa-payment-stripe@1.1.25...medusa-payment-stripe@1.1.26) (2021-09-22)
**Note:** Version bump only for package medusa-payment-stripe
## [1.1.25](https://github.com/medusajs/medusa/compare/medusa-payment-stripe@1.1.24...medusa-payment-stripe@1.1.25) (2021-09-15)
**Note:** Version bump only for package medusa-payment-stripe
## [1.1.24](https://github.com/medusajs/medusa/compare/medusa-payment-stripe@1.1.23...medusa-payment-stripe@1.1.24) (2021-09-14)
**Note:** Version bump only for package medusa-payment-stripe
## [1.1.23](https://github.com/medusajs/medusa/compare/medusa-payment-stripe@1.1.22...medusa-payment-stripe@1.1.23) (2021-08-05)

@@ -8,0 +32,0 @@

8

package.json
{
"name": "medusa-payment-stripe",
"version": "1.1.23",
"version": "1.1.24-alpha.37+10c87e8d",
"description": "Stripe Payment provider for Meduas Commerce",

@@ -29,3 +29,3 @@ "main": "index.js",

"jest": "^25.5.2",
"medusa-test-utils": "^1.1.23"
"medusa-test-utils": "^1.1.24-alpha.37+10c87e8d"
},

@@ -44,6 +44,6 @@ "scripts": {

"express": "^4.17.1",
"medusa-core-utils": "^1.1.20",
"medusa-core-utils": "^1.1.21-alpha.37+10c87e8d",
"stripe": "^8.50.0"
},
"gitHead": "8275b1623e47cca70f3eee9de34bf58af3609836"
"gitHead": "10c87e8d5afeb5b1177f5bb18b2f499eee085d71"
}

@@ -36,3 +36,3 @@ "use strict";

function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }

@@ -39,0 +39,0 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

@@ -40,3 +40,3 @@ "use strict";

function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }

@@ -833,10 +833,14 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

_context15.prev = 1;
return _context15.abrupt("return", this.stripe_.paymentIntents.cancel(id));
_context15.next = 4;
return this.stripe_.paymentIntents.cancel(id);
case 5:
_context15.prev = 5;
case 4:
return _context15.abrupt("return", _context15.sent);
case 7:
_context15.prev = 7;
_context15.t0 = _context15["catch"](1);
if (!(_context15.t0.payment_intent.status === "canceled")) {
_context15.next = 9;
_context15.next = 11;
break;

@@ -847,6 +851,6 @@ }

case 9:
case 11:
throw _context15.t0;
case 10:
case 12:
case "end":

@@ -856,3 +860,3 @@ return _context15.stop();

}
}, _callee15, this, [[1, 5]]);
}, _callee15, this, [[1, 7]]);
}));

@@ -859,0 +863,0 @@

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