dop-wallet-v6 1.2.8 → 1.2.10

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.
@@ -47,7 +47,8 @@ exports.getSdk = exports.CommitmentsDocument = exports.DecryptsDocument = export
47
47
  const utils_1 = require("@graphql-mesh/utils");
48
48
  const utils_2 = require("@graphql-mesh/utils");
49
49
  const utils_3 = require("@graphql-mesh/utils");
50
- const cache_localforage_1 = __importDefault(require("@graphql-mesh/cache-localforage"));
50
+ // MODIFIED: Replaced cache-localforage with no cache for React Native compatibility
51
+ // import MeshCache from "@graphql-mesh/cache-localforage";
51
52
  const fetch_1 = require("@whatwg-node/fetch");
52
53
  const graphql_1 = __importDefault(require("@graphql-mesh/graphql"));
53
54
  const merger_stitching_1 = __importDefault(require("@graphql-mesh/merger-stitching"));
@@ -89,13 +90,8 @@ async function getMeshOptions() {
89
90
  const pubsub = new utils_2.PubSub();
90
91
  const sourcesStore = rootStore.child('sources');
91
92
  const logger = new utils_3.DefaultLogger("GraphClient");
92
- const cache = new cache_localforage_1.default({
93
- ...{},
94
- importFn,
95
- store: rootStore.child('cache'),
96
- pubsub,
97
- logger,
98
- });
93
+ // MODIFIED: Replaced MeshCache with undefined to disable caching for React Native compatibility
94
+ const cache = undefined;
99
95
  // # thegraph
100
96
  const sources = [];
101
97
  const transforms = [];