neoagent 2.1.18-beta.82 → 2.1.18-beta.83

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.1.18-beta.82",
3
+ "version": "2.1.18-beta.83",
4
4
  "description": "Proactive personal AI agent with no limits",
5
5
  "license": "MIT",
6
6
  "main": "server/index.js",
@@ -173,10 +173,13 @@ function applyHttpMiddleware(app, { secureCookies, trustProxy, sessionMiddleware
173
173
  origin(origin, originCallback) {
174
174
  const allowBrowserExtensionOrigin = isBrowserExtensionCorsPath(requestPath);
175
175
  const allowSocketIoMissingOrigin = isSocketIoCorsPath(requestPath);
176
- return validateOrigin(origin, originCallback, {
176
+ const originOptions = {
177
177
  allowChromeExtension: allowBrowserExtensionOrigin,
178
- allowMissingOrigin: allowBrowserExtensionOrigin || allowSocketIoMissingOrigin,
179
- });
178
+ };
179
+ if (allowBrowserExtensionOrigin || allowSocketIoMissingOrigin) {
180
+ originOptions.allowMissingOrigin = true;
181
+ }
182
+ return validateOrigin(origin, originCallback, originOptions);
180
183
  },
181
184
  credentials: true,
182
185
  });
@@ -37,6 +37,6 @@ _flutter.buildConfig = {"engineRevision":"59aa584fdf100e6c78c785d8a5b565d1de4b48
37
37
 
38
38
  _flutter.loader.load({
39
39
  serviceWorkerSettings: {
40
- serviceWorkerVersion: "2313546935" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
40
+ serviceWorkerVersion: "158655135" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
41
41
  }
42
42
  });