clique-api-client-js
Advanced tools
Comparing version 1.0.3 to 1.0.4
(function (global, factory) { | ||
/*global define*/ | ||
if (typeof define === 'function' && define.amd) { | ||
define(['sip.js', 'socket.io-client'], factory); // AMD | ||
define(['sip.js/dist/sip.js', 'socket.io-client'], factory); // AMD | ||
} else if (typeof module === 'object' && module.exports) { | ||
module.exports = factory(require('sip.js'), require('socket.io-client')); // commonjs | ||
module.exports = factory(require('sip.js/dist/sip.js'), require('socket.io-client')); // commonjs | ||
} else { | ||
@@ -59,2 +59,3 @@ global.clique_api = factory(global.SIP, global.io) // Browser | ||
self.websocket_endpoint = options.websocket_endpoint; | ||
self.turnServers = options.turnServers || []; | ||
self.user_token = options.user_token; | ||
@@ -195,2 +196,3 @@ self.event_handlers = options.event_handlers || {}; | ||
,iceCheckingTimeout: 3000 | ||
,turnServers: self.turnServers | ||
}); | ||
@@ -197,0 +199,0 @@ |
{ | ||
"name": "clique-api-client-js", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Client side lib to work with clique platform", | ||
@@ -10,3 +10,3 @@ "main": "client.js", | ||
"dependencies": { | ||
"sip.js": "~0.8.1", | ||
"sip.js": "~0.7.8", | ||
"socket.io-client": "~1.4.5" | ||
@@ -13,0 +13,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19715
421
+ Addedsip.js@0.7.8(transitive)
- Removedsip.js@0.8.4(transitive)
Updatedsip.js@~0.7.8