🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@teslemetry/node-red-contrib-teslemetry

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@teslemetry/node-red-contrib-teslemetry - npm Package Compare versions

Comparing version
0.1.1
to
0.1.2
+4
-1
dist/nodes/teslemetry-vehicle-command.cjs

@@ -175,3 +175,6 @@ const require_shared = require('./shared-B49lMFmE.cjs');

} });
result = await vehicle.navigationRequest(msg);
result = await vehicle.navigationRequest({
locale: msg?.locale,
value: msg?.value
});
break;

@@ -178,0 +181,0 @@ default: throw new Error(`Unknown command: ${command}`);

+9
-9
{
"name": "@teslemetry/node-red-contrib-teslemetry",
"version": "0.1.1",
"version": "0.1.2",
"description": "Node-RED integration for Teslemetry",

@@ -21,11 +21,10 @@ "main": "dist/index.cjs",

"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"repository": {
"type": "git",
"url": "https://github.com/Teslemetry/node-red-contrib-teslemetry"
"url": "https://github.com/Teslemetry/typescript-teslemetry"
},
"bugs": {
"url": "https://github.com/Teslemetry/node-red-contrib-teslemetry/issues"
},
"bugs": "https://github.com/Teslemetry/typescript-teslemetry/issues/new?template=node_red_bug.yml",
"files": [

@@ -47,8 +46,9 @@ "dist"

"node-red": "^4.1.1",
"node-red-dev": "^0.1.6",
"tsdown": "^0.16.7",
"@teslemetry/api": "0.2.0"
"@teslemetry/api": "0.2.1"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsdown src/nodes/*.ts --out-dir dist/nodes --format cjs --clean --bundle && cp src/nodes/*.html dist/nodes/",
"validate": "node-red-dev validate",
"build": "tsdown && cp src/nodes/*.html dist/nodes/",
"dev": "pnpm build && mkdir -p .node-red-home && cd .node-red-home && pnpm install .. && cd .. && node-red -u .node-red-home -s dev-settings.js -p 1880",

@@ -55,0 +55,0 @@ "tsc": "tsc",

//#region src/nodes/teslemetry-config.ts
function teslemetry_config_default(RED) {
function TeslemetryConfigNode(config) {
RED.nodes.createNode(this, config);
this.token = config.token;
}
RED.nodes.registerType("teslemetry-config", TeslemetryConfigNode, { credentials: { token: { type: "password" } } });
}
//#endregion
module.exports = teslemetry_config_default;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display