@bambustech/videorooms-ng
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -8,14 +8,14 @@ (function (global, factory) { | ||
/*! ***************************************************************************** | ||
Copyright (c) Microsoft Corporation. All rights reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use | ||
this file except in compliance with the License. You may obtain a copy of the | ||
License at http://www.apache.org/licenses/LICENSE-2.0 | ||
Copyright (c) Microsoft Corporation. | ||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
MERCHANTABLITY OR NON-INFRINGEMENT. | ||
Permission to use, copy, modify, and/or distribute this software for any | ||
purpose with or without fee is hereby granted. | ||
See the Apache Version 2.0 License for specific language governing permissions | ||
and limitations under the License. | ||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH | ||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY | ||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, | ||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM | ||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR | ||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR | ||
PERFORMANCE OF THIS SOFTWARE. | ||
***************************************************************************** */ | ||
@@ -113,4 +113,9 @@ /* global Reflect, Promise */ | ||
function __createBinding(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
} | ||
function __exportStar(m, exports) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
@@ -117,0 +122,0 @@ |
!function(o,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("@bambustech/videorooms-ng",["exports","@angular/core"],e):e(((o=o||self).bambustech=o.bambustech||{},o.bambustech["videorooms-ng"]={}),o.ng.core)}(this,(function(o,e){"use strict"; | ||
/*! ***************************************************************************** | ||
Copyright (c) Microsoft Corporation. All rights reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use | ||
this file except in compliance with the License. You may obtain a copy of the | ||
License at http://www.apache.org/licenses/LICENSE-2.0 | ||
Copyright (c) Microsoft Corporation. | ||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
MERCHANTABLITY OR NON-INFRINGEMENT. | ||
Permission to use, copy, modify, and/or distribute this software for any | ||
purpose with or without fee is hereby granted. | ||
See the Apache Version 2.0 License for specific language governing permissions | ||
and limitations under the License. | ||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH | ||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY | ||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, | ||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM | ||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR | ||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR | ||
PERFORMANCE OF THIS SOFTWARE. | ||
***************************************************************************** */function t(o,e,t,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,t):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(o,e,t,n);else for(var c=o.length-1;c>=0;c--)(i=o[c])&&(s=(r<3?i(s):r>3?i(e,t,s):i(e,t))||s);return r>3&&s&&Object.defineProperty(e,t,s),s}function n(o,e){var t="function"==typeof Symbol&&o[Symbol.iterator];if(!t)return o;var n,i,r=t.call(o),s=[];try{for(;(void 0===e||e-- >0)&&!(n=r.next()).done;)s.push(n.value)}catch(o){i={error:o}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(i)throw i.error}}return s}var i=function(){function o(){this.joinRoomEvent=new e.EventEmitter,this.leaveRoomEvent=new e.EventEmitter}return o.prototype.joinRoom=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];this.joinRoomEvent.emit(o)},o.prototype.leaveRoom=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];this.leaveRoomEvent.emit(o)},o.prototype.setNickname=function(o){VideoSDK.setNickname(o)},o.ɵprov=e.ɵɵdefineInjectable({factory:function(){return new o},token:o,providedIn:"root"}),o=t([e.Injectable({providedIn:"root"})],o)}(),r=function(){function o(o){this.videoRoomService=o,this.onRoomLeft=new e.EventEmitter,this.onRoomJoined=new e.EventEmitter,this.joinRoomObservable=o.joinRoomEvent.subscribe((function(o){VideoSDK.joinRoom.apply(VideoSDK,function(){for(var o=[],e=0;e<arguments.length;e++)o=o.concat(n(arguments[e]));return o}(o))})),this.leaveRoomObservable=o.leaveRoomEvent.subscribe((function(o){VideoSDK.hangUp()}))}return o.prototype.ngOnInit=function(){var o=this;VideoSDK.init("bambus-videorooms",this.options),VideoSDK.events.on("roomLeft",(function(){o.onRoomLeft.emit()})),VideoSDK.events.on("roomJoined",(function(){o.onRoomJoined.emit()}))},o.prototype.ngOnDestroy=function(){this.joinRoomObservable.closed||this.joinRoomObservable.unsubscribe(),this.leaveRoomObservable.closed||this.leaveRoomObservable.unsubscribe(),VideoSDK.hangUp(),VideoSDK.destroy()},o.ctorParameters=function(){return[{type:i}]},t([e.Input()],o.prototype,"options",void 0),t([e.Output()],o.prototype,"onRoomLeft",void 0),t([e.Output()],o.prototype,"onRoomJoined",void 0),o=t([e.Component({selector:"bambus-videorooms",template:""})],o)}(),s=function(){function o(){}return o=t([e.NgModule({declarations:[r],imports:[],exports:[r]})],o)}();o.VideoroomsComponent=r,o.VideoroomsModule=s,o.VideoroomsService=i,Object.defineProperty(o,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=bambustech-videorooms-ng.umd.min.js.map |
@@ -5,11 +5,11 @@ { | ||
"description": "Componente de Angular de SDK de videorooms, hecho por BambusTech", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"peerDependencies": { | ||
"@angular/common": "^9.1.4", | ||
"@angular/core": "^9.1.4", | ||
"tslib": "^1.10.0", | ||
"@bambustech/videorooms-sdk": "latest" | ||
}, | ||
"dependencies": { | ||
"@bambustech/videorooms-sdk": "latest" | ||
"@bambustech/videorooms-sdk": "latest", | ||
"tslib": "^1.10.0" | ||
}, | ||
@@ -16,0 +16,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No License Found
License(Experimental) License information could not be found.
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
112890
842
1
+ Addedtslib@^1.10.0