Compare commits
5 Commits
2c9dc7a3d2
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 6843316518 | |||
| b393e09274 | |||
| 84521c5130 | |||
| c1c16cdfe0 | |||
| 955e373261 |
12
.drone.yml
12
.drone.yml
@@ -7,3 +7,15 @@ steps:
|
||||
commands:
|
||||
- yarn install
|
||||
- yarn run build
|
||||
- name: publish
|
||||
image: plugins/npm
|
||||
settings:
|
||||
username:
|
||||
from_secret: NPM_USERNAME
|
||||
password:
|
||||
from_secret: NPM_PASSWORD
|
||||
email:
|
||||
from_secret: NPM_EMAIL
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"name": "node-red-contrib-teamspeak",
|
||||
"version": "1.0.0",
|
||||
"description": "Node RED teamspeak node",
|
||||
"main": "index.js",
|
||||
"version": "1.0.1",
|
||||
"description": "Node-RED teamspeak node",
|
||||
"main": "dist/nodes/TS3Config/TS3Config.js",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"build": "tsc --build && copyfiles -u 2 './src/nodes/**/*.{png,svg}' ./dist/nodes/ && node build/build.js"
|
||||
|
||||
@@ -32,7 +32,7 @@ const nodeInit: NodeInitializer = (RED): void => {
|
||||
if (typeof member === "function"){
|
||||
let args: any[] = []
|
||||
|
||||
if (msg.payload instanceof Array){
|
||||
if (Array.isArray(msg.payload)){
|
||||
args = msg.payload
|
||||
}else{
|
||||
args = [msg.payload]
|
||||
|
||||
@@ -157,6 +157,7 @@
|
||||
</select>
|
||||
<div class="form-row">
|
||||
You can find documentation for all functions
|
||||
<a target="_blank" href="https://multivit4min.github.io/TS3-NodeJS-Library/classes/teamspeak.teamspeak-2.html#on"> here</a>
|
||||
<a target="_blank"
|
||||
href="https://multivit4min.github.io/TS3-NodeJS-Library/classes/teamspeak.teamspeak-2.html#on"> here</a>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user