Skip to content

Conversation

@samholmes
Copy link
Contributor

@samholmes samholmes commented Jan 8, 2026

Pass appVersion, osType, and osVersion to EdgeContextOptions for use with the v2/coreRollup endpoint.

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Requirements

If you have made any visual changes to the GUI. Make sure you have:

  • Tested on iOS device
  • Tested on Android device
  • Tested on small-screen device (iPod Touch)
  • Tested on large-screen device (tablet)

Note

Adds app and OS version metadata to the core context and updates dependencies accordingly.

  • In EdgeCoreManager, pass appVersion, osType, and osVersion in EdgeContextOptions (adds Platform, getVersion, getOsVersion imports and minor type annotations)
  • Switch edge-core-js dependency to local path (../edge-core-js); refresh yarn.lock
  • Update CHANGELOG entry for the new metadata

Written by Cursor Bugbot for commit 5f08edc. This will update automatically on new commits. Configure here.


Pass appVersion, osType, and osVersion to EdgeContextOptions for
use with the v2/coreRollup endpoint.
"detect-bundler": "^1.1.0",
"disklet": "^0.5.2",
"edge-core-js": "^2.38.2",
"edge-core-js": "../edge-core-js",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Local path dependency accidentally committed to package.json

High Severity

The edge-core-js dependency was changed from the npm version "^2.38.2" to a local file path "../edge-core-js". This is development code that will break the build for any other developer or CI/CD system, as the local path won't exist on other machines. The yarn.lock also reflects this local dependency. This needs to be reverted to point to a published npm version (likely the new version with appVersion, osType, and osVersion support).

Fix in Cursor Fix in Web

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, please update & rebase before committing.

Copy link
Contributor

@swansontec swansontec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one common mistake - the React.FC thing.

* once the core context is ready.
*/
export function EdgeCoreManager(props: Props) {
export function EdgeCoreManager(props: Props): React.JSX.Element {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be export const EdgeCoreManager: React.FC<Props> = props =>

"detect-bundler": "^1.1.0",
"disklet": "^0.5.2",
"edge-core-js": "^2.38.2",
"edge-core-js": "../edge-core-js",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, please update & rebase before committing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants