noobs 0.0.32 → 0.0.33

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/dist/noobs.node CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "noobs",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "description": "A native Node.js addon with libobs bindings for Warcraft Recorder.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
package/src/main.cpp CHANGED
@@ -191,7 +191,7 @@ Napi::Value ObsSetSourcePos(const Napi::CallbackInfo& info) {
191
191
  throw std::runtime_error("Obs not initialized");
192
192
  }
193
193
 
194
- bool valid = info.Length() == 6 &&
194
+ bool valid = info.Length() == 5 &&
195
195
  info[0].IsString() && // Source name
196
196
  info[1].IsNumber() && // X position (px)
197
197
  info[2].IsNumber() && // Y position (px)