@graffy/fill 0.16.10-alpha.2 → 0.16.11
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.cjs +2 -2
- package/index.mjs +2 -2
- package/package.json +3 -3
package/index.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const common = require("@graffy/common");
|
|
3
|
-
const stream = require("@graffy/stream");
|
|
4
3
|
const debug = require("debug");
|
|
4
|
+
const stream = require("@graffy/stream");
|
|
5
5
|
const log$1 = debug("graffy:fill:subscribe");
|
|
6
6
|
function subscribe(store, originalQuery, { raw }) {
|
|
7
7
|
const empty = () => common.finalize([], originalQuery, 0);
|
|
8
8
|
let push;
|
|
9
9
|
let end;
|
|
10
10
|
let upstream;
|
|
11
|
-
|
|
11
|
+
const query = [];
|
|
12
12
|
let data = empty();
|
|
13
13
|
let payload = [];
|
|
14
14
|
const stream$1 = stream.makeStream((streamPush, streamEnd) => {
|
package/index.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { add, sieve, slice, merge, finalize } from "@graffy/common";
|
|
2
|
-
import { makeStream } from "@graffy/stream";
|
|
3
2
|
import debug from "debug";
|
|
3
|
+
import { makeStream } from "@graffy/stream";
|
|
4
4
|
const log$1 = debug("graffy:fill:subscribe");
|
|
5
5
|
function subscribe(store, originalQuery, { raw }) {
|
|
6
6
|
const empty = () => finalize([], originalQuery, 0);
|
|
7
7
|
let push;
|
|
8
8
|
let end;
|
|
9
9
|
let upstream;
|
|
10
|
-
|
|
10
|
+
const query = [];
|
|
11
11
|
let data = empty();
|
|
12
12
|
let payload = [];
|
|
13
13
|
const stream = makeStream((streamPush, streamEnd) => {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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.16.
|
|
5
|
+
"version": "0.16.11",
|
|
6
6
|
"main": "./index.cjs",
|
|
7
7
|
"exports": {
|
|
8
8
|
"import": "./index.mjs",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
},
|
|
17
17
|
"license": "Apache-2.0",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@graffy/common": "0.16.
|
|
19
|
+
"@graffy/common": "0.16.11",
|
|
20
20
|
"debug": "^4.3.3",
|
|
21
|
-
"@graffy/stream": "0.16.
|
|
21
|
+
"@graffy/stream": "0.16.11"
|
|
22
22
|
}
|
|
23
23
|
}
|