@cedarjs/realtime 3.1.1 → 3.1.2-next.126
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.
|
@@ -91,7 +91,7 @@ export declare class RedisLiveQueryStore {
|
|
|
91
91
|
liveQueryStore: InMemoryLiveQueryStore;
|
|
92
92
|
constructor(pub: PublishClientType, sub: SubscribeClientType, channel: string, liveQueryStore: InMemoryLiveQueryStore);
|
|
93
93
|
invalidate(identifiers: string[] | string): Promise<void>;
|
|
94
|
-
makeExecute(execute: typeof defaultExecute): (args: import("graphql").ExecutionArgs) => AsyncIterableIterator<import("graphql").ExecutionResult<import("graphql/jsutils/ObjMap").ObjMap<unknown>, import("graphql/jsutils/ObjMap").ObjMap<unknown>> | import("@n1ru4l/graphql-live-query").LiveExecutionResult> | import("graphql").ExecutionResult<import("graphql/jsutils/ObjMap").ObjMap<unknown>, import("graphql/jsutils/ObjMap").ObjMap<unknown>> | Promise<AsyncIterableIterator<import("graphql").ExecutionResult<import("graphql/jsutils/ObjMap").ObjMap<unknown>, import("graphql/jsutils/ObjMap").ObjMap<unknown>> | import("@n1ru4l/graphql-live-query").LiveExecutionResult> | import("graphql").ExecutionResult<import("graphql/jsutils/ObjMap").ObjMap<unknown>, import("graphql/jsutils/ObjMap").ObjMap<unknown>>>;
|
|
94
|
+
makeExecute(execute: typeof defaultExecute): (args: import("graphql").ExecutionArgs) => AsyncIterableIterator<import("graphql").ExecutionResult<import("graphql/jsutils/ObjMap.js").ObjMap<unknown>, import("graphql/jsutils/ObjMap.js").ObjMap<unknown>> | import("@n1ru4l/graphql-live-query").LiveExecutionResult> | import("graphql").ExecutionResult<import("graphql/jsutils/ObjMap.js").ObjMap<unknown>, import("graphql/jsutils/ObjMap.js").ObjMap<unknown>> | Promise<AsyncIterableIterator<import("graphql").ExecutionResult<import("graphql/jsutils/ObjMap.js").ObjMap<unknown>, import("graphql/jsutils/ObjMap.js").ObjMap<unknown>> | import("@n1ru4l/graphql-live-query").LiveExecutionResult> | import("graphql").ExecutionResult<import("graphql/jsutils/ObjMap.js").ObjMap<unknown>, import("graphql/jsutils/ObjMap.js").ObjMap<unknown>>>;
|
|
95
95
|
}
|
|
96
96
|
export declare let liveQueryStore: LiveQueryStorageMechanism | undefined;
|
|
97
97
|
export declare let pubSub: ReturnType<typeof createPubSub> | undefined;
|
|
@@ -54,7 +54,7 @@ const useCedarRealtime = (options) => {
|
|
|
54
54
|
const inMemoryLiveQueryStore = new InMemoryLiveQueryStore();
|
|
55
55
|
liveQueryStore = {};
|
|
56
56
|
pubSub = {};
|
|
57
|
-
const wasLiveQueryAdded = Symbol.for("useCedarRealtime.wasLiveQueryAdded");
|
|
57
|
+
const wasLiveQueryAdded = /* @__PURE__ */ Symbol.for("useCedarRealtime.wasLiveQueryAdded");
|
|
58
58
|
if (options.liveQueries?.store) {
|
|
59
59
|
if (options.liveQueries.store === "in-memory") {
|
|
60
60
|
liveQueriesEnabled = true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/realtime",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.2-next.126+e7fa625a39",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/cedarjs/cedar.git",
|
|
@@ -29,22 +29,22 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@envelop/live-query": "7.0.0",
|
|
32
|
-
"@graphql-tools/schema": "10.0.
|
|
32
|
+
"@graphql-tools/schema": "10.0.32",
|
|
33
33
|
"@graphql-tools/utils": "10.11.0",
|
|
34
|
-
"@graphql-yoga/plugin-defer-stream": "3.
|
|
35
|
-
"@graphql-yoga/plugin-graphql-sse": "3.
|
|
34
|
+
"@graphql-yoga/plugin-defer-stream": "3.21.0",
|
|
35
|
+
"@graphql-yoga/plugin-graphql-sse": "3.21.0",
|
|
36
36
|
"@graphql-yoga/redis-event-target": "3.0.3",
|
|
37
37
|
"@graphql-yoga/subscription": "5.0.5",
|
|
38
38
|
"@n1ru4l/graphql-live-query": "0.10.0",
|
|
39
39
|
"@n1ru4l/in-memory-live-query-store": "0.10.0",
|
|
40
|
-
"graphql": "16.13.
|
|
40
|
+
"graphql": "16.13.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@cedarjs/framework-tools": "
|
|
43
|
+
"@cedarjs/framework-tools": "3.1.2-next.126",
|
|
44
44
|
"@envelop/core": "5.5.1",
|
|
45
45
|
"@envelop/testing": "7.0.0",
|
|
46
46
|
"@envelop/types": "5.2.1",
|
|
47
|
-
"graphql-yoga": "5.
|
|
47
|
+
"graphql-yoga": "5.21.0",
|
|
48
48
|
"ioredis": "5.10.1",
|
|
49
49
|
"nodemon": "3.1.14",
|
|
50
50
|
"tsx": "4.21.0",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "e7fa625a39d829a9078bd5b8237e93ec1a8745be"
|
|
69
69
|
}
|