@sgedda/mockifyer-fetch 1.8.96 → 1.8.97

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 CHANGED
@@ -631,10 +631,7 @@ class MockifyerClass {
631
631
  config.__mockifyer_bypass = true;
632
632
  return config;
633
633
  }
634
- if (!(0, mockifyer_core_1.shouldApplyMockifyer)(this.activationMode, config.headers, {
635
- useProxyLane: { proxyBaseUrl: this.config.proxy?.baseUrl, resolvedClientId: this.config.clientId },
636
- })) {
637
- await this.applyOutboundCorrelation(config);
634
+ if (!(0, mockifyer_core_1.shouldApplyMockifyer)(this.activationMode, config.headers)) {
638
635
  config.__mockifyer_bypass = true;
639
636
  return config;
640
637
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sgedda/mockifyer-fetch",
3
- "version": "1.8.96",
3
+ "version": "1.8.97",
4
4
  "description": "Mockifyer for Fetch - API mocking and logging utility for storing and replaying API responses",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -49,7 +49,7 @@
49
49
  },
50
50
  "license": "MIT",
51
51
  "dependencies": {
52
- "@sgedda/mockifyer-core": "^1.10.176"
52
+ "@sgedda/mockifyer-core": "^1.10.177"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^20.11.24",
package/src/index.ts CHANGED
@@ -859,12 +859,7 @@ class MockifyerClass {
859
859
  return config;
860
860
  }
861
861
 
862
- if (
863
- !shouldApplyMockifyer(this.activationMode, config.headers, {
864
- useProxyLane: { proxyBaseUrl: this.config.proxy?.baseUrl, resolvedClientId: this.config.clientId },
865
- })
866
- ) {
867
- await this.applyOutboundCorrelation(config);
862
+ if (!shouldApplyMockifyer(this.activationMode, config.headers)) {
868
863
  (config as any).__mockifyer_bypass = true;
869
864
  return config;
870
865
  }