relay-runtime 0.0.0-main-91c22be6 → 0.0.0-main-9d1fe445

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/experimental.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Relay v0.0.0-main-91c22be6
2
+ * Relay v0.0.0-main-9d1fe445
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-91c22be6
2
+ * Relay v0.0.0-main-9d1fe445
3
3
  *
4
4
  * Copyright (c) Meta Platforms, Inc. and affiliates.
5
5
  *
@@ -819,9 +819,9 @@ var RelayReader = /*#__PURE__*/function () {
819
819
  return linkedArray;
820
820
  };
821
821
  _proto._readModuleImport = function _readModuleImport(moduleImport, record, data) {
822
- var _moduleImport$compone;
822
+ var _RelayModernRecord$ge;
823
823
  var componentKey = getModuleComponentKey(moduleImport.documentName);
824
- var component = (_moduleImport$compone = moduleImport.componentModuleProvider) !== null && _moduleImport$compone !== void 0 ? _moduleImport$compone : RelayModernRecord.getValue(record, componentKey);
824
+ var component = (_RelayModernRecord$ge = RelayModernRecord.getValue(record, componentKey)) !== null && _RelayModernRecord$ge !== void 0 ? _RelayModernRecord$ge : moduleImport.componentModuleProvider;
825
825
  if (component == null) {
826
826
  if (component === undefined) {
827
827
  this._markDataAsMissing('<module-import>');
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "relay-runtime",
3
3
  "description": "A core runtime for building GraphQL-driven applications.",
4
- "version": "0.0.0-main-91c22be6",
4
+ "version": "0.0.0-main-9d1fe445",
5
5
  "keywords": [
6
6
  "graphql",
7
7
  "relay"
@@ -1370,8 +1370,8 @@ class RelayReader {
1370
1370
  const componentKey = getModuleComponentKey(moduleImport.documentName);
1371
1371
  // componentModuleProvider is used by Client 3D for read time resolvers.
1372
1372
  const component =
1373
- moduleImport.componentModuleProvider ??
1374
- RelayModernRecord.getValue(record, componentKey);
1373
+ RelayModernRecord.getValue(record, componentKey) ??
1374
+ moduleImport.componentModuleProvider;
1375
1375
  if (component == null) {
1376
1376
  if (component === undefined) {
1377
1377
  this._markDataAsMissing('<module-import>');