@graffy/fill 0.19.1-alpha.1 → 0.19.1-alpha.3
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/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +5 -14
- package/subscribe.d.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function fill(_
|
|
1
|
+
export default function fill(_?: any): (store: any) => void;
|
package/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import debug from 'debug';
|
|
|
3
3
|
import subscribe from "./subscribe.js";
|
|
4
4
|
const log = debug('graffy:fill');
|
|
5
5
|
const MAX_RECURSIONS = 10;
|
|
6
|
-
export default function fill(_) {
|
|
6
|
+
export default function fill(_ = undefined) {
|
|
7
7
|
return (store) => {
|
|
8
8
|
store.on('read', [], async function fillOnRead(query, options, next) {
|
|
9
9
|
let value = await next(query);
|
package/package.json
CHANGED
|
@@ -2,18 +2,9 @@
|
|
|
2
2
|
"name": "@graffy/fill",
|
|
3
3
|
"description": "Graffy module for fulfilling queries using multiple backends, traversing links and turning subscriptions into live queries.",
|
|
4
4
|
"author": "aravind (https://github.com/aravindet)",
|
|
5
|
-
"version": "0.19.1-alpha.
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
".": {
|
|
9
|
-
"import": "./index.js",
|
|
10
|
-
"types": "./index.d.ts"
|
|
11
|
-
},
|
|
12
|
-
"./*": {
|
|
13
|
-
"import": "./*.js",
|
|
14
|
-
"types": "./*.d.ts"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
5
|
+
"version": "0.19.1-alpha.3",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./index.js",
|
|
17
8
|
"types": "./index.d.ts",
|
|
18
9
|
"repository": {
|
|
19
10
|
"type": "git",
|
|
@@ -21,8 +12,8 @@
|
|
|
21
12
|
},
|
|
22
13
|
"license": "Apache-2.0",
|
|
23
14
|
"dependencies": {
|
|
24
|
-
"@graffy/common": "0.19.1-alpha.
|
|
25
|
-
"@graffy/stream": "0.19.1-alpha.
|
|
15
|
+
"@graffy/common": "0.19.1-alpha.3",
|
|
16
|
+
"@graffy/stream": "0.19.1-alpha.3",
|
|
26
17
|
"debug": "^4.4.3"
|
|
27
18
|
}
|
|
28
19
|
}
|