@platformatic/watt-extra 0.1.2 → 0.1.3

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.
Files changed (2) hide show
  1. package/lib/watt.js +3 -3
  2. package/package.json +1 -1
package/lib/watt.js CHANGED
@@ -258,7 +258,7 @@ class Watt {
258
258
  this.#instanceConfig.iccServices.trafficante.url
259
259
  )
260
260
  return {
261
- module: this.#require.resolve(
261
+ module: require.resolve(
262
262
  'undici-traffic-interceptor'
263
263
  ),
264
264
  options: {
@@ -340,7 +340,7 @@ class Watt {
340
340
  }
341
341
 
342
342
  return {
343
- module: this.#require.resolve('undici-slicer-interceptor'),
343
+ module: require.resolve('undici-slicer-interceptor'),
344
344
  options: cacheConfig,
345
345
  }
346
346
  }
@@ -406,7 +406,7 @@ class Watt {
406
406
  config.httpCache = {
407
407
  ...config.httpCache,
408
408
  cacheTagsHeader,
409
- store: this.#require.resolve('undici-cache-redis'),
409
+ store: require.resolve('undici-cache-redis'),
410
410
  clientOpts: httpCache,
411
411
  }
412
412
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/watt-extra",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "The Platformatic runtime manager",
5
5
  "type": "module",
6
6
  "scripts": {