@swiftbrowser/native 0.23.0 → 0.25.0

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": "@swiftbrowser/native",
3
- "version": "0.23.0",
3
+ "version": "0.25.0",
4
4
  "type": "module",
5
5
  "description": "Run a @swiftbrowser/react app natively: the runtime a JavaScriptCore-hosted app needs (timers, console, fetch and the other web globals over the SwiftBrowser Native bridge), the `run` entry that renders into the native SwiftUI renderer, and the bundler that builds app.js for the Xcode target.",
6
6
  "repository": {
@@ -63,8 +63,8 @@
63
63
  },
64
64
  "dependencies": {
65
65
  "@babel/core": "^7.29.7",
66
- "@swiftbrowser/react": "0.23.0",
67
- "@swiftbrowser/web": "0.23.0",
66
+ "@swiftbrowser/react": "0.25.0",
67
+ "@swiftbrowser/web": "0.25.0",
68
68
  "esbuild": "^0.28.2",
69
69
  "react-refresh": "^0.17.0"
70
70
  },
@@ -709,6 +709,8 @@ public final class DSPMachine: @unchecked Sendable {
709
709
  guard renamedMask[r] == 0, k % 2 == 0 || parameterMask[r] != 0 else { return false }
710
710
  }
711
711
  let start = index * DSPProgram.routesMax
712
+ // The same list again: nothing to make again.
713
+ if routeCounts[index] == list.count && (0..<list.count).allSatisfy({ routeRegisters[start + $0] == Int(list.pointer[$0]) * width }) { return true }
712
714
  for k in 0..<list.count {
713
715
  let r = Int(list.pointer[k])
714
716
  routeRegisters[start + k] = r * width
@@ -1393,6 +1395,8 @@ public final class DSPMachine: @unchecked Sendable {
1393
1395
  resetLane(l)
1394
1396
  }
1395
1397
  resetMaster()
1398
+ // Nothing sounds: what is set before the next block jumps there, with no glide (a preset loaded as data).
1399
+ snapped = true
1396
1400
  default:
1397
1401
  break
1398
1402
  }