@secretstache/wordpress-gutenberg 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secretstache/wordpress-gutenberg",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "",
5
5
  "author": "Secret Stache",
6
6
  "license": "GPL-2.0-or-later",
@@ -12,7 +12,7 @@
12
12
  "node": ">=20"
13
13
  },
14
14
  "main": "build/index.js",
15
- "module": "build/index.es.js",
15
+ "module": "build/index.js",
16
16
  "files": [
17
17
  "build",
18
18
  "src"
@@ -158,20 +158,9 @@ export const getBaseBackgroundAttributes = (
158
158
  type: 'object',
159
159
  default: defaultBackgroundColor,
160
160
  },
161
- backgroundImage: {
162
- type: 'object',
163
- default: {
164
- id: null,
165
- url: '',
166
- },
167
- },
168
- backgroundVideo: {
169
- type: 'object',
170
- default: {
171
- id: null,
172
- url: '',
173
- },
174
- },
161
+
162
+ ...mediaAttribute,
163
+
175
164
  isIncludeOverlay: {
176
165
  type: 'boolean',
177
166
  default: false,