@teslemetry/node-red-contrib-teslemetry
Advanced tools
@@ -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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
7
-50%175495
-42.94%5
25%14
-12.5%5637
-47.34%