Socket
Socket
Sign inDemoInstall

@bandwidth/numbers

Package Overview
Dependencies
4
Maintainers
8
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.9.2 to 1.10.0

2

lib/application.js

@@ -103,3 +103,3 @@ var Client = require("./client");

}
this.client.makeRequest("get", this.client.concatAccountPath(APPLICATION_PATH) + "/" + this.applicationId + "/associatedsippeers", function(err,res){
this.client.makeRequest("get", this.client.concatAccountPath(APPLICATION_PATH) + "/" + this.applicationId + "/associatedsippeers", query, function(err,res){
if(err){

@@ -106,0 +106,0 @@ return callback(err);

@@ -149,3 +149,3 @@ var Client = require("./client");

}
this.client.makeRequest("get", this.client.concatAccountPath(SITE_PATH) + "/" + this.id + "/inserviceNumbers", function(err,res){
this.client.makeRequest("get", this.client.concatAccountPath(SITE_PATH) + "/" + this.id + "/inserviceNumbers", query, function(err,res){
if(err){

@@ -177,3 +177,3 @@ return callback(err);

}
this.client.makeRequest("get", this.client.concatAccountPath(SITE_PATH) + "/" + this.id + "/portins", function(err,res){
this.client.makeRequest("get", this.client.concatAccountPath(SITE_PATH) + "/" + this.id + "/portins", query, function(err,res){
if(err){

@@ -192,3 +192,3 @@ return callback(err);

}
this.client.makeRequest("get", this.client.concatAccountPath(SITE_PATH) + "/" + this.id + "/totaltns", function(err,res){
this.client.makeRequest("get", this.client.concatAccountPath(SITE_PATH) + "/" + this.id + "/totaltns", query, function(err,res){
if(err){

@@ -195,0 +195,0 @@ return callback(err);

{
"name": "@bandwidth/numbers",
"version": "1.9.2",
"version": "1.10.0",
"description": "NodeJs Client library for Bandwidth Numbers API",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -261,7 +261,7 @@ var lib = require("../");

it("should get a list of inservice numbers", function(done){
helper.nock().get("/accounts/FakeAccountId/sites/1/inserviceNumbers").reply(200, helper.xml.inServiceNumbers, {"Content-Type": "application/xml"});
helper.nock().get("/accounts/FakeAccountId/sites/1/inserviceNumbers?page=1&size=100").reply(200, helper.xml.inServiceNumbers, {"Content-Type": "application/xml"});
var site = new Site();
site.id = "1";
site.client = helper.createClient();
site.getInserviceNumbers({}, function(err,res){
site.getInserviceNumbers({page: 1, size: 100}, function(err,res){
if(err){

@@ -268,0 +268,0 @@ return done(err);

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc