Note. This list might not include all changes.

remoterequests.ts:
    Removed cache settings to avoid errors
lines 1-3
    SSE replaced with EventSource from react-native-sse
    react-toastify replaced with /platform/util/toast
    Buffer removed from imports, as it is declared globally
line 471
    Casting LogProbs to avoid a TypeScript error
line 483 -> 483-487
    SSE replaced with EventSource
line 570-579
    replaced err.detail.type to err.type
    replaced err.detail with err.message
    replaced source.stream() with source.open()

globals.ts
    heavily modified, likely kept here because it's a pile of exports

theme.ts
    uses isSystemDarkMode to choose which default theme is exported

document.ts, history.ts, section.ts, storycontainer.ts
    msgpackr import changed slightly to access browser version

story.ts, defaultinputmodes.ts
    removed "/three" from the import of nlp from compromise
    this should have little effect, as nlp only exists on compromise/three anyway

storage.tsx
    LocalStorage replaced with IndexedDBStorage
    react-toastify replaced with /platform/util/toast

Files moved to platform
    Tokenizer files (different interface)
    sodium.ts, switch to pako and possibly other changes
