@platformatic/watt-extra 1.2.1-alpha.1 → 1.2.1-alpha.2

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/lib/watt.js CHANGED
@@ -193,7 +193,7 @@ class Watt {
193
193
  }
194
194
 
195
195
  this.#configureUndici(config)
196
- config.managementApi = true
196
+ config.managementApi = false
197
197
  }
198
198
 
199
199
  #getUndiciConfig () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/watt-extra",
3
- "version": "1.2.1-alpha.1",
3
+ "version": "1.2.1-alpha.2",
4
4
  "description": "The Platformatic runtime manager",
5
5
  "type": "module",
6
6
  "scripts": {
package/plugins/auth.js CHANGED
@@ -74,11 +74,11 @@ async function authPlugin (app) {
74
74
 
75
75
  app.token = await loadToken()
76
76
 
77
- await setInterval(async () => {
78
- // Check if token is expired to propagate it to the runtime
79
- // via the shared context
80
- await getAuthorizationHeader()
81
- }, offset * 1000 / 2).unref()
77
+ // await setInterval(async () => {
78
+ // // Check if token is expired to propagate it to the runtime
79
+ // // via the shared context
80
+ // await getAuthorizationHeader()
81
+ // }, offset * 1000 / 2).unref()
82
82
 
83
83
  // We cannot change the global dispatcher because it's shared with the runtime main thread.
84
84
  const wattDispatcher = new Agent()