@secretstache/wordpress-gutenberg 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secretstache/wordpress-gutenberg",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "",
5
5
  "author": "Secret Stache",
6
6
  "license": "GPL-2.0-or-later",
@@ -217,7 +217,7 @@ export const getSpacingClasses = (
217
217
  * @param {string} namespace - Filter namespace to search for
218
218
  * @returns {Array<{filterName: string, namespace: string}>} Array of matching filters
219
219
  */
220
- const getFiltersByNamespace = (namespace) => {
220
+ export const getFiltersByNamespace = (namespace) => {
221
221
  const list = [];
222
222
 
223
223
  Object.entries(filters).forEach(([filterName, filterData]) => {
@@ -238,7 +238,7 @@ const getFiltersByNamespace = (namespace) => {
238
238
  * @param {string} blockName - Name of the block to unregister
239
239
  * @param {string} postType - Post type to check against
240
240
  */
241
- const unsetBlockForPostType = (blockName, postType) => {
241
+ export const unsetBlockForPostType = (blockName, postType) => {
242
242
  const unsubscribe = subscribe(
243
243
  () => {
244
244
  const currentPostType = select('core/editor').getCurrentPostType();