src/components/Frontend.php
public function enqueue_scripts() {

		if ( empty( $this->registered_handles ) ) {
			return;
		}

		$script_url = plugin_dir_url( trailingslashit( __DIR__ ) . '../../../' ) . 'assets/js/wp-ajax-helper.js';

		wp_enqueue_script( 'wp-ajax-helper', $script_url, array( 'jquery' ), null, true );

		wp_localize_script(
			'wp-ajax-helper',
			'wpAjaxHelper',
			array(
				'ajaxUrl' => admin_url( 'admin-ajax.php' ),
				'handles' => $this->get_nonces(),
			)
		);
	}
public function enqueue_scripts() {

		if ( empty( $this->registered_handles ) ) {
			return;
		}

		$script_url = plugin_dir_url( trailingslashit( __DIR__ ) . '../../../' ) . 'assets/js/wp-ajax-helper.js';

		wp_enqueue_script( 'wp-ajax-helper', $script_url, array( 'jquery' ), null, true );

		wp_localize_script(
			'wp-ajax-helper',
			'wpAjaxHelper',
			array(
				'ajaxUrl' => admin_url( 'admin-ajax.php' ),
				'handles' => $this->get_nonces(),
			)
		);
	}
Enqueues the library's scripts.