react-relay 0.0.0-main-5465a0b2 → 0.0.0-main-ff3e51e6

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Relay v0.0.0-main-5465a0b2
2
+ * Relay v0.0.0-main-ff3e51e6
3
3
  *
4
4
  * Copyright (c) Meta Platforms, Inc. and affiliates.
5
5
  *
package/hooks.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Relay v0.0.0-main-5465a0b2
2
+ * Relay v0.0.0-main-ff3e51e6
3
3
  *
4
4
  * Copyright (c) Meta Platforms, Inc. and affiliates.
5
5
  *
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Relay v0.0.0-main-5465a0b2
2
+ * Relay v0.0.0-main-ff3e51e6
3
3
  *
4
4
  * Copyright (c) Meta Platforms, Inc. and affiliates.
5
5
  *
package/legacy.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Relay v0.0.0-main-5465a0b2
2
+ * Relay v0.0.0-main-ff3e51e6
3
3
  *
4
4
  * Copyright (c) Meta Platforms, Inc. and affiliates.
5
5
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-relay",
3
3
  "description": "A framework for building GraphQL-driven React applications.",
4
- "version": "0.0.0-main-5465a0b2",
4
+ "version": "0.0.0-main-ff3e51e6",
5
5
  "keywords": [
6
6
  "graphql",
7
7
  "relay",
@@ -20,7 +20,7 @@
20
20
  "fbjs": "^3.0.2",
21
21
  "invariant": "^2.2.4",
22
22
  "nullthrows": "^1.1.1",
23
- "relay-runtime": "0.0.0-main-5465a0b2"
23
+ "relay-runtime": "0.0.0-main-ff3e51e6"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "react": "^16.9.0 || ^17 || ^18 || ^19"
@@ -39,14 +39,14 @@ hook useLazyLoadQueryNode<TQuery: OperationType>({
39
39
  fetchPolicy,
40
40
  fetchKey,
41
41
  renderPolicy,
42
- }: {
42
+ }: $ReadOnly<{
43
43
  query: OperationDescriptor,
44
44
  componentDisplayName: string,
45
45
  fetchObservable: Observable<GraphQLResponse>,
46
46
  fetchPolicy?: ?FetchPolicy,
47
47
  fetchKey?: ?string | ?number,
48
48
  renderPolicy?: ?RenderPolicy,
49
- }): TQuery['response'] {
49
+ }>): TQuery['response'] {
50
50
  const environment = useRelayEnvironment();
51
51
  const profilerContext = useContext(ProfilerContext);
52
52
  const QueryResource = getQueryResourceForEnvironment(environment);
@@ -157,8 +157,6 @@ hook usePreloadedQuery<
157
157
  variables: TVariables,
158
158
  response: TData,
159
159
  rawResponse?: $NonMaybeType<TRawResponse>,
160
- /* $FlowFixMe[incompatible-type] Natural Inference rollout. See
161
- * https://fburl.com/gdoc/y8dn025u */
162
160
  }>(useLazyLoadQueryNodeParams);
163
161
 
164
162
  if (__DEV__) {