neoagent 2.3.1-beta.26 → 2.3.1-beta.27

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neoagent",
3
- "version": "2.3.1-beta.26",
3
+ "version": "2.3.1-beta.27",
4
4
  "description": "Proactive personal AI agent with no limits",
5
5
  "license": "MIT",
6
6
  "main": "server/index.js",
@@ -37,6 +37,6 @@ _flutter.buildConfig = {"engineRevision":"59aa584fdf100e6c78c785d8a5b565d1de4b48
37
37
 
38
38
  _flutter.loader.load({
39
39
  serviceWorkerSettings: {
40
- serviceWorkerVersion: "753731712" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
40
+ serviceWorkerVersion: "450979186" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
41
41
  }
42
42
  });
@@ -337,15 +337,15 @@ function createGithubProvider() {
337
337
  method: 'POST',
338
338
  headers: {
339
339
  'Accept': 'application/json',
340
- 'Content-Type': 'application/json',
340
+ 'Content-Type': 'application/x-www-form-urlencoded',
341
341
  },
342
- body: JSON.stringify({
342
+ body: new URLSearchParams({
343
343
  client_id: config.clientId,
344
344
  client_secret: config.clientSecret,
345
345
  code,
346
346
  code_verifier: codeVerifier,
347
347
  redirect_uri: config.redirectUri,
348
- }),
348
+ }).toString(),
349
349
  });
350
350
 
351
351
  const tokenBody = await tokenResponse.text();