Plugin Directory

Changeset 3488929


Ignore:
Timestamp:
03/23/2026 11:48:07 AM (10 days ago)
Author:
nativerentplugin
Message:

2.1.6

Location:
nativerent/trunk
Files:
5 added
23 edited

Legend:

Unmodified
Added
Removed
  • nativerent/trunk/inc/Admin/Controller.php

    r3222797 r3488929  
    55use Exception;
    66use NativeRent\Admin\Events\SettingsUpdated;
     7use NativeRent\Admin\Notices\SettingsErrors;
    78use NativeRent\Admin\Requests\Auth;
    89use NativeRent\Admin\Requests\ClearCache;
     
    1415use NativeRent\Admin\Views\Settings;
    1516use NativeRent\Common\Articles\RepositoryInterface;
     17use NativeRent\Common\Entities\AdUnitsConfig;
    1618use NativeRent\Common\NRentService;
    1719use NativeRent\Common\Options;
     20use NativeRent\Common\SDK\Http\RequestException;
    1821use NativeRent\Core\Container\Exceptions\DependencyNotFound;
    1922use NativeRent\Core\Events\DispatcherInterface;
     23use NativeRent\Core\Notices\NoticesRegistry;
    2024use NativeRent\Core\View\Renderer;
    2125use NativeRent\Core\View\ViewInterface;
     
    8387        }
    8488
     89        $errors = $this->session->get( 'errors', [] );
     90        if ( ! is_array( $errors ) ) {
     91            $errors = [];
     92        }
     93        $validationErrors = $this->session->get( 'validation_errors', [] );
     94        if ( ! is_array( $validationErrors ) ) {
     95            $validationErrors = [];
     96        }
     97
     98        $adUnitsConfig = $this->options->getAdUnitsConfig();
     99        if ( ! empty( $errors ) ) {
     100            $notices = nrentapp( NoticesRegistry::class );
     101            $notices->addNotice( new SettingsErrors( $errors ) );
     102            $prevAdUnitsConfig = $this->session->get( 'adUnitsConfig' );
     103            if ( ! empty( $prevAdUnitsConfig ) ) {
     104                $adUnitsConfig = new AdUnitsConfig( $prevAdUnitsConfig );
     105            }
     106        }
     107
    85108        $this->displayView(
    86109            new Layout(
    87110                new Settings(
    88                     $this->options->getAdUnitsConfig(),
    89                     $this->options->getMonetizations(),
    90                     $randomPermalink
     111                    $adUnitsConfig,
     112                    $monetizations,
     113                    $randomPermalink,
     114                    $errors,
     115                    $validationErrors
    91116                ),
    92117                true
     
    110135        $request = new UpdateSettings();
    111136        if ( ! empty( $request->adUnitsConfig ) ) {
    112             if ( $this->options->setAdUnitsConfig( $request->adUnitsConfig ) ) {
     137            // Validate data.
     138            $validationRes = nrentapp( NRentService::class )->validateAdUnitsConfig( $request->adUnitsConfig );
     139            if ( ! $validationRes['success'] ) {
     140                $this->session->add( 'adUnitsConfig', $request->adUnitsConfig->jsonSerialize() );
     141
     142                if ( ! empty( $validationRes['errors'] ) ) {
     143                    $this->session->add( 'validation_errors', $validationRes['errors'] );
     144                    $this->session->add( 'errors', [ __( 'Не удалось применить настройки, потому что некоторые поля заполнены неверно', 'nativerent' ) ] );
     145                } else {
     146                    $err = ! empty( $validationRes['request_error']['message'] ) ? $validationRes['request_error']['message'] : __( 'Не удалось проверить данные', 'nativerent' );
     147                    $this->session->add( 'errors', [ 'validateAdUnitsConfig: ' . $err ] );
     148                }
     149            } elseif ( $this->options->setAdUnitsConfig( $request->adUnitsConfig ) ) {
    113150                $this->events->dispatch( new SettingsUpdated() );
    114151            }
     
    143180    public function auth() {
    144181        $request = new Auth();
    145         $service = nrentapp( NRentService::class );
    146         $res     = $service->authorize(
    147             wpnrent_get_domain(),
    148             $request->login,
    149             $request->getPassword()
    150         );
     182        $res = [ 'success' => false ];
     183        try {
     184            $res = nrentapp( NRentService::class )->authorize(
     185                wpnrent_get_domain(),
     186                $request->login,
     187                $request->getPassword()
     188            );
     189        } catch ( RequestException $e ) {
     190            $res['errors'] = [ 'request_error' => __( ' Произошла ошибка ' ) . ': ' . $e->getMessage() ];
     191        }
     192
    151193        if ( $res['success'] ) {
    152194            $this->options->setClearCacheFlag( 1 );
  • nativerent/trunk/inc/Admin/Notices/Notice.php

    r3062141 r3488929  
    55use InvalidArgumentException;
    66use NativeRent\Core\Notices\AbstractNotice;
     7use NativeRent\Core\Notices\NoticeInterface;
    78
    89class Notice extends AbstractNotice {
     
    1516     * @throws InvalidArgumentException
    1617     */
    17     public function __construct( $content, $level = self::LEVEL_INFO, $options = [] ) {
     18    public function __construct( $content, $level = NoticeInterface::LEVEL_INFO, $options = [] ) {
    1819        if ( ! is_string( $content ) ) {
    1920            throw new InvalidArgumentException( 'Notice content must be string' );
  • nativerent/trunk/inc/Admin/Requests/UpdateSettings.php

    r3247784 r3488929  
    1919     * Config instance with sanitized data.
    2020     *
    21      * @var AdUnitsConfig
     21     * @var AdUnitsConfig|null
    2222     */
    2323    public $adUnitsConfig = null;
     
    3535     * @param  array|null $data  Raw POST payload data.
    3636     *
    37      * @return AdUnitsConfig
     37     * @return AdUnitsConfig|null
    3838     */
    3939    private function setAdUnitsConfig( $data ) {
  • nativerent/trunk/inc/Admin/Views/Settings.php

    r3110316 r3488929  
    3131    public $demoPageURL;
    3232
     33    /** @var string[] */
     34    public $errors;
     35
     36    /** @var array<string, string> */
     37    public $validationErrors;
     38
    3339    /**
    34      * @param  AdUnitsConfig $adUnitsConfig
    35      * @param  Monetizations $monetizations
    36      * @param  string        $demoPageURL
     40     * @param AdUnitsConfig         $adUnitsConfig
     41     * @param Monetizations         $monetizations
     42     * @param string                $demoPageURL
     43     * @param string[]              $errors
     44     * @param array<string, string> $validationErrors
    3745     *
    3846     * @throws \Exception
     
    4149        AdUnitsConfig $adUnitsConfig,
    4250        Monetizations $monetizations,
    43         $demoPageURL
     51        $demoPageURL,
     52        $errors = [],
     53        $validationErrors = []
    4454    ) {
    45         $this->adUnitsConfig   = $adUnitsConfig;
    46         $this->regularSettings = ! $monetizations->isRegularRejected();
    47         $this->ntgbSettings    = ! $monetizations->isNtgbRejected();
    48         $this->demoPageURL     = $demoPageURL;
     55        $this->adUnitsConfig    = $adUnitsConfig;
     56        $this->regularSettings  = ! $monetizations->isRegularRejected();
     57        $this->ntgbSettings     = ! $monetizations->isNtgbRejected();
     58        $this->demoPageURL      = $demoPageURL;
     59        $this->errors           = $errors;
     60        $this->validationErrors = $validationErrors;
     61
    4962        $this->actionURL       = nrentroute( 'settings.update' )->path;
    5063        $this->labels          = $this->labels();
  • nativerent/trunk/inc/Common/Cron/WpCronTasksRegistry.php

    r3062141 r3488929  
    2020    private $namePrefix;
    2121
    22     /** @var int[] */
    23     private $registeredIntervals = [];
    24 
    2522    /**
    2623     * @param  string $namePrefix
     
    2825    public function __construct( $namePrefix = '' ) {
    2926        $this->namePrefix = empty( $namePrefix ) ? '' : $namePrefix . '_';
     27        $this->registerIntervals( TaskInterval::getAllIntervals() );
    3028    }
    3129
     
    6967
    7068    private function registerInterval( TaskInterval $interval ) {
    71         if ( in_array( $interval->getSeconds(), $this->registeredIntervals, true ) ) {
    72             return;
    73         }
     69        $this->registerIntervals( [ $interval ] );
     70    }
    7471
     72    /**
     73     * @param TaskInterval[] $intervals
     74     * @return void
     75     */
     76    private function registerIntervals( $intervals ) {
    7577        add_filter(
    7678            'cron_schedules',
    77             function ( $recurrence ) use ( $interval ) {
    78                 $name = $this->getIntervalName( $interval );
    79                 $recurrence[ $name ] = [
    80                     'interval' => $interval->getSeconds(),
    81                     'display'  => 'Every ' . $interval->getSeconds() . ' seconds',
    82                 ];
     79            function ( $recurrence ) use ( $intervals ) {
     80                foreach ( $intervals as $i ) {
     81                    $recurrence[ $this->getIntervalName( $i ) ] = [
     82                        'interval' => $i->getSeconds(),
     83                        'display'  => 'Every ' . $i->getSeconds() . ' seconds',
     84                    ];
     85                }
    8386
    8487                return $recurrence;
    8588            }
    8689        );
    87 
    88         $this->registeredIntervals[] = $interval->getSeconds();
    8990    }
    9091}
  • nativerent/trunk/inc/Common/NRentService.php

    r3227396 r3488929  
    1919use NativeRent\Common\SDK\State\SendStatusPayload;
    2020
     21use NativeRent\Common\SDK\State\ValidatePayload;
    2122use function array_key_exists;
    2223use function is_null;
     
    146147
    147148    /**
     149     * @param AdUnitsConfig $adUnitsConfig
     150     *
     151     * @return array{success: bool, errors: array<string, string>, request_error: array{status: int, message: string}|null}
     152     */
     153    public function validateAdUnitsConfig( AdUnitsConfig $adUnitsConfig ) {
     154        $result = [
     155            'success'       => false,
     156            'request_error' => null,
     157            'errors'        => [],
     158        ];
     159
     160        /**
     161         * @param int $code Http status code.
     162         * @param string $message Error message.
     163         *
     164         * @return array{status: int, message: string}
     165         */
     166        $requestError = static function ( $code, $message ) {
     167            return [
     168                'code'    => (int) $code,
     169                'message' => (string) $message,
     170            ];
     171        };
     172
     173        $siteID = $this->options->getSiteID();
     174        if ( empty( $siteID ) ) {
     175            $result['request_error'] = $requestError( 401, 'Unauthorized' );
     176
     177            return $result;
     178        }
     179
     180        try {
     181            $response = $this->client->validate( new ValidatePayload( $siteID, $adUnitsConfig ) );
     182        } catch ( RequestException $e ) {
     183            $result['request_error'] = $requestError( $e->getCode(), $e->getMessage() );
     184
     185            return $result;
     186        }
     187
     188        $result['success'] = $response->isSuccess();
     189        $result['errors']  = ! is_null( $response->getErrors() ) ? $response->getErrors() : [];
     190
     191        return $result;
     192    }
     193
     194    /**
    148195     * Actualize monetizations statuses.
    149196     *
  • nativerent/trunk/inc/Common/SDK/APIClient.php

    r3222797 r3488929  
    2424use NativeRent\Common\SDK\State\StateInterface;
    2525
     26use NativeRent\Common\SDK\State\ValidateAdUnitsConfigPayload;
     27use NativeRent\Common\SDK\State\ValidatePayload;
     28use NativeRent\Common\SDK\State\ValidateResponse;
    2629use function http_build_query;
    2730use function is_array;
     
    265268     * @throws RequestException
    266269     */
     270    public function validate( ValidatePayload $payload ) {
     271        $response = $this->execRequest(
     272            new Request(
     273                Request::METHOD_POST,
     274                $this->apiMethodURI( 'validate' ),
     275                json_encode( $payload ),
     276                [
     277                    'content-type' => 'application/json',
     278                    'accept' => 'application/json',
     279                ]
     280            ),
     281            true
     282        );
     283
     284        return ValidateResponse::hydrate( ! is_null( $response ) ? $response->getDecodedBody() : [ 'success' => false ] );
     285    }
     286
     287    /**
     288     * {@inheritDoc}
     289     *
     290     * @throws RequestException
     291     */
    267292    public function sendIssue( SendIssuePayload $payload ) {
    268293        $this->execRequest(
  • nativerent/trunk/inc/Common/SDK/Auth/AuthPayload.php

    r3222797 r3488929  
    6767     * {@inheritDoc}
    6868     */
     69    #[\ReturnTypeWillChange]
    6970    public function jsonSerialize() {
    7071        return [
  • nativerent/trunk/inc/Common/SDK/CommonResponse.php

    r3222797 r3488929  
    2626
    2727    /**
    28      * @return string[]|null
     28     * @return array<string, string>|null
    2929     */
    3030    public function getErrors() {
  • nativerent/trunk/inc/Common/SDK/Reporting/SendIssuePayload.php

    r3222797 r3488929  
    128128     * {@inheritDoc}
    129129     */
     130    #[\ReturnTypeWillChange]
    130131    public function jsonSerialize() {
    131132        return [
  • nativerent/trunk/inc/Common/SDK/State/GetOptionsPayload.php

    r3222797 r3488929  
    4343     * {@inheritDoc}
    4444     */
     45    #[\ReturnTypeWillChange]
    4546    public function jsonSerialize() {
    4647        return [
  • nativerent/trunk/inc/Common/SDK/State/SendStatePayload.php

    r3222797 r3488929  
    4444     * {@inheritDoc}
    4545     */
     46    #[\ReturnTypeWillChange]
    4647    public function jsonSerialize() {
    4748        return [
  • nativerent/trunk/inc/Common/SDK/State/SendStatusPayload.php

    r3222797 r3488929  
    3939     * {@inheritDoc}
    4040     */
     41    #[\ReturnTypeWillChange]
    4142    public function jsonSerialize() {
    4243        return [
  • nativerent/trunk/inc/Common/SDK/State/StateInterface.php

    r3222797 r3488929  
    3434     */
    3535    public function sendStatus( SendStatusPayload $payload );
     36
     37    /**
     38     * Checking some state data.
     39     *
     40     * @param ValidatePayload $payload
     41     *
     42     * @return ValidateResponse
     43     */
     44    public function validate( ValidatePayload $payload );
    3645}
  • nativerent/trunk/inc/Core/Cron/TaskInterval.php

    r3062141 r3488929  
    2020
    2121        $this->seconds = $seconds;
     22    }
     23
     24    /**
     25     * @return self[]
     26     */
     27    public static function getAllIntervals() {
     28        return [
     29            self::everyMinute(),
     30            self::everyFiveMinutes(),
     31            self::halfHourly(),
     32            self::hourly(),
     33            self::twiceDaily(),
     34            self::daily(),
     35        ];
    2236    }
    2337
  • nativerent/trunk/nativerent.php

    r3416076 r3488929  
    44 * Plugin URI:        https://wordpress.org/plugins/nativerent/
    55 * Description:       Релевантная реклама для ваших читателей. Рекламодатели сервиса платят в 2-3 раза больше за 1 тыс. показов страниц, чем привычные рекламные сетки. Страница выкупается полностью, на ней размещается максимум четыре рекламных блока, которые выглядят нативно в стиле сайта.
    6  * Version:           2.1.5
     6 * Version:           2.1.6
    77 * Requires at least: 4.9
    88 * Tested up to:      6.9
     
    2828// Plugin version.
    2929if ( ! defined( 'NATIVERENT_PLUGIN_VERSION' ) ) {
    30     define( 'NATIVERENT_PLUGIN_VERSION', '2.1.5' );
     30    define( 'NATIVERENT_PLUGIN_VERSION', '2.1.6' );
    3131}
    3232// Plugin Folder Path.
     
    6767        ! empty( $_nrentFormComponentsURL )
    6868            ? $_nrentFormComponentsURL
    69             : 'https://assets.nativerent.ru/web-components/wp/v1.0.iife.js'
     69            : 'https://assets.nativerent.ru/web-components/wp/v1.3.iife.js'
    7070    );
    7171}
  • nativerent/trunk/phpcs.xml

    r3062141 r3488929  
    1414    <exclude-pattern>/dist/*</exclude-pattern>
    1515    <exclude-pattern>/static/*</exclude-pattern>
    16     <exclude-pattern>/tests/*</exclude-pattern>
    1716    <exclude-pattern>/vendor/*</exclude-pattern>
    1817    <exclude-pattern>/dist/*</exclude-pattern>
  • nativerent/trunk/readme.txt

    r3416076 r3488929  
    77Tested up to:      6.9
    88Requires PHP:      5.6.20
    9 Stable tag:        2.1.5
     9Stable tag:        2.1.6
    1010License:           GPLv2 or later
    1111License URI:       https://www.gnu.org/licenses/gpl-2.0.html
  • nativerent/trunk/resources/templates/admin/settings.php

    r3247784 r3488929  
    1414    data-ntgb-count="<?php echo count( $view->adUnitsConfig->ntgb->getActiveUnits() ); ?>"
    1515    data-demo-page="<?php echo esc_attr( $view->demoPageURL ); ?>"
     16    data-errors="<?php echo esc_attr( json_encode( $view->validationErrors ) ); ?>"
    1617>
    1718    <noscript>
     
    2728<script>
    2829    (function () {
     30        var adBlockMsg = '<?php esc_html_e( 'Возникла ошибка при загрузке формы. Если вы используете блокировщик рекламы, то попробуйте отключить его и перезагрузить страницу.', 'nativerent' ); ?>'
    2931        window.addEventListener('load', function () {
    3032            if (window.NRENT_FORM_COMPONENT_ERROR) {
     
    3234                var errMsg = document.createElement('h2')
    3335                errMsg.classList.add('NativeRentAdmin_validationError')
    34                 errMsg.textContent = 'Возникла ошибка при загрузке формы. ' +
    35                     'Если вы используете блокировщик рекламы, то попробуйте отключить его и перезагрузить страницу.'
     36                errMsg.textContent = adBlockMsg
    3637                root.insertAdjacentElement('afterend', errMsg)
    3738            }
  • nativerent/trunk/vendor/autoload.php

    r3416076 r3488929  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit419f8c3c2d47b34eee491a1c33fd23e3::getLoader();
     7return ComposerAutoloaderInitf0b408ac4deaffb29d46c12c92f2095c::getLoader();
  • nativerent/trunk/vendor/composer/autoload_classmap.php

    r3222797 r3488929  
    1818    'NativeRent\\Admin\\Notices\\InvalidApiToken' => $baseDir . '/inc/Admin/Notices/InvalidApiToken.php',
    1919    'NativeRent\\Admin\\Notices\\Notice' => $baseDir . '/inc/Admin/Notices/Notice.php',
     20    'NativeRent\\Admin\\Notices\\SettingsErrors' => $baseDir . '/inc/Admin/Notices/SettingsErrors.php',
    2021    'NativeRent\\Admin\\Notices\\Unauthorized' => $baseDir . '/inc/Admin/Notices/Unauthorized.php',
    2122    'NativeRent\\Admin\\Requests\\AbstractRequest' => $baseDir . '/inc/Admin/Requests/AbstractRequest.php',
     
    3738    'NativeRent\\Admin\\Views\\PromptSiteRejected' => $baseDir . '/inc/Admin/Views/PromptSiteRejected.php',
    3839    'NativeRent\\Admin\\Views\\Settings' => $baseDir . '/inc/Admin/Views/Settings.php',
     40    'NativeRent\\Admin\\Views\\SettingsErrorsNoticeContent' => $baseDir . '/inc/Admin/Views/SettingsErrorsNoticeContent.php',
    3941    'NativeRent\\Admin\\Views\\UnauthorizedNoticeContent' => $baseDir . '/inc/Admin/Views/UnauthorizedNoticeContent.php',
    4042    'NativeRent\\Api\\ApiRouter' => $baseDir . '/inc/Api/ApiRouter.php',
     
    106108    'NativeRent\\Common\\SDK\\State\\SendStatusPayload' => $baseDir . '/inc/Common/SDK/State/SendStatusPayload.php',
    107109    'NativeRent\\Common\\SDK\\State\\StateInterface' => $baseDir . '/inc/Common/SDK/State/StateInterface.php',
     110    'NativeRent\\Common\\SDK\\State\\ValidatePayload' => $baseDir . '/inc/Common/SDK/State/ValidatePayload.php',
     111    'NativeRent\\Common\\SDK\\State\\ValidateResponse' => $baseDir . '/inc/Common/SDK/State/ValidateResponse.php',
    108112    'NativeRent\\Common\\SDK\\WordPress\\Client' => $baseDir . '/inc/Common/SDK/WordPress/Client.php',
    109113    'NativeRent\\Core\\Container\\Container' => $baseDir . '/inc/Core/Container/Container.php',
  • nativerent/trunk/vendor/composer/autoload_real.php

    r3416076 r3488929  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit419f8c3c2d47b34eee491a1c33fd23e3
     5class ComposerAutoloaderInitf0b408ac4deaffb29d46c12c92f2095c
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit419f8c3c2d47b34eee491a1c33fd23e3', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInitf0b408ac4deaffb29d46c12c92f2095c', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
    27         spl_autoload_unregister(array('ComposerAutoloaderInit419f8c3c2d47b34eee491a1c33fd23e3', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInitf0b408ac4deaffb29d46c12c92f2095c', 'loadClassLoader'));
    2828
    2929        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3131            require __DIR__ . '/autoload_static.php';
    3232
    33             call_user_func(\Composer\Autoload\ComposerStaticInit419f8c3c2d47b34eee491a1c33fd23e3::getInitializer($loader));
     33            call_user_func(\Composer\Autoload\ComposerStaticInitf0b408ac4deaffb29d46c12c92f2095c::getInitializer($loader));
    3434        } else {
    3535            $map = require __DIR__ . '/autoload_namespaces.php';
     
    5252
    5353        if ($useStaticLoader) {
    54             $includeFiles = Composer\Autoload\ComposerStaticInit419f8c3c2d47b34eee491a1c33fd23e3::$files;
     54            $includeFiles = Composer\Autoload\ComposerStaticInitf0b408ac4deaffb29d46c12c92f2095c::$files;
    5555        } else {
    5656            $includeFiles = require __DIR__ . '/autoload_files.php';
    5757        }
    5858        foreach ($includeFiles as $fileIdentifier => $file) {
    59             composerRequire419f8c3c2d47b34eee491a1c33fd23e3($fileIdentifier, $file);
     59            composerRequiref0b408ac4deaffb29d46c12c92f2095c($fileIdentifier, $file);
    6060        }
    6161
     
    6969 * @return void
    7070 */
    71 function composerRequire419f8c3c2d47b34eee491a1c33fd23e3($fileIdentifier, $file)
     71function composerRequiref0b408ac4deaffb29d46c12c92f2095c($fileIdentifier, $file)
    7272{
    7373    if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • nativerent/trunk/vendor/composer/autoload_static.php

    r3416076 r3488929  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit419f8c3c2d47b34eee491a1c33fd23e3
     7class ComposerStaticInitf0b408ac4deaffb29d46c12c92f2095c
    88{
    99    public static $files = array (
     
    4545        'NativeRent\\Admin\\Notices\\InvalidApiToken' => __DIR__ . '/../..' . '/inc/Admin/Notices/InvalidApiToken.php',
    4646        'NativeRent\\Admin\\Notices\\Notice' => __DIR__ . '/../..' . '/inc/Admin/Notices/Notice.php',
     47        'NativeRent\\Admin\\Notices\\SettingsErrors' => __DIR__ . '/../..' . '/inc/Admin/Notices/SettingsErrors.php',
    4748        'NativeRent\\Admin\\Notices\\Unauthorized' => __DIR__ . '/../..' . '/inc/Admin/Notices/Unauthorized.php',
    4849        'NativeRent\\Admin\\Requests\\AbstractRequest' => __DIR__ . '/../..' . '/inc/Admin/Requests/AbstractRequest.php',
     
    6465        'NativeRent\\Admin\\Views\\PromptSiteRejected' => __DIR__ . '/../..' . '/inc/Admin/Views/PromptSiteRejected.php',
    6566        'NativeRent\\Admin\\Views\\Settings' => __DIR__ . '/../..' . '/inc/Admin/Views/Settings.php',
     67        'NativeRent\\Admin\\Views\\SettingsErrorsNoticeContent' => __DIR__ . '/../..' . '/inc/Admin/Views/SettingsErrorsNoticeContent.php',
    6668        'NativeRent\\Admin\\Views\\UnauthorizedNoticeContent' => __DIR__ . '/../..' . '/inc/Admin/Views/UnauthorizedNoticeContent.php',
    6769        'NativeRent\\Api\\ApiRouter' => __DIR__ . '/../..' . '/inc/Api/ApiRouter.php',
     
    133135        'NativeRent\\Common\\SDK\\State\\SendStatusPayload' => __DIR__ . '/../..' . '/inc/Common/SDK/State/SendStatusPayload.php',
    134136        'NativeRent\\Common\\SDK\\State\\StateInterface' => __DIR__ . '/../..' . '/inc/Common/SDK/State/StateInterface.php',
     137        'NativeRent\\Common\\SDK\\State\\ValidatePayload' => __DIR__ . '/../..' . '/inc/Common/SDK/State/ValidatePayload.php',
     138        'NativeRent\\Common\\SDK\\State\\ValidateResponse' => __DIR__ . '/../..' . '/inc/Common/SDK/State/ValidateResponse.php',
    135139        'NativeRent\\Common\\SDK\\WordPress\\Client' => __DIR__ . '/../..' . '/inc/Common/SDK/WordPress/Client.php',
    136140        'NativeRent\\Core\\Container\\Container' => __DIR__ . '/../..' . '/inc/Core/Container/Container.php',
     
    178182    {
    179183        return \Closure::bind(function () use ($loader) {
    180             $loader->prefixLengthsPsr4 = ComposerStaticInit419f8c3c2d47b34eee491a1c33fd23e3::$prefixLengthsPsr4;
    181             $loader->prefixDirsPsr4 = ComposerStaticInit419f8c3c2d47b34eee491a1c33fd23e3::$prefixDirsPsr4;
    182             $loader->classMap = ComposerStaticInit419f8c3c2d47b34eee491a1c33fd23e3::$classMap;
     184            $loader->prefixLengthsPsr4 = ComposerStaticInitf0b408ac4deaffb29d46c12c92f2095c::$prefixLengthsPsr4;
     185            $loader->prefixDirsPsr4 = ComposerStaticInitf0b408ac4deaffb29d46c12c92f2095c::$prefixDirsPsr4;
     186            $loader->classMap = ComposerStaticInitf0b408ac4deaffb29d46c12c92f2095c::$classMap;
    183187
    184188        }, null, ClassLoader::class);
Note: See TracChangeset for help on using the changeset viewer.