Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@atlas.js/braintree

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlas.js/braintree - npm Package Compare versions

Comparing version 2.1.0-alpha.2 to 2.1.0-alpha.3

6

package.json
{
"name": "@atlas.js/braintree",
"description": "Braintree client as a component for @atlas.js",
"version": "2.1.0-alpha.2",
"version": "2.1.0-alpha.3",
"author": "Robert Rossmann <robert.rossmann@strv.com>",

@@ -13,3 +13,3 @@ "bugs": "https://github.com/strvcom/atlas.js/issues",

"devDependencies": {
"@atlas.js/atlas": "^2.2.0-alpha.2"
"@atlas.js/atlas": "^2.2.0-alpha.3"
},

@@ -31,3 +31,3 @@ "engines": {

},
"gitHead": "7b27ac160fb022b2f275b850faa70b26347c339a"
"gitHead": "ee441a017595bb0b88e20eec1df9cacddfdae96f"
}

@@ -6,8 +6,2 @@ "use strict";

});
Object.defineProperty(exports, "Braintree", {
enumerable: true,
get: function () {
return _braintree.default;
}
});
Object.defineProperty(exports, "Service", {

@@ -19,8 +13,9 @@ enumerable: true,

});
exports.Braintree = void 0;
var _braintree = _interopRequireDefault(require("braintree"));
var Braintree = require("braintree");
var _service = _interopRequireDefault(require("./service"));
exports.Braintree = Braintree;
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4Lm1qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQTs7QUFDQSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBCcmFpbnRyZWUgZnJvbSAnYnJhaW50cmVlJ1xuaW1wb3J0IFNlcnZpY2UgZnJvbSAnLi9zZXJ2aWNlJ1xuXG5leHBvcnQge1xuICBTZXJ2aWNlLFxuICBCcmFpbnRyZWUsXG59XG4iXX0=
var _service = require("./service");
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4Lm1qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7O0FBQUE7Ozs7QUFDQSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAqIGFzIEJyYWludHJlZSBmcm9tICdicmFpbnRyZWUnXG5pbXBvcnQgU2VydmljZSBmcm9tICcuL3NlcnZpY2UnXG5cbmV4cG9ydCB7XG4gIFNlcnZpY2UsXG4gIEJyYWludHJlZSxcbn1cbiJdfQ==

@@ -8,8 +8,6 @@ "use strict";

var _braintree = _interopRequireDefault(require("braintree"));
var braintree = require("braintree");
var _service = _interopRequireDefault(require("@atlas.js/service"));
var _service = require("@atlas.js/service");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

@@ -19,3 +17,3 @@

prepare() {
return _braintree.default.connect(this.config);
return braintree.connect(this.config);
}

@@ -47,2 +45,2 @@

exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNlcnZpY2UubWpzIl0sIm5hbWVzIjpbIkJyYWludHJlZSIsIlNlcnZpY2UiLCJwcmVwYXJlIiwiYnJhaW50cmVlIiwiY29ubmVjdCIsImNvbmZpZyIsInR5cGUiLCJhZGRpdGlvbmFsUHJvcGVydGllcyIsInJlcXVpcmVkIiwicHJvcGVydGllcyIsImVudmlyb25tZW50IiwibWVyY2hhbnRJZCIsInB1YmxpY0tleSIsInByaXZhdGVLZXkiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQTs7QUFDQTs7Ozs7O0FBRUEsTUFBTU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DVkMsSUFBQUEsV0FBVyxFQUFFO0FBQUVKLE1BQUFBLElBQUksRUFBRTtBQUFSLEtBREg7QUFFVkssSUFBQUEsVUFBVSxFQUFFO0FBQUVMLE1BQUFBLElBQUksRUFBRTtBQUFSLEtBRkY7QUFHVk0sSUFBQUEsU0FBUyxFQUFFO0FBQUVOLE1BQUFBLElBQUksRUFBRTtBQUFSLEtBSEQ7QUFJVk8sSUFBQUEsVUFBVSxFQUFFO0FBQUVQLE1BQUFBLElBQUksRUFBRTtBQUFSO0FBSkY7QUFKRSxDOztlQWlCSE4sUyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAqIGFzIGJyYWludHJlZSBmcm9tICdicmFpbnRyZWUnXG5pbXBvcnQgU2VydmljZSBmcm9tICdAYXRsYXMuanMvc2VydmljZSdcblxuY2xhc3MgQnJhaW50cmVlIGV4dGVuZHMgU2VydmljZSB7XG4gIHN0YXRpYyBjb25maWcgPSB7XG4gICAgdHlwZTogJ29iamVjdCcsXG4gICAgYWRkaXRpb25hbFByb3BlcnRpZXM6IGZhbHNlLFxuICAgIHJlcXVpcmVkOiBbJ21lcmNoYW50SWQnLCAncHVibGljS2V5JywgJ3ByaXZhdGVLZXknXSxcbiAgICBwcm9wZXJ0aWVzOiB7XG4gICAgICBlbnZpcm9ubWVudDogeyB0eXBlOiAnb2JqZWN0JyB9LFxuICAgICAgbWVyY2hhbnRJZDogeyB0eXBlOiAnc3RyaW5nJyB9LFxuICAgICAgcHVibGljS2V5OiB7IHR5cGU6ICdzdHJpbmcnIH0sXG4gICAgICBwcml2YXRlS2V5OiB7IHR5cGU6ICdzdHJpbmcnIH0sXG4gICAgfSxcbiAgfVxuXG4gIHByZXBhcmUoKSB7XG4gICAgcmV0dXJuIGJyYWludHJlZS5jb25uZWN0KHRoaXMuY29uZmlnKVxuICB9XG59XG5cbmV4cG9ydCBkZWZhdWx0IEJyYWludHJlZVxuIl19

@@ -5,8 +5,6 @@ "use strict";

