react-relay 0.0.0-main-ff27db49 → 0.0.0-main-40e7b465

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-ff27db49
2
+ * Relay v0.0.0-main-40e7b465
3
3
  *
4
4
  * Copyright (c) Meta Platforms, Inc. and affiliates.
5
5
  *
@@ -805,7 +805,7 @@ function createContainerWithFragments<
805
805
  ...fragmentVariables,
806
806
  }: Variables);
807
807
 
808
- const cacheConfig: ?CacheConfig = options
808
+ const cacheConfig: ?{...CacheConfig} = options
809
809
  ? {force: !!options.force}
810
810
  : undefined;
811
811
  if (cacheConfig != null && options?.metadata != null) {
@@ -339,7 +339,7 @@ function createContainerWithFragments<
339
339
  ? {...fetchVariables, ...renderVariables}
340
340
  : fetchVariables;
341
341
 
342
- const cacheConfig: ?CacheConfig = options
342
+ const cacheConfig: ?{...CacheConfig} = options
343
343
  ? {force: !!options.force}
344
344
  : undefined;
345
345
  if (cacheConfig != null && options?.metadata != null) {
package/hooks.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Relay v0.0.0-main-ff27db49
2
+ * Relay v0.0.0-main-40e7b465
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-ff27db49
2
+ * Relay v0.0.0-main-40e7b465
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-ff27db49
2
+ * Relay v0.0.0-main-40e7b465
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-ff27db49",
4
+ "version": "0.0.0-main-40e7b465",
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-ff27db49"
23
+ "relay-runtime": "0.0.0-main-40e7b465"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "react": "^16.9.0 || ^17 || ^18 || ^19"