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">
RED.nodes.registerType('number-recipient', {
RED.nodes.registerType('numberRecipient', {
category: 'config',
defaults: {
name: {value: ""},
@ -11,7 +11,7 @@
});
</script>
<script type="text/html" data-template-name="number-recipient">
<script type="text/html" data-template-name="numberRecipient">
<div class="form-row">
<label for="node-config-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-config-input-name" placeholder="Name">
@ -25,7 +25,7 @@
</div>
</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>
<h3>Details</h3>
<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.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",
"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",
"repository": {
"type": "git",
@ -27,8 +27,8 @@
"whatsapp group-out": "group-out.js",
"whatsapp reply": "whatsappReply.js",
"whatsapp Link": "whatsappLink.js",
"number-recipient": "numberRecipient.js",
"group-recipient": "groupRecipient.js"
"whatsapp numberRecipient": "numberRecipient.js",
"whatsapp groupRecipient": "groupRecipient.js"
}
},
"dependencies": {