var _service = _interopRequireDefault(require("@atlas.js/service"));
var _service = require("@atlas.js/service");
var _ = require("../..");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
describe('Service: Braintree', () => {

@@ -44,2 +42,2 @@ it('exists', () => {

});
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFwaS50ZXN0Lm1qcyJdLCJuYW1lcyI6WyJkZXNjcmliZSIsIml0IiwiZXhwZWN0IiwiQnJhaW50cmVlIiwidG8iLCJiZSIsImEiLCJpbnN0YW5jZW9mIiwiU2VydmljZSIsImNvbmZpZyIsImFuIiwiYXRsYXMiLCJBdGxhcyIsInJvb3QiLCJfX2Rpcm5hbWUiLCJzZXJ2aWNlIiwidGhyb3ciLCJlcnJvcnMiLCJWYWxpZGF0aW9uRXJyb3IiLCJzZXJ2aWNlcyIsImJyYWludHJlZSIsIm1lcmNoYW50SWQiLCJwdWJsaWNLZXkiLCJwcml2YXRlS2V5Iiwibm90Il0sIm1hcHBpbmdzIjoiOztBQUFBOztBQUNBOztBQUNBOzs7O0FBRUFBLFFBQVEsQ0FBQyxvQkFBRCxFQUF1QixNQUFNO0FBQ25DQyxFQUFBQSxFQUFFLENBQUMsUUFBRCxFQUFXLE1BQU07QUFDakJDLElBQUFBLE1BQU0sQ0FBQ0MsU0FBRCxDQUFOLENBQWtCQyxFQUFsQixDQUFxQkMsRUFBckIsQ0FBd0JDLENBQXhCLENBQTBCLFVBQTFCO0FBQ0QsR0FGQyxDQUFGO0FBSUFMLEVBQUFBLEVBQUUsQ0FBQywyQkFBRCxFQUE4QixNQUFNO0FBQ3BDQyxJQUFBQSxNQUFNLENBQUMsSUFBSUMsU0FBSixFQUFELENBQU4sQ0FBd0JDLEVBQXhCLENBQTJCQyxFQUEzQixDQUE4QkUsVUFBOUIsQ0FBeUNDLGdCQUF6QztBQUNELEdBRkMsQ0FBRjtBQUlBUCxFQUFBQSxFQUFFLENBQUMsb0JBQUQsRUFBdUIsTUFBT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GVycm9ycy5WYWxpZGF0aW9uRXJyb3IpXG4gIH0pXG5cbiAgaXQoJ2RvZXMgbm90IHRocm93IG9uIHZhbGlkIGNvbmZpZycsICgpID0+IHtcbiAgICBjb25zdCBhdGxhcyA9IG5ldyBBdGxhcyh7XG4gICAgICByb290OiBfX2Rpcm5hbWUsXG4gICAgICBjb25maWc6IHtcbiAgICAgICAgc2VydmljZXM6IHtcbiAgICAgICAgICBicmFpbnRyZWU6IHtcbiAgICAgICAgICAgIG1lcmNoYW50SWQ6ICdhYmMnLFxuICAgICAgICAgICAgcHVibGljS2V5OiAncHVia2V5LXRlc3QnLFxuICAgICAgICAgICAgcHJpdmF0ZUtleTogJ3ByaXZrZXktdGVzdCcsXG4gICAgICAgICAgfSxcbiAgICAgICAgfSxcbiAgICAgIH0sXG4gICAgfSlcblxuICAgIGV4cGVjdCgoKSA9PlxuICAgICAgYXRsYXMuc2VydmljZSgnYnJhaW50cmVlJywgQnJhaW50cmVlKSkubm90LnRvLnRocm93KClcbiAgfSlcbn0pXG4iXX0=
"use strict";
var _braintree = _interopRequireDefault(require("braintree"));
var braintree = require("braintree");
var _ = require("../..");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
describe('Braintree::prepare()', () => {

@@ -15,3 +13,3 @@ let service;

config = {
environment: _braintree.default.Environment.Development,
environment: braintree.Environment.Development,
publicKey: 'dummy-pubkey',

@@ -51,2 +49,2 @@ privateKey: 'dummy-privkey',

});
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInByZXBhcmUudGVzdC5tanMiXSwibmFtZXMiOlsiZGVzY3JpYmUiLCJzZXJ2aWNlIiwiaW5zdGFuY2UiLCJjb25maWciLCJiZWZvcmVFYWNoIiwiZW52aXJvbm1lbnQiLCJicmFpbnRyZWUiLCJFbnZpcm9ubWVudCIsIkRldmVsb3BtZW50IiwicHVibGljS2V5IiwicHJpdmF0ZUtleSIsIm1lcmN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2UpLnRvLmhhdmUucHJvcGVydHkoJ3RyYW5zYWN0aW9uJylcbiAgICBleHBlY3QoaW5zdGFuY2UudHJhbnNhY3Rpb24pLnRvLnJlc3BvbmRUbygnc2FsZScpXG4gIH0pXG5cbiAgaXQoJ3Bhc3NlcyB0aGUgY29uZmlndXJhdGlvbiB0byB0aGUgYnJhaW50cmVlLmNvbm5lY3QoKSBtZXRob2QnLCBhc3luYyAoKSA9PiB7XG4gICAgbGV0IHRyaWdnZXJlZCA9IGZhbHNlXG5cbiAgICBzZXJ2aWNlID0gbmV3IEJyYWludHJlZSh7XG4gICAgICBhdGxhczoge30sXG4gICAgICBsb2c6IHt9LFxuICAgICAgZ2V0IGNvbmZpZygpIHtcbiAgICAgICAgdHJpZ2dlcmVkID0gdHJ1ZVxuICAgICAgICByZXR1cm4gY29uZmlnXG4gICAgICB9LFxuICAgIH0pXG5cbiAgICBhd2FpdCBzZXJ2aWNlLnByZXBhcmUoKVxuXG4gICAgLy8gQFRPRE86IEkgZG9uJ3QgbGlrZSBpdCwgQXRsYXMgbWlnaHQgYmUgdHJpZ2dlcmluZyB0aGlzIGFjY2VzcyB3aGVuIG1lcmdpbmcgaW4gZGVmYXVsdHMhXG4gICAgZXhwZWN0KHRyaWdnZXJlZCkudG8uZXF1YWwodHJ1ZSlcbiAgfSlcbn0pXG4iXX0=

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