Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

opentok

Package Overview
Dependencies
Maintainers
3
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opentok - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

2

lib/client.js

@@ -11,3 +11,3 @@ var util = require('util'),

endpoints: {
createSession: '/hl/session/create'
createSession: '/session/create'
}

@@ -14,0 +14,0 @@ };

{
"name": "opentok",
"description": "OpenTok server-side SDK",
"version": "2.2.1",
"version": "2.2.2",
"homepage": "http://opentok.github.io/opentok-node",

@@ -6,0 +6,0 @@ "repository": {

@@ -65,3 +65,3 @@ var expect = require('chai').expect,

.matchHeader('user-agent', new RegExp("OpenTok-Node-SDK\/"+package.version))
.post('/hl/session/create', "p2p.preference=disabled")
.post('/session/create', "p2p.preference=disabled")
.reply(200, "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><sessions><Session><session_id>SESSIONID</session_id><partner_id>123456</partner_id><create_dt>Wed Mar 19 23:35:24 PDT 2014</create_dt></Session></sessions>", { server: 'nginx',

@@ -90,3 +90,3 @@ date: 'Thu, 20 Mar 2014 06:35:24 GMT',

var scope = nock('https://api.opentok.com:443')
.post('/hl/session/create', "p2p.preference=disabled")
.post('/session/create', "p2p.preference=disabled")
.reply(403, "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><errorPayload><code>-1</code><message>Invalid partner credentials</message></errorPayload>", { server: 'nginx',

@@ -116,3 +116,3 @@ date: 'Fri, 30 May 2014 19:37:12 GMT',

.matchHeader('user-agent', new RegExp("OpenTok-Node-SDK\/"+package.version))
.post('/hl/session/create', "p2p.preference=disabled")
.post('/session/create', "p2p.preference=disabled")
.reply(200, "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><sessions><Session><session_id>SESSIONID</session_id><partner_id>123456</partner_id><create_dt>Wed Mar 19 23:35:24 PDT 2014</create_dt></Session></sessions>", { server: 'nginx',

@@ -139,3 +139,3 @@ date: 'Thu, 20 Mar 2014 06:35:24 GMT',

.matchHeader('user-agent', new RegExp("OpenTok-Node-SDK\/"+package.version))
.post('/hl/session/create', "p2p.preference=enabled")
.post('/session/create', "p2p.preference=enabled")
.reply(200, "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><sessions><Session><session_id>SESSIONID</session_id><partner_id>123456</partner_id><create_dt>Thu Mar 20 07:02:45 PDT 2014</create_dt></Session></sessions>", { server: 'nginx',

@@ -161,3 +161,3 @@ date: 'Thu, 20 Mar 2014 14:02:45 GMT',

.matchHeader('user-agent', new RegExp("OpenTok-Node-SDK\/"+package.version))
.post('/hl/session/create', "p2p.preference=disabled")
.post('/session/create', "p2p.preference=disabled")
.reply(200, "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><sessions><Session><session_id>SESSIONID</session_id><partner_id>123456</partner_id><create_dt>Thu Mar 20 07:02:45 PDT 2014</create_dt></Session></sessions>", { server: 'nginx',

@@ -183,3 +183,3 @@ date: 'Thu, 20 Mar 2014 14:02:45 GMT',

.matchHeader('user-agent', new RegExp("OpenTok-Node-SDK\/"+package.version))
.post('/hl/session/create', "location=12.34.56.78&p2p.preference=disabled")
.post('/session/create', "location=12.34.56.78&p2p.preference=disabled")
.reply(200, "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><sessions><Session><session_id>SESSIONID</session_id><partner_id>123456</partner_id><create_dt>Thu Mar 20 07:17:22 PDT 2014</create_dt></Session></sessions>", { server: 'nginx',

@@ -220,3 +220,3 @@ date: 'Thu, 20 Mar 2014 14:17:22 GMT',

.matchHeader('user-agent', new RegExp("OpenTok-Node-SDK\/"+package.version))
.post('/hl/session/create', "p2p.preference=disabled")
.post('/session/create', "p2p.preference=disabled")
.reply(500, "", { server: 'nginx',

@@ -223,0 +223,0 @@ date: 'Thu, 20 Mar 2014 06:35:24 GMT',

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