From 66073cdb9c5aacc943b5f6c4108e5c213e702fd4 Mon Sep 17 00:00:00 2001 From: Nicholas Roberts Date: Mon, 15 Feb 2021 17:59:57 -0800 Subject: [PATCH] Magento 2.4.2 Section Varnish Metrics extension --- Helper/Aperture.php | 2 +- composer.json | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Helper/Aperture.php b/Helper/Aperture.php index 4138a3f..0654172 100644 --- a/Helper/Aperture.php +++ b/Helper/Aperture.php @@ -191,7 +191,7 @@ public function executeAuthRequest($service_url, $method = 'GET', $payload = nul curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 15); curl_setopt($ch, CURLOPT_TIMEOUT, $timeout); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); - curl_setopt($ch, CURLOPT_USERAGENT, 'section.io-Magento-2-Extension/102.0.3'); + curl_setopt($ch, CURLOPT_USERAGENT, 'section.io-Magento-2-Extension/103.0.5'); if ($username = $settingsFactory->getData('user_name')) { $credentials = ($username . ':' . $this->encryptor->decrypt($settingsFactory->getData('password'))); diff --git a/composer.json b/composer.json index c51dfa3..4562361 100644 --- a/composer.json +++ b/composer.json @@ -2,14 +2,14 @@ "name": "sectionio/metrics", "description": "Improve site metrics for your Section.io Magento environment.", "type": "magento2-module", - "version": "102.0.3", + "version": "103.0.5", "license": [ "OSL-3.0", "AFL-3.0" ], "require": { "php": "~5.5.0|~5.6.0|~7.0.0|~7.1.0|~7.2.0|~7.3.0", - "magento/framework": "~100.0 || ~101.0 || ~102.0" + "magento/framework": "~100.0 || ~101.0 || ~102.0|| ~103.0" }, "autoload": { "files": [ "registration.php" ], @@ -18,3 +18,4 @@ } } } +