@sgedda/mockifyer-fetch 1.8.38 → 1.8.39
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/index.js +1 -0
- package/package.json +1 -1
- package/src/index.ts +2 -0
package/dist/index.js
CHANGED
|
@@ -1342,6 +1342,7 @@ function setupMockifyer(config) {
|
|
|
1342
1342
|
throw error;
|
|
1343
1343
|
}
|
|
1344
1344
|
};
|
|
1345
|
+
mockifyer_core_2.logger.info('[Mockifyer] ✅ Patched global fetch (useGlobalFetch: true)');
|
|
1345
1346
|
}
|
|
1346
1347
|
const extendedClient = httpClient;
|
|
1347
1348
|
extendedClient.reloadMockData = async (syncFromProject) => await mockifyer.reloadMockData(syncFromProject);
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1661,6 +1661,8 @@ export function setupMockifyer(config: MockifyerConfig): MockifyerInstance {
|
|
|
1661
1661
|
throw error;
|
|
1662
1662
|
}
|
|
1663
1663
|
} as typeof fetch;
|
|
1664
|
+
|
|
1665
|
+
logger.info('[Mockifyer] ✅ Patched global fetch (useGlobalFetch: true)');
|
|
1664
1666
|
}
|
|
1665
1667
|
|
|
1666
1668
|
const extendedClient = httpClient as MockifyerInstance;
|