consistency fixes

This commit is contained in:
Daniel Gradman-Svendsen 2025-11-17 14:42:57 +01:00
parent a8b9330e06
commit a7542f9272
3 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
<script type="text/javascript"> <script type="text/javascript">
RED.nodes.registerType('number-recipient', { RED.nodes.registerType('numberRecipient', {
category: 'config', category: 'config',
defaults: { defaults: {
name: {value: ""}, name: {value: ""},
@ -11,7 +11,7 @@
}); });
</script> </script>
<script type="text/html" data-template-name="number-recipient"> <script type="text/html" data-template-name="numberRecipient">
<div class="form-row"> <div class="form-row">
<label for="node-config-input-name"><i class="fa fa-tag"></i> Name</label> <label for="node-config-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-config-input-name" placeholder="Name"> <input type="text" id="node-config-input-name" placeholder="Name">
@ -25,7 +25,7 @@
</div> </div>
</script> </script>
<script type="text/html" data-help-name="number-recipient"> <script type="text/html" data-help-name="numberRecipient">
<p>Configuration node for a WhatsApp chat recipient.</p> <p>Configuration node for a WhatsApp chat recipient.</p>
<h3>Details</h3> <h3>Details</h3>
<p>This configuration node stores a phone number that can be reused across multiple chat output nodes.</p> <p>This configuration node stores a phone number that can be reused across multiple chat output nodes.</p>

View File

@ -4,5 +4,5 @@ module.exports = function(RED) {
this.number = n.number; this.number = n.number;
this.name = n.name; this.name = n.name;
} }
RED.nodes.registerType("number-recipient", NumberRecipientNode); RED.nodes.registerType("numberRecipient", NumberRecipientNode);
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "node-red-contrib-whatsapp-link", "name": "node-red-contrib-whatsapp-link",
"version": "1.0.41-local.2", "version": "1.0.41",
"description": "Node to send and receive whatsapp messages in groups and chats. | No third party APIs", "description": "Node to send and receive whatsapp messages in groups and chats. | No third party APIs",
"repository": { "repository": {
"type": "git", "type": "git",
@ -27,8 +27,8 @@
"whatsapp group-out": "group-out.js", "whatsapp group-out": "group-out.js",
"whatsapp reply": "whatsappReply.js", "whatsapp reply": "whatsappReply.js",
"whatsapp Link": "whatsappLink.js", "whatsapp Link": "whatsappLink.js",
"number-recipient": "numberRecipient.js", "whatsapp numberRecipient": "numberRecipient.js",
"group-recipient": "groupRecipient.js" "whatsapp groupRecipient": "groupRecipient.js"
} }
}, },
"dependencies": { "dependencies": {