diff --git a/example/color_pulse/app.js b/example/color_pulse/app.js index 219999c..2dcccfc 100644 --- a/example/color_pulse/app.js +++ b/example/color_pulse/app.js @@ -48,7 +48,7 @@ function main() { const details = sdk.CorsairPerformProtocolHandshake() const errCode = sdk.CorsairGetLastError() if (errCode !== 0) { - console.error(`Handshake failed: ${sdk.CorsairErrorString[errCode]}`) + console.error(`Handshake failed: ${sdk.CorsairErrorToString(errCode)}`) exit(1) } diff --git a/example/color_pulse/package.json b/example/color_pulse/package.json index 099ec71..4048a47 100644 --- a/example/color_pulse/package.json +++ b/example/color_pulse/package.json @@ -1,6 +1,6 @@ { "name": "color_pulse", - "version": "1.0.1", + "version": "1.0.2", "description": "", "scripts": { "start": "node app.js", @@ -9,6 +9,6 @@ "author": "Corsair Memory, Inc.", "license": "MIT", "dependencies": { - "cue-sdk": "^1.6.0" + "cue-sdk": "^2.0.0" } }