@wordpress/data-controls 2.1.3 → 2.1.7

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.
Files changed (2) hide show
  1. package/README.md +10 -11
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -20,7 +20,7 @@ The following controls are available on the object returned by the module:
20
20
 
21
21
  <!-- START TOKEN(Autogenerated API docs) -->
22
22
 
23
- <a name="apiFetch" href="#apiFetch">#</a> **apiFetch**
23
+ ### apiFetch
24
24
 
25
25
  Dispatches a control action for triggering an api fetch call.
26
26
 
@@ -45,7 +45,7 @@ _Returns_
45
45
 
46
46
  - `Object`: The control descriptor.
47
47
 
48
- <a name="controls" href="#controls">#</a> **controls**
48
+ ### controls
49
49
 
50
50
  The default export is what you use to register the controls with your custom
51
51
  store.
@@ -64,11 +64,11 @@ import * as actions from './actions';
64
64
  import * as resolvers from './resolvers';
65
65
 
66
66
  registerStore( 'my-custom-store', {
67
- reducer,
68
- controls,
69
- actions,
70
- selectors,
71
- resolvers,
67
+ reducer,
68
+ controls,
69
+ actions,
70
+ selectors,
71
+ resolvers,
72
72
  } );
73
73
  ```
74
74
 
@@ -76,7 +76,7 @@ _Returns_
76
76
 
77
77
  - `Object`: An object for registering the default controls with the store.
78
78
 
79
- <a name="dispatch" href="#dispatch">#</a> **dispatch**
79
+ ### dispatch
80
80
 
81
81
  Control for dispatching an action in a registered data store.
82
82
  Alias for the `dispatch` control in the `@wordpress/data` package.
@@ -85,7 +85,7 @@ _Parameters_
85
85
 
86
86
  - _args_ `Array`: Arguments passed without change to the `@wordpress/data` control.
87
87
 
88
- <a name="select" href="#select">#</a> **select**
88
+ ### select
89
89
 
90
90
  Control for resolving a selector in a registered data store.
91
91
  Alias for the `resolveSelect` built-in control in the `@wordpress/data` package.
@@ -94,7 +94,7 @@ _Parameters_
94
94
 
95
95
  - _args_ `Array`: Arguments passed without change to the `@wordpress/data` control.
96
96
 
97
- <a name="syncSelect" href="#syncSelect">#</a> **syncSelect**
97
+ ### syncSelect
98
98
 
99
99
  Control for calling a selector in a registered data store.
100
100
  Alias for the `select` built-in control in the `@wordpress/data` package.
@@ -103,5 +103,4 @@ _Parameters_
103
103
 
104
104
  - _args_ `Array`: Arguments passed without change to the `@wordpress/data` control.
105
105
 
106
-
107
106
  <!-- END TOKEN(Autogenerated API docs) -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/data-controls",
3
- "version": "2.1.3",
3
+ "version": "2.1.7",
4
4
  "description": "A set of common controls for the @wordpress/data api.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -27,12 +27,12 @@
27
27
  "react-native": "src/index",
28
28
  "dependencies": {
29
29
  "@babel/runtime": "^7.13.10",
30
- "@wordpress/api-fetch": "^5.1.1",
31
- "@wordpress/data": "^5.1.3",
32
- "@wordpress/deprecated": "^3.1.1"
30
+ "@wordpress/api-fetch": "^5.1.3",
31
+ "@wordpress/data": "^5.1.6",
32
+ "@wordpress/deprecated": "^3.1.2"
33
33
  },
34
34
  "publishConfig": {
35
35
  "access": "public"
36
36
  },
37
- "gitHead": "a39d5605fcea63a9e02a9ae9d3f3d4f1685df14e"
37
+ "gitHead": "6464883c6c546233543a1ee01428059dee3560fc"
38
38
  }