Skip to content

Commit f5c1cc7

Browse files
committed
Rename targetId -> targetID
1 parent 9799d31 commit f5c1cc7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Sources/ApertureNode/ApertureNode.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ extension NodeObject {
238238

239239
return Aperture.RecordingOptions(
240240
destination: destination,
241-
targetID: try getAs("targetId", type: String.self),
241+
targetID: try getAs("targetID", type: String.self),
242242
framesPerSecond: try getAs("framesPerSecond", type: Int.self) ?? 60,
243243
cropRect: try getAs("cropRect", type: NodeObject.self)?.asCGRect(),
244244
showCursor: try getAs("showCursor", type: Bool.self) ?? true,

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export class Recorder {
8888
}
8989

9090
if (recorderOptions.targetId) {
91-
finalOptions.targetId = recorderOptions.targetId;
91+
finalOptions.targetID = recorderOptions.targetId;
9292
}
9393

9494
if (recorderOptions.audioDeviceId) {

0 commit comments

Comments
 (0)