<?php
/**
 * Asset metadata for blocks/calculator/index.js.
 *
 * WordPress reads this companion file when register_block_type() is given
 * a directory path. It tells WP which scripts our editorScript depends on
 * and what version to use for cache-busting.
 *
 * Without this file, WP enqueues index.js with NO dependencies — so the
 * script runs before wp.blocks / wp.element / wp.i18n are loaded, our
 * defensive `if (! wp || ! wp.blocks) return;` guard fires, and the block
 * silently fails to register.
 *
 * Normally @wordpress/scripts generates this file at build time. Since
 * our block is small vanilla JS with no build step (see block.json), we
 * maintain this by hand. Keep in sync with the wp.* APIs index.js uses.
 */
return array(
	'dependencies' => array( 'wp-blocks', 'wp-element', 'wp-i18n' ),
	'version'      => '1.3.9',
);
