diff --git a/composer.json b/composer.json index 7a0b1c0..a86013a 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "mage2pro/square" - ,"version": "1.1.3" + ,"version": "1.1.4" ,"description": "The «Square» payment extension for Magento 2." ,"type": "magento2-module" ,"homepage": "https://mage2.pro/c/extensions/square" @@ -11,7 +11,7 @@ "homepage": "https://mage2.pro/users/dmitry_fedyuk", "role": "Developer" }] - ,"require": {"mage2pro/core": ">=2.4.23", "mage2pro/square-php-sdk": "^2.0.2"} + ,"require": {"mage2pro/core": ">=2.4.26", "mage2pro/square-php-sdk": "^2.0.2"} ,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\Square\\": ""}} ,"keywords": [ "API" diff --git a/view/frontend/web/main.js b/view/frontend/web/main.js index 49aca77..1514777 100644 --- a/view/frontend/web/main.js +++ b/view/frontend/web/main.js @@ -1,9 +1,6 @@ // 2016-09-28 define([ - 'df' - ,'Df_Checkout/js/data' - ,'Df_StripeClone/main' - ,'jquery' + 'df', 'Df_Checkout/data', 'Df_StripeClone/main', 'jquery' ,'Magento_Payment/js/model/credit-card-validation/credit-card-data' ,'https://js.squareup.com/v2/paymentform' ], function(df, dfc, parent, $, creditCardData) {'use strict'; return parent.extend({