@trackunit/react-core-contexts 2.8.7 → 2.9.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/index.cjs.js CHANGED
@@ -402,6 +402,17 @@ const createApolloClient = ({ graphqlPublicUrl, graphqlInternalUrl, graphqlRepor
402
402
  // See more here: https://stackoverflow.com/questions/78189868/apollo-is-returning-data-wrong-but-is-correct-in-network-inspector
403
403
  cache: new client.InMemoryCache({
404
404
  typePolicies: {
405
+ IrisApp: {
406
+ keyFields: ["irisAppId"],
407
+ fields: {
408
+ // `IrisAppMarketplace` is embedded and non-normalized, so a narrow marketplace
409
+ // selection would otherwise replace the whole object and evict fields a wider
410
+ // query already cached.
411
+ marketplace: {
412
+ merge: true,
413
+ },
414
+ },
415
+ },
405
416
  LegacyServicePlan: {
406
417
  keyFields: false,
407
418
  },
package/index.esm.js CHANGED
@@ -400,6 +400,17 @@ const createApolloClient = ({ graphqlPublicUrl, graphqlInternalUrl, graphqlRepor
400
400
  // See more here: https://stackoverflow.com/questions/78189868/apollo-is-returning-data-wrong-but-is-correct-in-network-inspector
401
401
  cache: new InMemoryCache({
402
402
  typePolicies: {
403
+ IrisApp: {
404
+ keyFields: ["irisAppId"],
405
+ fields: {
406
+ // `IrisAppMarketplace` is embedded and non-normalized, so a narrow marketplace
407
+ // selection would otherwise replace the whole object and evict fields a wider
408
+ // query already cached.
409
+ marketplace: {
410
+ merge: true,
411
+ },
412
+ },
413
+ },
403
414
  LegacyServicePlan: {
404
415
  keyFields: false,
405
416
  },
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entry.js","sourceRoot":"","sources":["../../../../../libs/react/core-contexts/migrations/entry.ts"],"names":[],"mappings":"","sourcesContent":["export {};\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-core-contexts",
3
- "version": "2.8.7",
3
+ "version": "2.9.0",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {