@jitsi/robotjs 0.6.8 → 0.6.9
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
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/src/robotjs.cc
CHANGED
|
@@ -509,10 +509,9 @@ Napi::Value keyTapWrapper(const Napi::CallbackInfo& info)
|
|
|
509
509
|
|
|
510
510
|
MMKeyFlags flags = MOD_NONE;
|
|
511
511
|
MMKeyCode key;
|
|
512
|
-
const char *k;
|
|
513
512
|
|
|
514
|
-
|
|
515
|
-
k = kstr.
|
|
513
|
+
std::string kstr = info[0].As<Napi::String>();
|
|
514
|
+
const char *k = kstr.c_str();
|
|
516
515
|
|
|
517
516
|
switch (info.Length())
|
|
518
517
|
{
|