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

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":1666095200617,"results":"5","hashOfConfig":"6"},{"size":10318,"mtime":1666095200617,"results":"7","hashOfConfig":"6"},{"size":50,"mtime":1666095200617,"results":"8","hashOfConfig":"6"},{"size":1353,"mtime":1666095200617,"results":"9","hashOfConfig":"6"},{"filePath":"10","messages":"11","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"lgx1zb",{"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,20 @@
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 Tue, 18 Oct 2022 12:19:21 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.8.0
8
+
9
+ Tue, 18 Oct 2022 12:19:21 GMT
10
+
11
+ ### Minor changes
12
+
13
+ - Add errorPolicy ignore to useSubscription (mnovikov@microsoft.com)
14
+
7
15
  ## 0.7.16
8
16
 
9
- Fri, 16 Sep 2022 15:55:14 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AChE,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.0",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/microsoft/graphitation.git",