@irsdk-node/native 4.0.1 → 4.0.2
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/build/Debug/irsdk_node.node +0 -0
- package/build/Debug/irsdk_node.pdb +0 -0
- package/build/Debug/obj/irsdk_node/lib/irsdk_utils.obj +0 -0
- package/build/Debug/obj/irsdk_node/lib/yaml_parser.obj +0 -0
- package/build/Debug/obj/irsdk_node/src/irsdk_node.obj +0 -0
- package/build/Debug/obj/irsdk_node/win_delay_load_hook.obj +0 -0
- package/build/Release/irsdk_node.iobj +0 -0
- package/build/Release/irsdk_node.ipdb +0 -0
- package/build/Release/irsdk_node.node +0 -0
- package/build/Release/irsdk_node.pdb +0 -0
- package/build/Release/obj/irsdk_node/lib/irsdk_utils.obj +0 -0
- package/build/Release/obj/irsdk_node/lib/yaml_parser.obj +0 -0
- package/build/Release/obj/irsdk_node/src/irsdk_node.obj +0 -0
- package/build/Release/obj/irsdk_node/win_delay_load_hook.obj +0 -0
- package/build/binding.sln +3 -3
- package/build/config.gypi +11 -0
- package/lib/irsdk_utils.cpp +1 -1
- package/package.json +3 -3
- package/src/irsdk_node.h +6 -6
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/build/binding.sln
CHANGED
|
@@ -4,14 +4,14 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "irsdk_node", "irsdk_node.vc
|
|
|
4
4
|
EndProject
|
|
5
5
|
Global
|
|
6
6
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
7
|
-
Release|x64 = Release|x64
|
|
8
7
|
Debug|x64 = Debug|x64
|
|
8
|
+
Release|x64 = Release|x64
|
|
9
9
|
EndGlobalSection
|
|
10
10
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
11
|
-
{1B84CF73-BF95-FD32-1555-88D3CCBBB352}.Release|x64.ActiveCfg = Release|x64
|
|
12
|
-
{1B84CF73-BF95-FD32-1555-88D3CCBBB352}.Release|x64.Build.0 = Release|x64
|
|
13
11
|
{1B84CF73-BF95-FD32-1555-88D3CCBBB352}.Debug|x64.ActiveCfg = Debug|x64
|
|
14
12
|
{1B84CF73-BF95-FD32-1555-88D3CCBBB352}.Debug|x64.Build.0 = Debug|x64
|
|
13
|
+
{1B84CF73-BF95-FD32-1555-88D3CCBBB352}.Release|x64.ActiveCfg = Release|x64
|
|
14
|
+
{1B84CF73-BF95-FD32-1555-88D3CCBBB352}.Release|x64.Build.0 = Release|x64
|
|
15
15
|
EndGlobalSection
|
|
16
16
|
GlobalSection(SolutionProperties) = preSolution
|
|
17
17
|
HideSolutionNode = FALSE
|
package/build/config.gypi
CHANGED
|
@@ -410,6 +410,17 @@
|
|
|
410
410
|
"python": "C:\\Python39\\python.exe",
|
|
411
411
|
"standalone_static_library": 1,
|
|
412
412
|
"msbuild_path": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\MSBuild\\Current\\Bin\\MSBuild.exe",
|
|
413
|
+
"cache": "C:\\Users\\bengs\\AppData\\Local\\npm-cache",
|
|
414
|
+
"globalconfig": "C:\\Users\\bengs\\.nvm\\versions\\node\\v20.4.0\\bin\\etc\\npmrc",
|
|
415
|
+
"global_prefix": "C:\\Users\\bengs\\.nvm\\versions\\node\\v20.4.0\\bin",
|
|
416
|
+
"init_module": "C:\\Users\\bengs\\.npm-init.js",
|
|
417
|
+
"local_prefix": "D:\\Projects\\personal\\irsdk-node",
|
|
418
|
+
"metrics_registry": "https://registry.npmjs.org/",
|
|
419
|
+
"node_gyp": "C:\\Users\\bengs\\.nvm\\versions\\node\\v20.4.0\\bin\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js",
|
|
420
|
+
"npm_version": "9.7.2",
|
|
421
|
+
"prefix": "C:\\Users\\bengs\\.nvm\\versions\\node\\v20.4.0\\bin",
|
|
422
|
+
"tolerate_republish": "true",
|
|
423
|
+
"userconfig": "C:\\Users\\bengs\\.npmrc",
|
|
413
424
|
"user_agent": "yarn/4.5.1 npm/? node/v20.4.0 win32 x64"
|
|
414
425
|
}
|
|
415
426
|
}
|
package/lib/irsdk_utils.cpp
CHANGED
|
@@ -338,7 +338,7 @@ unsigned int irsdk_getBroadcastMsgID()
|
|
|
338
338
|
|
|
339
339
|
void irsdk_broadcastMsg(irsdk_BroadcastMsg msg, int var1, int var2, int var3)
|
|
340
340
|
{
|
|
341
|
-
irsdk_broadcastMsg(msg, var1, MAKELONG(var2, var3));
|
|
341
|
+
irsdk_broadcastMsg(msg, var1, static_cast<int>MAKELONG(var2, var3));
|
|
342
342
|
}
|
|
343
343
|
|
|
344
344
|
void irsdk_broadcastMsg(irsdk_BroadcastMsg msg, int var1, float var2)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@irsdk-node/native",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Matt Bengston",
|
|
6
6
|
"email": "bengsfort@gmail.com"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"win32"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@irsdk-node/types": "
|
|
45
|
+
"@irsdk-node/types": "workspace:^",
|
|
46
46
|
"bindings": "^1.5.0",
|
|
47
47
|
"node-addon-api": "^8.2.1",
|
|
48
48
|
"node-gyp": "^10.2.0"
|
|
@@ -59,4 +59,4 @@
|
|
|
59
59
|
"prettier": "^2.5.1",
|
|
60
60
|
"typescript": "^4.5.2"
|
|
61
61
|
}
|
|
62
|
-
}
|
|
62
|
+
}
|
package/src/irsdk_node.h
CHANGED
|
@@ -32,12 +32,12 @@ private:
|
|
|
32
32
|
Napi::Value __GetTelemetryTypes(const Napi::CallbackInfo &info);
|
|
33
33
|
Napi::Value GetTelemetryVar(const Napi::CallbackInfo &info);
|
|
34
34
|
|
|
35
|
-
bool
|
|
36
|
-
int
|
|
37
|
-
float
|
|
38
|
-
double
|
|
39
|
-
Napi::Object
|
|
40
|
-
Napi::Object
|
|
35
|
+
bool GetTelemetryBool(int entry, int index);
|
|
36
|
+
int GetTelemetryInt(int entry, int index);
|
|
37
|
+
float GetTelemetryFloat(int entry, int index);
|
|
38
|
+
double GetTelemetryDouble(int entry, int index);
|
|
39
|
+
Napi::Object GetTelemetryVarByIndex(const Napi::Env env, int index);
|
|
40
|
+
Napi::Object GetTelemetryVar(const Napi::Env env, const char *varName);
|
|
41
41
|
|
|
42
42
|
bool _loggingEnabled;
|
|
43
43
|
char* _data;
|