dop-wallet-v6 1.2.9 → 1.2.11
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/dist/services/dop/__tests__/integration.test.d.ts +1 -0
- package/dist/services/dop/__tests__/integration.test.js +378 -0
- package/dist/services/dop/__tests__/integration.test.js.map +1 -0
- package/dist/services/dop/core/index.d.ts +1 -0
- package/dist/services/dop/core/index.js +1 -0
- package/dist/services/dop/core/index.js.map +1 -1
- package/dist/services/dop/core/react-native-init.d.ts +15 -0
- package/dist/services/dop/core/react-native-init.js +158 -0
- package/dist/services/dop/core/react-native-init.js.map +1 -0
- package/dist/services/dop/dop-txids/graphql/index.js +4 -8
- package/dist/services/dop/dop-txids/graphql/index.js.map +1 -1
- package/dist/services/dop/quick-sync/V2/graphql/index.js +4 -8
- package/dist/services/dop/quick-sync/V2/graphql/index.js.map +1 -1
- package/dist/services/dop/quick-sync/V3/graphql/index.js +4 -8
- package/dist/services/dop/quick-sync/V3/graphql/index.js.map +1 -1
- package/dist/services/dop/wallets/wallets.d.ts +22 -1
- package/dist/services/dop/wallets/wallets.js +134 -1
- package/dist/services/dop/wallets/wallets.js.map +1 -1
- package/package.json +14 -4
- package/react-native-shims.js +45 -0
- package/fix-profile-lint.js +0 -0
- package/fix-storage-lint.js +0 -0
|
@@ -46,7 +46,8 @@ exports.getSdk = exports.DopTransactionsDocument = exports.CommitmentsDocument =
|
|
|
46
46
|
const utils_1 = require("@graphql-mesh/utils");
|
|
47
47
|
const utils_2 = require("@graphql-mesh/utils");
|
|
48
48
|
const utils_3 = require("@graphql-mesh/utils");
|
|
49
|
-
|
|
49
|
+
// MODIFIED: Replaced cache-localforage with no cache for React Native compatibility
|
|
50
|
+
// import MeshCache from '@graphql-mesh/cache-localforage';
|
|
50
51
|
const fetch_1 = require("@whatwg-node/fetch");
|
|
51
52
|
const graphql_1 = __importDefault(require("@graphql-mesh/graphql"));
|
|
52
53
|
const merger_bare_1 = __importDefault(require("@graphql-mesh/merger-bare"));
|
|
@@ -83,13 +84,8 @@ async function getMeshOptions() {
|
|
|
83
84
|
const pubsub = new utils_2.PubSub();
|
|
84
85
|
const sourcesStore = rootStore.child('sources');
|
|
85
86
|
const logger = new utils_3.DefaultLogger('GraphClient');
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
importFn,
|
|
89
|
-
store: rootStore.child('cache'),
|
|
90
|
-
pubsub,
|
|
91
|
-
logger,
|
|
92
|
-
});
|
|
87
|
+
// MODIFIED: Replaced MeshCache with undefined to disable caching for React Native compatibility
|
|
88
|
+
const cache = undefined;
|
|
93
89
|
// thegraph
|
|
94
90
|
const sources = [];
|
|
95
91
|
const transforms = [];
|