From 7feaadafe3236f44d8bc3a5fdb4e6fc4d9bd7a5b Mon Sep 17 00:00:00 2001 From: Hathoriel Date: Wed, 14 Jun 2023 12:44:53 +0200 Subject: [PATCH] Fixed setup error - 2.0.36 --- packages/nft-maker/src/Services/SetupService.php | 2 +- plugins/tatum/src/index.php | 2 +- plugins/tatum/wordpress.org/README.wporg.txt | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/nft-maker/src/Services/SetupService.php b/packages/nft-maker/src/Services/SetupService.php index a6cf2f79..53fa11d9 100644 --- a/packages/nft-maker/src/Services/SetupService.php +++ b/packages/nft-maker/src/Services/SetupService.php @@ -31,7 +31,7 @@ public function setApiKey($api_key) { try { $this->tatumConnector->setApiKey($api_key); $api_key_resp = $this->tatumConnector->getApiVersion(); - $isActive = $api_key_resp['status'] === 'ACTIVE' && $api_key_resp['expiration'] >= round(microtime(true) * 1000); + $isActive = $api_key_resp['expiration'] >= round(microtime(true) * 1000); if (($api_key_resp['testnet'] === false && $api_key_resp['price'] !== 0 && $isActive) || ($api_key_resp['testnet'] === true && $isActive)) { update_option(TATUM_SLUG . '_api_key', $api_key); return [ diff --git a/plugins/tatum/src/index.php b/plugins/tatum/src/index.php index 0024955b..2cff940d 100644 --- a/plugins/tatum/src/index.php +++ b/plugins/tatum/src/index.php @@ -8,7 +8,7 @@ * Description: NFT Maker is the easiest and fastest free plugin to work with NFTs without any blockchain development experience. * Author: Lukas Kotol * Author URI: https://t.me/LukasKotol - * Version: 2.0.35 + * Version: 2.0.36 * Text Domain: tatum * Domain Path: /languages * License: MIT diff --git a/plugins/tatum/wordpress.org/README.wporg.txt b/plugins/tatum/wordpress.org/README.wporg.txt index c202ea59..114c3dea 100755 --- a/plugins/tatum/wordpress.org/README.wporg.txt +++ b/plugins/tatum/wordpress.org/README.wporg.txt @@ -217,6 +217,8 @@ Added user agent header = 2.0.35 = Added user agent header - edit += 2.0.36 = +Fixed setup API key error == Upgrade Notice == = 1.0.0 =