@irsdk-node/native 3.0.0 → 3.3.0

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/dist/index.js CHANGED
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DebugSDK = exports.NativeSDK = void 0;
3
+ exports.NativeSDK = void 0;
4
4
  // Import from JS so that we can type the API in a nicer way (without aliases)
5
5
  // The alternative would be to somehow get types generated, or use aliases to
6
6
  // fake a module and then define that module... but those are gross, so no thanks
7
7
  exports.NativeSDK = require("../build/Release/irsdk_node.node").iRacingSdkNode;
8
- exports.DebugSDK = require("../build/Debug/irsdk_node.node").iRacingSdkNode;
8
+ // @todo For some reason this is not being built when being downloaded. It runs via prepack, but not in the built version.
9
+ // export const DebugSDK = require("../build/Debug/irsdk_node.node").iRacingSdkNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@irsdk-node/native",
3
- "version": "3.0.0",
3
+ "version": "3.3.0",
4
4
  "author": {
5
5
  "name": "Matt Bengston",
6
6
  "email": "bengsfort@gmail.com"
@@ -25,9 +25,9 @@
25
25
  "build": "yarn run pre-build && concurrently \"yarn:build-ts\" \"yarn:build-cpp\"",
26
26
  "pre-build": "node-gyp clean && node-gyp configure",
27
27
  "build-ts": "tsc --build --force",
28
- "build-cpp": "concurrently \"yarn:build-cpp-release\" \"yarn:build-cpp-debug\"",
28
+ "build-cpp": "yarn build-cpp-release && yarn build-cpp-debug",
29
29
  "build-cpp-release": "node-gyp build",
30
- "build-cpp-debug": "node-gyp configure && node-gyp build --debug",
30
+ "build-cpp-debug": "node-gyp build --debug",
31
31
  "watch": "tsc --watch",
32
32
  "lint": "eslint ./src --ext .ts",
33
33
  "prepack": "yarn build",
package/src/index.d.ts CHANGED
@@ -114,4 +114,4 @@ export class NativeSDK implements INativeSDK {
114
114
  public broadcast(message: BroadcastMessages.VideoCapture, command: VideoCaptureCommand): void;
115
115
  }
116
116
 
117
- export const DebugSDK: typeof NativeSDK;
117
+ // export const DebugSDK: typeof NativeSDK;
package/src/index.js CHANGED
@@ -2,4 +2,5 @@
2
2
  // The alternative would be to somehow get types generated, or use aliases to
3
3
  // fake a module and then define that module... but those are gross, so no thanks
4
4
  export const NativeSDK = require("../build/Release/irsdk_node.node").iRacingSdkNode;
5
- export const DebugSDK = require("../build/Debug/irsdk_node.node").iRacingSdkNode;
5
+ // @todo For some reason this is not being built when being downloaded. It runs via prepack, but not in the built version.
6
+ // export const DebugSDK = require("../build/Debug/irsdk_node.node").iRacingSdkNode;