node-mac-recorder 2.22.12 → 2.22.13

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": "node-mac-recorder",
3
- "version": "2.22.12",
3
+ "version": "2.22.13",
4
4
  "description": "Native macOS screen recording package for Node.js applications",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -2164,6 +2164,13 @@ void cursorTimerCallback() {
2164
2164
  cursorType = @"default";
2165
2165
  }
2166
2166
 
2167
+ // Timer-only mod: CGEventTap yokken kCGEventKeyDown gelmez; caret satırları hiç yazılmazdı.
2168
+ // I-beam görünürken AX ile periyodik textInput üret (emitTextInputEvent içinde throttle var).
2169
+ if ([cursorType isEqualToString:@"text"] ||
2170
+ [cursorType isEqualToString:@"vertical-text"]) {
2171
+ emitTextInputEvent(timestamp, unixTimeMs, location);
2172
+ }
2173
+
2167
2174
  // Mouse button state polling — event tap olmadığında click/drag tespiti
2168
2175
  bool currentLeftMouseDown = CGEventSourceButtonState(kCGEventSourceStateHIDSystemState, kCGMouseButtonLeft);
2169
2176
  bool currentRightMouseDown = CGEventSourceButtonState(kCGEventSourceStateHIDSystemState, kCGMouseButtonRight);