Skip to content

Commit 6233677

Browse files
committed
fix: update block apiVersions
1 parent 416cd13 commit 6233677

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

src/blocks/avatar/block.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"apiVersion": 3,
23
"name": "newspack/avatar",
34
"category": "newspack",
45
"attributes": {
@@ -52,4 +53,4 @@
5253
},
5354
"usesContext": ["postId", "postType"],
5455
"textdomain": "newspack-plugin"
55-
}
56+
}

src/blocks/correction-box/block.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2+
"$schema": "https://schemas.wp.org/trunk/block.json",
3+
"apiVersion": 3,
24
"name": "newspack/correction-box",
35
"category": "newspack",
46
"attributes": {

src/blocks/correction-item/block.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2+
"$schema": "https://schemas.wp.org/trunk/block.json",
3+
"apiVersion": 3,
24
"name": "newspack/correction-item",
35
"category": "newspack",
46
"attributes": {},

src/blocks/reader-registration/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://schemas.wp.org/trunk/block.json",
3-
"apiVersion": 2,
3+
"apiVersion": 3,
44
"name": "newspack/reader-registration",
55
"title": "Reader Registration",
66
"category": "newspack",

0 commit comments

Comments
 (0)