@graphitation/apollo-react-relay-duct-tape 0.7.16 → 0.8.1

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/.eslintcache CHANGED
@@ -1 +1 @@
1
- [{"/mnt/vss/_work/1/s/packages/apollo-react-relay-duct-tape/src/__tests__/hooks.test.tsx":"1","/mnt/vss/_work/1/s/packages/apollo-react-relay-duct-tape/src/hooks.ts":"2","/mnt/vss/_work/1/s/packages/apollo-react-relay-duct-tape/src/index.ts":"3","/mnt/vss/_work/1/s/packages/apollo-react-relay-duct-tape/src/types.ts":"4"},{"size":10125,"mtime":1663343371118,"results":"5","hashOfConfig":"6"},{"size":10118,"mtime":1663343371118,"results":"7","hashOfConfig":"6"},{"size":50,"mtime":1663343371118,"results":"8","hashOfConfig":"6"},{"size":1353,"mtime":1663343371118,"results":"9","hashOfConfig":"6"},{"filePath":"10","messages":"11","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1t43pda",{"filePath":"12","messages":"13","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"14","messages":"15","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"16","messages":"17","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/mnt/vss/_work/1/s/packages/apollo-react-relay-duct-tape/src/__tests__/hooks.test.tsx",[],"/mnt/vss/_work/1/s/packages/apollo-react-relay-duct-tape/src/hooks.ts",[],"/mnt/vss/_work/1/s/packages/apollo-react-relay-duct-tape/src/index.ts",[],"/mnt/vss/_work/1/s/packages/apollo-react-relay-duct-tape/src/types.ts",[]]
1
+ [{"/mnt/vss/_work/1/s/packages/apollo-react-relay-duct-tape/src/__tests__/hooks.test.tsx":"1","/mnt/vss/_work/1/s/packages/apollo-react-relay-duct-tape/src/hooks.ts":"2","/mnt/vss/_work/1/s/packages/apollo-react-relay-duct-tape/src/index.ts":"3","/mnt/vss/_work/1/s/packages/apollo-react-relay-duct-tape/src/types.ts":"4"},{"size":10125,"mtime":1669303091033,"results":"5","hashOfConfig":"6"},{"size":10318,"mtime":1669303091033,"results":"7","hashOfConfig":"6"},{"size":50,"mtime":1669303091033,"results":"8","hashOfConfig":"6"},{"size":1353,"mtime":1669303091033,"results":"9","hashOfConfig":"6"},{"filePath":"10","messages":"11","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1bun42e",{"filePath":"12","messages":"13","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"14","messages":"15","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"16","messages":"17","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/mnt/vss/_work/1/s/packages/apollo-react-relay-duct-tape/src/__tests__/hooks.test.tsx",[],"/mnt/vss/_work/1/s/packages/apollo-react-relay-duct-tape/src/hooks.ts",[],"/mnt/vss/_work/1/s/packages/apollo-react-relay-duct-tape/src/index.ts",[],"/mnt/vss/_work/1/s/packages/apollo-react-relay-duct-tape/src/types.ts",[]]
package/CHANGELOG.md CHANGED
@@ -1,12 +1,29 @@
1
1
  # Change Log - @graphitation/apollo-react-relay-duct-tape
2
2
 
3
- This log was last generated on Fri, 16 Sep 2022 15:55:14 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 24 Nov 2022 15:24:43 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.8.1
8
+
9
+ Thu, 24 Nov 2022 15:24:43 GMT
10
+
11
+ ### Patches
12
+
13
+ - Bump @graphitation/apollo-mock-client to v0.10.15
14
+ - Bump @graphitation/graphql-js-operation-payload-generator to v0.12.0
15
+
16
+ ## 0.8.0
17
+
18
+ Tue, 18 Oct 2022 12:19:27 GMT
19
+
20
+ ### Minor changes
21
+
22
+ - Add errorPolicy ignore to useSubscription (mnovikov@microsoft.com)
23
+
7
24
  ## 0.7.16
8
25
 
9
- Fri, 16 Sep 2022 15:55:14 GMT
26
+ Fri, 16 Sep 2022 15:55:23 GMT
10
27
 
11
28
  ### Patches
12
29
 
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../src/hooks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AASvC,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,aAAa,EAAa,MAAM,SAAS,CAAC;AAEzE,oBAAY,iBAAiB,GAAG,YAAY,CAAC;AAE7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,SAAS,aAAa,EAC3D,KAAK,EAAE,iBAAiB,EACxB,SAAS,EAAE,MAAM,CAAC,WAAW,CAAC,EAC9B,OAAO,CAAC,EAAE;IAAE,WAAW,EAAE,aAAa,CAAA;CAAE,GACvC;IAAE,KAAK,CAAC,EAAE,KAAK,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC,CAAA;CAAE,CAE9C;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,wBAAgB,WAAW,CAAC,IAAI,SAAS,OAAO,EAC9C,cAAc,EAAE,iBAAiB,EACjC,WAAW,EAAE,IAAI,GAChB,WAAW,CAAC,IAAI,CAAC,CAEnB;AAGD,UAAU,yBAAyB,CACjC,oBAAoB,SAAS,aAAa;IAE1C,YAAY,EAAE,iBAAiB,CAAC;IAChC,SAAS,EAAE,oBAAoB,CAAC,WAAW,CAAC,CAAC;IAC7C;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,oBAA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B,CAAC,UAAU,CAAC,CAAA;CAAE,CAAC,CAAC;AAExE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,wBAAgB,WAAW,CAAC,gBAAgB,SAAS,aAAa,EAChE,QAAQ,EAAE,iBAAiB,GAC1B,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,EAAE,OAAO,CAAC,CAuB/C"}
package/lib/hooks.js CHANGED
@@ -76,7 +76,8 @@ function useSubscription(config) {
76
76
  if (subscriptionData.data && config.onNext) {
77
77
  config.onNext(subscriptionData.data);
78
78
  }
79
- }
79
+ },
80
+ errorPolicy: "ignore"
80
81
  });
81
82
  if (error) {
82
83
  if (config.onError) {
package/lib/hooks.mjs CHANGED
@@ -56,7 +56,8 @@ function useSubscription(config) {
56
56
  if (subscriptionData.data && config.onNext) {
57
57
  config.onNext(subscriptionData.data);
58
58
  }
59
- }
59
+ },
60
+ errorPolicy: "ignore"
60
61
  });
61
62
  if (error) {
62
63
  if (config.onError) {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphitation/apollo-react-relay-duct-tape",
3
3
  "description": "A compatibility wrapper that provides the react-relay API on top of Apollo Client.",
4
4
  "license": "MIT",
5
- "version": "0.7.16",
5
+ "version": "0.8.1",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/microsoft/graphitation.git",
@@ -19,8 +19,8 @@
19
19
  },
20
20
  "devDependencies": {
21
21
  "@apollo/client": "^3.3.15",
22
- "@graphitation/apollo-mock-client": "^0.10.14",
23
- "@graphitation/graphql-js-operation-payload-generator": "^0.11.0",
22
+ "@graphitation/apollo-mock-client": "^0.10.15",
23
+ "@graphitation/graphql-js-operation-payload-generator": "^0.12.0",
24
24
  "@graphitation/graphql-js-tag": "^0.9.0",
25
25
  "@types/jest": "^26.0.22",
26
26
  "@types/react": "^17.0.3",