relay-runtime 13.0.0-rc.2 → 13.0.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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) Facebook, Inc. and its affiliates.
3
+ Copyright (c) Meta Platforms, Inc. and affiliates.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
- * Relay v13.0.0-rc.2
2
+ * Relay v13.0.0
3
3
  *
4
- * Copyright (c) Facebook, Inc. and its affiliates.
4
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
5
5
  *
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
package/index.js.flow CHANGED
@@ -46,6 +46,7 @@ const RelayModernStore = require('./store/RelayModernStore');
46
46
  const RelayOperationTracker = require('./store/RelayOperationTracker');
47
47
  const RelayRecordSource = require('./store/RelayRecordSource');
48
48
  const RelayStoreUtils = require('./store/RelayStoreUtils');
49
+ const ResolverFragments = require('./store/ResolverFragments');
49
50
  const ViewerPattern = require('./store/ViewerPattern');
50
51
  const requestSubscription = require('./subscription/requestSubscription');
51
52
  const createPayloadFor3DField = require('./util/createPayloadFor3DField');
@@ -352,6 +353,7 @@ module.exports = {
352
353
  getPendingOperationsForFragment: getPendingOperationsForFragment,
353
354
  getValueAtPath: getValueAtPath,
354
355
  __internal: {
356
+ ResolverFragments,
355
357
  OperationTracker: RelayOperationTracker,
356
358
  createRelayContext: createRelayContext,
357
359
  getOperationVariables: RelayConcreteVariables.getOperationVariables,
package/lib/index.js CHANGED
@@ -73,6 +73,8 @@ var RelayRecordSource = require('./store/RelayRecordSource');
73
73
 
74
74
  var RelayStoreUtils = require('./store/RelayStoreUtils');
75
75
 
76
+ var ResolverFragments = require('./store/ResolverFragments');
77
+
76
78
  var ViewerPattern = require('./store/ViewerPattern');
77
79
 
78
80
  var requestSubscription = require('./subscription/requestSubscription');
@@ -230,6 +232,7 @@ module.exports = {
230
232
  getPendingOperationsForFragment: getPendingOperationsForFragment,
231
233
  getValueAtPath: getValueAtPath,
232
234
  __internal: {
235
+ ResolverFragments: ResolverFragments,
233
236
  OperationTracker: RelayOperationTracker,
234
237
  createRelayContext: createRelayContext,
235
238
  getOperationVariables: RelayConcreteVariables.getOperationVariables,
@@ -37,9 +37,9 @@ function withResolverContext(context, cb) {
37
37
  // The declarations ensure that the type of the returned data is:
38
38
  // - non-nullable if the provided ref type is non-nullable
39
39
  // - nullable if the provided ref type is nullable
40
- // - array of non-nullable if the privoided ref type is an array of
40
+ // - array of non-nullable if the provided ref type is an array of
41
41
  // non-nullable refs
42
- // - array of nullable if the privoided ref type is an array of nullable refs
42
+ // - array of nullable if the provided ref type is an array of nullable refs
43
43
 
44
44
 
45
45
  function readFragment(fragmentInput, fragmentKey) {
@@ -21,8 +21,6 @@ var _require2 = require('../store/RelayModernOperationDescriptor'),
21
21
  var _require3 = require('../store/RelayModernSelector'),
22
22
  createReaderSelector = _require3.createReaderSelector;
23
23
 
24
- var RelayFeatureFlags = require('../util/RelayFeatureFlags');
25
-
26
24
  var warning = require("fbjs/lib/warning");
27
25
 
28
26
  function requestSubscription(environment, config) {
@@ -15,7 +15,6 @@
15
15
  import type {
16
16
  MutationParameters,
17
17
  RecordSourceSelectorProxy,
18
- SelectorData,
19
18
  SelectorStoreUpdater,
20
19
  } from '../store/RelayStoreTypes';
21
20
  import type {ConcreteRequest} from '../util/RelayConcreteNode';
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": "13.0.0-rc.2",
4
+ "version": "13.0.0",
5
5
  "keywords": [
6
6
  "graphql",
7
7
  "relay"