Socket
Socket
Sign inDemoInstall

@vonage/server-client

Package Overview
Dependencies
Maintainers
34
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vonage/server-client - npm Package Compare versions

Comparing version 0.4.1 to 0.5.0

2

dist/client.d.ts

@@ -12,2 +12,3 @@ import { AuthInterface } from '@vonage/auth';

responseType: string;
timeout: number;
};

@@ -19,2 +20,3 @@ constructor(credentials: AuthInterface, options?: {

responseType: ResponseTypes;
timeout: number;
});

@@ -21,0 +23,0 @@ /**

@@ -27,2 +27,3 @@ "use strict";

responseType: null,
timeout: null,
};

@@ -146,2 +147,3 @@ this.config.restHost = (options === null || options === void 0 ? void 0 : options.restHost) || 'https://rest.nexmo.com';

request = this.addAuthenticationToRequest(request);
request.timeout = this.config.timeout;
const result = yield (0, vetch_1.request)(request);

@@ -148,0 +150,0 @@ return result;

4

package.json
{
"name": "@vonage/server-client",
"version": "0.4.1",
"version": "0.5.0",
"description": "Core services related to talking to the Vonage APIs",

@@ -42,4 +42,4 @@ "author": "Chris Tankersley <chris@ctankersley.com>",

"@vonage/jwt": "^0.3.0",
"@vonage/vetch": "^0.2.0"
"@vonage/vetch": "^0.3.1"
}
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc