@graphql-box/worker-client 5.4.11 → 5.4.12
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/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/index.mjs.map +1 -1
- package/dist/production.analysis.txt +16 -16
- package/dist/types/cjs/main.d.cts.map +1 -1
- package/dist/types/cjs/types.d.cts +1 -0
- package/dist/types/cjs/types.d.cts.map +1 -1
- package/dist/types/esm/main.d.ts.map +1 -1
- package/dist/types/esm/types.d.ts +1 -0
- package/dist/types/esm/types.d.ts.map +1 -1
- package/dist/types/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/main.ts +2 -1
- package/src/types.ts +1 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-box/worker-client",
|
|
3
3
|
"description": "The GraphQL Box web worker client module.",
|
|
4
|
-
"version": "5.4.
|
|
4
|
+
"version": "5.4.12",
|
|
5
5
|
"author": "Dylan Aubrey",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/badbatch/graphql-box",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"cts-types": "^0.0.8",
|
|
55
55
|
"del-cli": "^6.0.0",
|
|
56
56
|
"graphql": "^16.9.0",
|
|
57
|
-
"@graphql-box/request-parser": "5.4.6",
|
|
58
57
|
"@graphql-box/cache-manager": "5.4.7",
|
|
58
|
+
"@graphql-box/request-parser": "5.4.6",
|
|
59
59
|
"@graphql-box/client": "5.4.7"
|
|
60
60
|
},
|
|
61
61
|
"keywords": [
|
package/src/main.ts
CHANGED
|
@@ -40,10 +40,11 @@ import {
|
|
|
40
40
|
export class WorkerClient {
|
|
41
41
|
private static _getMessageContext({
|
|
42
42
|
hasDeferOrStream = false,
|
|
43
|
+
initiator,
|
|
43
44
|
operation,
|
|
44
45
|
requestID,
|
|
45
46
|
}: RequestContext): MessageContext {
|
|
46
|
-
return { hasDeferOrStream, operation, requestID };
|
|
47
|
+
return { hasDeferOrStream, initiator, operation, requestID };
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
private static _resolve(
|