node-red-contrib-nexmo
Advanced tools
Comparing version 3.0.7 to 3.0.8
@@ -181,2 +181,3 @@ var mustache = require("mustache"); | ||
this.sipuri = mustache.render(config.sipuri, data); | ||
this.extension = mustache.render(config.extension, data); | ||
this.headers = mustache.render(config.headers, data); | ||
@@ -227,2 +228,7 @@ this.from = mustache.render(config.from, data); | ||
ncco.endpoint= [ep] | ||
}else if (this.endpoint == "vbc"){ | ||
var ep = {} | ||
ep.type = "vbc" | ||
ep.extension = this.extension | ||
ncco.endpoint= [ep] | ||
} | ||
@@ -229,0 +235,0 @@ clean(ncco); |
@@ -180,2 +180,3 @@ const Nexmo = require('nexmo'); | ||
this.sipuri = mustache.render(config.sipuri, data); | ||
this.extension = mustache.render(config.extension, data); | ||
this.headers = mustache.render(config.headers, data); | ||
@@ -212,2 +213,6 @@ this.from = mustache.render(config.from, data); | ||
ep.headers = JSON.parse(this.headers) | ||
} else if (this.endpoint == "vbc"){ | ||
var ep = {} | ||
ep.type = "vbc" | ||
ep.extension = this.extension | ||
} | ||
@@ -214,0 +219,0 @@ var request = { |
{ | ||
"name": "node-red-contrib-nexmo", | ||
"version": "3.0.7", | ||
"version": "3.0.8", | ||
"description": "Node Red module for an Nexmo API", | ||
@@ -5,0 +5,0 @@ "main": "ncco.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
116255
1157
0