| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | - "apiVersion": 1, | |
| 3 | + "apiVersion": 3, | |
| 4 | 4 | "name": "jetpack/blog-stats", |
| 5 | 5 | "title": "Blog Stats", |
| 6 | 6 | "description": "Show a stats counter for your blog.", |
| 7 | 7 | "keywords": [ |
| @@ -7,9 +7,10 @@ | ||
| 7 | 7 | "keywords": [ |
| 8 | 8 | "views", |
| 9 | 9 | "hits", |
| 10 | 10 | "analytics", |
| 11 | - "counter" | |
| 11 | + "counter", | |
| 12 | + "visitors" | |
| 12 | 13 | ], |
| 13 | 14 | "version": "1.0", |
| 14 | 15 | "textdomain": "jetpack", |
| 15 | 16 | "category": "grow", |
| @@ -34,8 +35,12 @@ | ||
| 34 | 35 | }, |
| 35 | 36 | "attributes": { |
| 36 | 37 | "label": { |
| 37 | 38 | "type": "string" |
| 39 | + }, | |
| 40 | + "statsData": { | |
| 41 | + "type": "string", | |
| 42 | + "default": "views" | |
| 38 | 43 | }, |
| 39 | 44 | "statsOption": { |
| 40 | 45 | "type": "string", |
| 41 | 46 | "default": "site" |