@irsdk-node/native 4.0.0 → 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.
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
@@ -414,11 +414,12 @@
414
414
  "globalconfig": "C:\\Users\\bengs\\.nvm\\versions\\node\\v20.4.0\\bin\\etc\\npmrc",
415
415
  "global_prefix": "C:\\Users\\bengs\\.nvm\\versions\\node\\v20.4.0\\bin",
416
416
  "init_module": "C:\\Users\\bengs\\.npm-init.js",
417
- "local_prefix": "D:\\projects\\personal\\irsdk-node",
417
+ "local_prefix": "D:\\Projects\\personal\\irsdk-node",
418
418
  "metrics_registry": "https://registry.npmjs.org/",
419
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
420
  "npm_version": "9.7.2",
421
421
  "prefix": "C:\\Users\\bengs\\.nvm\\versions\\node\\v20.4.0\\bin",
422
+ "tolerate_republish": "true",
422
423
  "userconfig": "C:\\Users\\bengs\\.npmrc",
423
424
  "user_agent": "yarn/4.5.1 npm/? node/v20.4.0 win32 x64"
424
425
  }
@@ -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.0",
3
+ "version": "4.0.2",
4
4
  "author": {
5
5
  "name": "Matt Bengston",
6
6
  "email": "bengsfort@gmail.com"
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 iRacingSdkNode::GetTelemetryBool(int entry, int index);
36
- int iRacingSdkNode::GetTelemetryInt(int entry, int index);
37
- float iRacingSdkNode::GetTelemetryFloat(int entry, int index);
38
- double iRacingSdkNode::GetTelemetryDouble(int entry, int index);
39
- Napi::Object iRacingSdkNode::GetTelemetryVarByIndex(const Napi::Env env, int index);
40
- Napi::Object iRacingSdkNode::GetTelemetryVar(const Napi::Env env, const char *varName);
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;