@microsoft/teams-js 2.31.0 → 2.31.1

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -24,7 +24,7 @@ To install the stable [version](https://learn.microsoft.com/javascript/api/overv
24
24
 
25
25
  ### Production
26
26
 
27
- You can reference these files directly [from here](https://res.cdn.office.net/teams-js/2.31.0/js/MicrosoftTeams.min.js) or point your package manager at them.
27
+ You can reference these files directly [from here](https://res.cdn.office.net/teams-js/2.31.1/js/MicrosoftTeams.min.js) or point your package manager at them.
28
28
 
29
29
  ## Usage
30
30
 
@@ -45,13 +45,13 @@ Reference the library inside of your `.html` page using:
45
45
  ```html
46
46
  <!-- Microsoft Teams JavaScript API (via CDN) -->
47
47
  <script
48
- src="https://res.cdn.office.net/teams-js/2.31.0/js/MicrosoftTeams.min.js"
49
- integrity="sha384-A2y7iMKbK0AQrgKq1YKcLB8XgtyowB2MPzC40KFfA58nQObf6xU3C5NE0cTcis0V"
48
+ src="https://res.cdn.office.net/teams-js/2.31.1/js/MicrosoftTeams.min.js"
49
+ integrity="sha384-ihAqYgEJz9hzEU+HaYodG1aTzjebC/wKXQi1nWKZG7OLAUyOL9ZrzD/SfZu79Jeu"
50
50
  crossorigin="anonymous"
51
51
  ></script>
52
52
 
53
53
  <!-- Microsoft Teams JavaScript API (via npm) -->
54
- <script src="node_modules/@microsoft/teams-js@2.31.0/dist/MicrosoftTeams.min.js"></script>
54
+ <script src="node_modules/@microsoft/teams-js@2.31.1/dist/MicrosoftTeams.min.js"></script>
55
55
 
56
56
  <!-- Microsoft Teams JavaScript API (via local) -->
57
57
  <script src="MicrosoftTeams.min.js"></script>
@@ -1 +1 @@
1
- import n from"./_polyfill-node.global.js";var r;function t(){if(void 0===r){var n=new ArrayBuffer(2),t=new Uint8Array(n),e=new Uint16Array(n);if(t[0]=1,t[1]=2,258===e[0])r="BE";else{if(513!==e[0])throw new Error("unable to figure out endianess");r="LE"}}return r}function e(){return void 0!==n.location?n.location.hostname:""}function o(){return[]}function u(){return 0}function i(){return Number.MAX_VALUE}function a(){return Number.MAX_VALUE}function f(){return[]}function c(){return"Browser"}function s(){return void 0!==n.navigator?n.navigator.appVersion:""}function m(){return{}}function l(){return{}}function p(){return"javascript"}function v(){return"browser"}function d(){return"/tmp"}var w=d,A="\n";function E(){return"$HOME"}var g={homedir:E,EOL:"\n",arch:p,platform:v,tmpdir:w,tmpDir:d,networkInterfaces:m,getNetworkInterfaces:l,release:s,type:c,cpus:f,totalmem:a,freemem:i,uptime:u,loadavg:o,hostname:e,endianness:t};export{A as EOL,p as arch,f as cpus,g as default,t as endianness,i as freemem,l as getNetworkInterfaces,E as homedir,e as hostname,o as loadavg,m as networkInterfaces,v as platform,s as release,d as tmpDir,w as tmpdir,a as totalmem,c as type,u as uptime};
1
+ var n;function r(){if(void 0===n){var r=new ArrayBuffer(2),t=new Uint8Array(r),e=new Uint16Array(r);if(t[0]=1,t[1]=2,258===e[0])n="BE";else{if(513!==e[0])throw new Error("unable to figure out endianess");n="LE"}}return n}function t(){return void 0!==global.location?global.location.hostname:""}function e(){return[]}function o(){return 0}function u(){return Number.MAX_VALUE}function i(){return Number.MAX_VALUE}function a(){return[]}function f(){return"Browser"}function c(){return void 0!==global.navigator?global.navigator.appVersion:""}function l(){return{}}function s(){return{}}function m(){return"javascript"}function p(){return"browser"}function v(){return"/tmp"}var d=v,g="\n";function w(){return"$HOME"}var b={homedir:w,EOL:"\n",arch:m,platform:p,tmpdir:d,tmpDir:v,networkInterfaces:l,getNetworkInterfaces:s,release:c,type:f,cpus:a,totalmem:i,freemem:u,uptime:o,loadavg:e,hostname:t,endianness:r};export{g as EOL,m as arch,a as cpus,b as default,r as endianness,u as freemem,s as getNetworkInterfaces,w as homedir,t as hostname,e as loadavg,l as networkInterfaces,p as platform,c as release,v as tmpDir,d as tmpdir,i as totalmem,f as type,o as uptime};
@@ -1 +1 @@
1
- import e from"./_polyfill-node.global.js";function t(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}var n=t,o=r;function i(e){if(n===setTimeout)return setTimeout(e,0);if((n===t||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}"function"==typeof e.setTimeout&&(n=setTimeout),"function"==typeof e.clearTimeout&&(o=clearTimeout);var u,a=[],c=!1,l=-1;function f(){c&&u&&(c=!1,u.length?a=u.concat(a):l=-1,a.length&&s())}function s(){if(!c){var e=i(f);c=!0;for(var t=a.length;t;){for(u=a,a=[];++l<t;)u&&u[l].run();l=-1,t=a.length}u=null,c=!1,function(e){if(o===clearTimeout)return clearTimeout(e);if((o===r||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{return o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(e)}}function h(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];a.push(new m(e,t)),1!==a.length||c||i(s)}function m(e,t){this.fun=e,this.array=t}m.prototype.run=function(){this.fun.apply(null,this.array)};var w="browser",p="browser",v=!0,T={},d=[],g="",y={},b={},E={};function N(){}var k=N,D=N,L=N,x=N,A=N,M=N,j=N;function z(e){throw new Error("process.binding is not supported")}function _(){return"/"}function q(e){throw new Error("process.chdir is not supported")}function B(){return 0}var C=e.performance||{},F=C.now||C.mozNow||C.msNow||C.oNow||C.webkitNow||function(){return(new Date).getTime()};function G(e){var t=.001*F.call(C),r=Math.floor(t),n=Math.floor(t%1*1e9);return e&&(r-=e[0],(n-=e[1])<0&&(r--,n+=1e9)),[r,n]}var H=new Date;function I(){return(new Date-H)/1e3}var J={nextTick:h,title:w,browser:v,env:T,argv:d,version:"",versions:y,on:k,addListener:D,once:L,off:x,removeListener:A,removeAllListeners:M,emit:j,binding:z,cwd:_,chdir:q,umask:B,hrtime:G,platform:p,release:b,config:E,uptime:I};export{D as addListener,d as argv,z as binding,v as browser,q as chdir,E as config,_ as cwd,J as default,j as emit,T as env,G as hrtime,h as nextTick,x as off,k as on,L as once,p as platform,b as release,M as removeAllListeners,A as removeListener,w as title,B as umask,I as uptime,g as version,y as versions};
1
+ function e(){throw new Error("setTimeout has not been defined")}function t(){throw new Error("clearTimeout has not been defined")}var r=e,n=t;function o(t){if(r===setTimeout)return setTimeout(t,0);if((r===e||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}"function"==typeof global.setTimeout&&(r=setTimeout),"function"==typeof global.clearTimeout&&(n=clearTimeout);var i,u=[],a=!1,c=-1;function l(){a&&i&&(a=!1,i.length?u=i.concat(u):c=-1,u.length&&f())}function f(){if(!a){var e=o(l);a=!0;for(var r=u.length;r;){for(i=u,u=[];++c<r;)i&&i[c].run();c=-1,r=u.length}i=null,a=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===t||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function s(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new h(e,t)),1!==u.length||a||o(f)}function h(e,t){this.fun=e,this.array=t}h.prototype.run=function(){this.fun.apply(null,this.array)};var m="browser",w="browser",v=!0,T={},p=[],g="",d={},b={},y={};function E(){}var N=E,k=E,D=E,L=E,x=E,A=E,M=E;function z(e){throw new Error("process.binding is not supported")}function j(){return"/"}function q(e){throw new Error("process.chdir is not supported")}function B(){return 0}var C=global.performance||{},F=C.now||C.mozNow||C.msNow||C.oNow||C.webkitNow||function(){return(new Date).getTime()};function G(e){var t=.001*F.call(C),r=Math.floor(t),n=Math.floor(t%1*1e9);return e&&(r-=e[0],(n-=e[1])<0&&(r--,n+=1e9)),[r,n]}var H=new Date;function I(){return(new Date-H)/1e3}var J={nextTick:s,title:m,browser:v,env:T,argv:p,version:"",versions:d,on:N,addListener:k,once:D,off:L,removeListener:x,removeAllListeners:A,emit:M,binding:z,cwd:j,chdir:q,umask:B,hrtime:G,platform:w,release:b,config:y,uptime:I};export{k as addListener,p as argv,z as binding,v as browser,q as chdir,y as config,j as cwd,J as default,M as emit,T as env,G as hrtime,s as nextTick,L as off,N as on,D as once,w as platform,b as release,A as removeAllListeners,x as removeListener,m as title,B as umask,I as uptime,g as version,d as versions};
@@ -1 +1 @@
1
- import e from"./_polyfill-node.global.js";import{Buffer as t}from"./_polyfill-node.buffer.js";import n from"./_polyfill-node.process.js";import r from"./_polyfill-node._inherits.js";var o=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},i=/%[sdj%]/g;function u(e){if(!w(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(a(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,o=r.length,u=String(e).replace(i,(function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),c=r[n];n<o;c=r[++n])v(c)||!x(c)?u+=" "+c:u+=" "+a(c);return u}function c(t,r){if(z(e.process))return function(){return c(t,r).apply(this,arguments)};if(!0===n.noDeprecation)return t;var o=!1;return function(){if(!o){if(n.throwDeprecation)throw new Error(r);n.traceDeprecation?console.trace(r):console.error(r),o=!0}return t.apply(this,arguments)}}var l,s={};function f(e){if(z(l)&&(l=n.env.NODE_DEBUG||""),e=e.toUpperCase(),!s[e])if(new RegExp("\\b"+e+"\\b","i").test(l)){s[e]=function(){var t=u.apply(null,arguments);console.error("%s %d: %s",e,0,t)}}else s[e]=function(){};return s[e]}function a(e,t){var n={seen:[],stylize:y};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),m(t)?n.showHidden=t:t&&R(n,t),z(n.showHidden)&&(n.showHidden=!1),z(n.depth)&&(n.depth=2),z(n.colors)&&(n.colors=!1),z(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=p),g(n,e,n.depth)}function p(e,t){var n=a.styles[t];return n?"["+a.colors[n][0]+"m"+e+"["+a.colors[n][1]+"m":e}function y(e,t){return e}function g(e,t,n){if(e.customInspect&&t&&T(t.inspect)&&t.inspect!==a&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return w(r)||(r=g(e,r,n)),r}var o=function(e,t){if(z(t))return e.stylize("undefined","undefined");if(w(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(j(t))return e.stylize(""+t,"number");if(m(t))return e.stylize(""+t,"boolean");if(v(t))return e.stylize("null","null")}(e,t);if(o)return o;var i=Object.keys(t),u=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),D(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return d(t);if(0===i.length){if(T(t)){var c=t.name?": "+t.name:"";return e.stylize("[Function"+c+"]","special")}if(E(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(P(t))return e.stylize(Date.prototype.toString.call(t),"date");if(D(t))return d(t)}var l,s="",f=!1,p=["{","}"];(h(t)&&(f=!0,p=["[","]"]),T(t))&&(s=" [Function"+(t.name?": "+t.name:"")+"]");return E(t)&&(s=" "+RegExp.prototype.toString.call(t)),P(t)&&(s=" "+Date.prototype.toUTCString.call(t)),D(t)&&(s=" "+d(t)),0!==i.length||f&&0!=t.length?n<0?E(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),l=f?function(e,t,n,r,o){for(var i=[],u=0,c=t.length;u<c;++u)H(t,String(u))?i.push(b(e,t,n,r,String(u),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(b(e,t,n,r,o,!0))})),i}(e,t,n,u,i):i.map((function(r){return b(e,t,n,u,r,f)})),e.seen.pop(),function(e,t,n){var r=e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(r>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(l,s,p)):p[0]+s+p[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function b(e,t,n,r,o,i){var u,c,l;if((l=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?c=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(c=e.stylize("[Setter]","special")),H(r,o)||(u="["+o+"]"),c||(e.seen.indexOf(l.value)<0?(c=v(n)?g(e,l.value,null):g(e,l.value,n-1)).indexOf("\n")>-1&&(c=i?c.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+c.split("\n").map((function(e){return" "+e})).join("\n")):c=e.stylize("[Circular]","special")),z(u)){if(i&&o.match(/^\d+$/))return c;(u=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.substr(1,u.length-2),u=e.stylize(u,"name")):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=e.stylize(u,"string"))}return u+": "+c}function h(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function v(e){return null===e}function O(e){return null==e}function j(e){return"number"==typeof e}function w(e){return"string"==typeof e}function S(e){return"symbol"==typeof e}function z(e){return void 0===e}function E(e){return x(e)&&"[object RegExp]"===F(e)}function x(e){return"object"==typeof e&&null!==e}function P(e){return x(e)&&"[object Date]"===F(e)}function D(e){return x(e)&&("[object Error]"===F(e)||e instanceof Error)}function T(e){return"function"==typeof e}function N(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function _(e){return t.isBuffer(e)}function F(e){return Object.prototype.toString.call(e)}function k(e){return e<10?"0"+e.toString(10):e.toString(10)}a.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var A=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function J(){var e,t;console.log("%s - %s",(e=new Date,t=[k(e.getHours()),k(e.getMinutes()),k(e.getSeconds())].join(":"),[e.getDate(),A[e.getMonth()],t].join(" ")),u.apply(null,arguments))}function R(e,t){if(!t||!x(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function H(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var U="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function $(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(U&&e[U]){var t;if("function"!=typeof(t=e[U]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,U,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push((function(e,r){e?n(e):t(r)}));try{e.apply(this,o)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),U&&Object.defineProperty(t,U,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,o(e))}function B(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}function C(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var o=t.pop();if("function"!=typeof o)throw new TypeError("The last argument must be of type Function");var i=this,u=function(){return o.apply(i,arguments)};e.apply(this,t).then((function(e){n.nextTick(u.bind(null,null,e))}),(function(e){n.nextTick(B.bind(null,e,u))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,o(e)),t}$.custom=U;var M={inherits:r,_extend:R,log:J,isBuffer:_,isPrimitive:N,isFunction:T,isError:D,isDate:P,isObject:x,isRegExp:E,isUndefined:z,isSymbol:S,isString:w,isNumber:j,isNullOrUndefined:O,isNull:v,isBoolean:m,isArray:h,inspect:a,deprecate:c,format:u,debuglog:f,promisify:$,callbackify:C};export{R as _extend,C as callbackify,f as debuglog,M as default,c as deprecate,u as format,r as inherits,a as inspect,h as isArray,m as isBoolean,_ as isBuffer,P as isDate,D as isError,T as isFunction,v as isNull,O as isNullOrUndefined,j as isNumber,x as isObject,N as isPrimitive,E as isRegExp,w as isString,S as isSymbol,z as isUndefined,J as log,$ as promisify};
1
+ import e from"./_polyfill-node.process.js";import t from"./_polyfill-node._inherits.js";var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},r=/%[sdj%]/g;function o(e){if(!O(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(s(arguments[n]));return t.join(" ")}n=1;for(var o=arguments,i=o.length,u=String(e).replace(r,(function(e){if("%%"===e)return"%";if(n>=i)return e;switch(e){case"%s":return String(o[n++]);case"%d":return Number(o[n++]);case"%j":try{return JSON.stringify(o[n++])}catch(e){return"[Circular]"}default:return e}})),c=o[n];n<i;c=o[++n])h(c)||!z(c)?u+=" "+c:u+=" "+s(c);return u}function i(t,n){if(w(global.process))return function(){return i(t,n).apply(this,arguments)};if(!0===e.noDeprecation)return t;var r=!1;return function(){if(!r){if(e.throwDeprecation)throw new Error(n);e.traceDeprecation?console.trace(n):console.error(n),r=!0}return t.apply(this,arguments)}}var u,c={};function l(t){if(w(u)&&(u=e.env.NODE_DEBUG||""),t=t.toUpperCase(),!c[t])if(new RegExp("\\b"+t+"\\b","i").test(u)){c[t]=function(){var e=o.apply(null,arguments);console.error("%s %d: %s",t,0,e)}}else c[t]=function(){};return c[t]}function s(e,t){var n={seen:[],stylize:a};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),d(t)?n.showHidden=t:t&&_(n,t),w(n.showHidden)&&(n.showHidden=!1),w(n.depth)&&(n.depth=2),w(n.colors)&&(n.colors=!1),w(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=f),p(n,e,n.depth)}function f(e,t){var n=s.styles[t];return n?"["+s.colors[n][0]+"m"+e+"["+s.colors[n][1]+"m":e}function a(e,t){return e}function p(e,t,n){if(e.customInspect&&t&&P(t.inspect)&&t.inspect!==s&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return O(r)||(r=p(e,r,n)),r}var o=function(e,t){if(w(t))return e.stylize("undefined","undefined");if(O(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(v(t))return e.stylize(""+t,"number");if(d(t))return e.stylize(""+t,"boolean");if(h(t))return e.stylize("null","null")}(e,t);if(o)return o;var i=Object.keys(t),u=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),x(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return y(t);if(0===i.length){if(P(t)){var c=t.name?": "+t.name:"";return e.stylize("[Function"+c+"]","special")}if(S(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(E(t))return e.stylize(Date.prototype.toString.call(t),"date");if(x(t))return y(t)}var l,f="",a=!1,m=["{","}"];(b(t)&&(a=!0,m=["[","]"]),P(t))&&(f=" [Function"+(t.name?": "+t.name:"")+"]");return S(t)&&(f=" "+RegExp.prototype.toString.call(t)),E(t)&&(f=" "+Date.prototype.toUTCString.call(t)),x(t)&&(f=" "+y(t)),0!==i.length||a&&0!=t.length?n<0?S(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),l=a?function(e,t,n,r,o){for(var i=[],u=0,c=t.length;u<c;++u)J(t,String(u))?i.push(g(e,t,n,r,String(u),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(g(e,t,n,r,o,!0))})),i}(e,t,n,u,i):i.map((function(r){return g(e,t,n,u,r,a)})),e.seen.pop(),function(e,t,n){var r=e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(r>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(l,f,m)):m[0]+f+m[1]}function y(e){return"["+Error.prototype.toString.call(e)+"]"}function g(e,t,n,r,o,i){var u,c,l;if((l=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?c=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(c=e.stylize("[Setter]","special")),J(r,o)||(u="["+o+"]"),c||(e.seen.indexOf(l.value)<0?(c=h(n)?p(e,l.value,null):p(e,l.value,n-1)).indexOf("\n")>-1&&(c=i?c.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+c.split("\n").map((function(e){return" "+e})).join("\n")):c=e.stylize("[Circular]","special")),w(u)){if(i&&o.match(/^\d+$/))return c;(u=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.substr(1,u.length-2),u=e.stylize(u,"name")):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=e.stylize(u,"string"))}return u+": "+c}function b(e){return Array.isArray(e)}function d(e){return"boolean"==typeof e}function h(e){return null===e}function m(e){return null==e}function v(e){return"number"==typeof e}function O(e){return"string"==typeof e}function j(e){return"symbol"==typeof e}function w(e){return void 0===e}function S(e){return z(e)&&"[object RegExp]"===N(e)}function z(e){return"object"==typeof e&&null!==e}function E(e){return z(e)&&"[object Date]"===N(e)}function x(e){return z(e)&&("[object Error]"===N(e)||e instanceof Error)}function P(e){return"function"==typeof e}function D(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function T(e){return Buffer.isBuffer(e)}function N(e){return Object.prototype.toString.call(e)}function F(e){return e<10?"0"+e.toString(10):e.toString(10)}s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var k=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function A(){var e,t;console.log("%s - %s",(e=new Date,t=[F(e.getHours()),F(e.getMinutes()),F(e.getSeconds())].join(":"),[e.getDate(),k[e.getMonth()],t].join(" ")),o.apply(null,arguments))}function _(e,t){if(!t||!z(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function J(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var R="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function B(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(R&&e[R]){var t;if("function"!=typeof(t=e[R]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,R,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push((function(e,r){e?n(e):t(r)}));try{e.apply(this,o)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),R&&Object.defineProperty(t,R,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,n(e))}function H(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}function U(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function r(){for(var n=[],r=0;r<arguments.length;r++)n.push(arguments[r]);var o=n.pop();if("function"!=typeof o)throw new TypeError("The last argument must be of type Function");var i=this,u=function(){return o.apply(i,arguments)};t.apply(this,n).then((function(t){e.nextTick(u.bind(null,null,t))}),(function(t){e.nextTick(H.bind(null,t,u))}))}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),Object.defineProperties(r,n(t)),r}B.custom=R;var $={inherits:t,_extend:_,log:A,isBuffer:T,isPrimitive:D,isFunction:P,isError:x,isDate:E,isObject:z,isRegExp:S,isUndefined:w,isSymbol:j,isString:O,isNumber:v,isNullOrUndefined:m,isNull:h,isBoolean:d,isArray:b,inspect:s,deprecate:i,format:o,debuglog:l,promisify:B,callbackify:U};export{_ as _extend,U as callbackify,l as debuglog,$ as default,i as deprecate,o as format,t as inherits,s as inspect,b as isArray,d as isBoolean,T as isBuffer,E as isDate,x as isError,P as isFunction,h as isNull,m as isNullOrUndefined,v as isNumber,z as isObject,D as isPrimitive,S as isRegExp,O as isString,j as isSymbol,w as isUndefined,A as log,B as promisify};
@@ -1,6 +1,6 @@
1
1
  export * as authentication from './authentication';
2
2
  export { ChannelType, DialogDimension, FrameContexts, HostClientType, HostName, TaskModuleDimension, TeamType, UserTeamRole, } from './constants';
3
- export { ActionInfo, ActionObjectType, AdaptiveCardVersion, AdaptiveCardDialogInfo, BaseActionObject, BotAdaptiveCardDialogInfo, BotUrlDialogInfo, Context, DeepLinkParameters, DialogInfo, DialogSize, ErrorCode, FileOpenPreference, FrameContext, FrameInfo, HostToAppPerformanceMetrics, LoadContext, LocaleInfo, M365ContentAction, ResumeContext, SdkError, SecondaryId, SecondaryM365ContentIdName, ShareDeepLinkParameters, TabInformation, TabInstance, TabInstanceParameters, TaskInfo, TeamInformation, UrlDialogInfo, } from './interfaces';
3
+ export { ActionInfo, ActionObjectType, AdaptiveCardVersion, AdaptiveCardDialogInfo, BaseActionObject, BotAdaptiveCardDialogInfo, BotUrlDialogInfo, Context, DeepLinkParameters, DialogInfo, DialogSize, EduType, ErrorCode, FileOpenPreference, FrameContext, FrameInfo, HostToAppPerformanceMetrics, LoadContext, LocaleInfo, M365ContentAction, ResumeContext, SdkError, SecondaryId, SecondaryM365ContentIdName, ShareDeepLinkParameters, TabInformation, TabInstance, TabInstanceParameters, TaskInfo, TeamInformation, UrlDialogInfo, } from './interfaces';
4
4
  export * as app from './app/app';
5
5
  export { AppId } from './appId';
6
6
  export { EmailAddress } from './emailAddress';
@@ -1 +1 @@
1
- export{NotificationTypes,UserSettingTypes,ViewerActionTypes}from"./private/interfaces.js";export{openFilePreview,registerCustomHandler,registerUserSettingsChangeHandler,sendCustomEvent,sendCustomMessage,uploadCustomApp}from"./private/privateAPIs.js";import*as r from"./private/logs.js";export{r as logs};import*as e from"./private/conversations.js";export{e as conversations};import*as o from"./private/copilot/copilot.js";export{o as copilot};import*as t from"./private/externalAppAuthentication.js";export{t as externalAppAuthentication};import*as p from"./private/externalAppAuthenticationForCEA.js";export{p as externalAppAuthenticationForCEA};import*as i from"./private/externalAppCardActions.js";export{i as externalAppCardActions};import*as s from"./private/externalAppCardActionsForCEA.js";export{s as externalAppCardActionsForCEA};import*as a from"./private/externalAppCommands.js";export{a as externalAppCommands};import*as m from"./private/files.js";export{m as files};import*as n from"./private/meetingRoom.js";export{n as meetingRoom};import*as l from"./private/messageChannels/messageChannels.js";export{l as messageChannels};import*as c from"./private/notifications.js";export{c as notifications};import*as f from"./private/otherAppStateChange.js";export{f as otherAppStateChange};import*as x from"./private/remoteCamera.js";export{x as remoteCamera};import*as u from"./private/appEntity.js";export{u as appEntity};import*as j from"./private/teams/teams.js";export{j as teams};import*as b from"./private/videoEffectsEx.js";export{b as videoEffectsEx};import*as d from"./private/hostEntity/hostEntity.js";export{d as hostEntity};export{ChannelType,DialogDimension,FrameContexts,HostClientType,HostName,DialogDimension as TaskModuleDimension,TeamType,UserTeamRole}from"./public/constants.js";export{ActionObjectType,ErrorCode,FileOpenPreference,SecondaryM365ContentIdName}from"./public/interfaces.js";export{AppId}from"./public/appId.js";export{EmailAddress}from"./public/emailAddress.js";export{getAdaptiveCardSchemaVersion}from"./public/adaptiveCards.js";export{ChildAppWindow,ParentAppWindow}from"./public/appWindow.js";export{version}from"./public/version.js";export{enablePrintCapability,executeDeepLink,getContext,getMruTabInstances,getTabInstances,initialize,initializeWithFrameContext,print,registerAppButtonClickHandler,registerAppButtonHoverEnterHandler,registerAppButtonHoverLeaveHandler,registerBackButtonHandler,registerBeforeUnloadHandler,registerChangeSettingsHandler,registerFocusEnterHandler,registerFullScreenHandler,registerOnLoadHandler,registerOnThemeChangeHandler,setFrameContext,shareDeepLink}from"./public/publicAPIs.js";export{navigateBack,navigateCrossDomain,navigateToTab,returnFocus}from"./public/navigation.js";import*as g from"./public/liveShareHost.js";export{g as liveShare};export{LiveShareHost}from"./public/liveShareHost.js";import*as v from"./public/authentication.js";export{v as authentication};import*as C from"./public/app/app.js";export{C as app};import*as A from"./public/appInstallDialog.js";export{A as appInstallDialog};import*as h from"./public/barCode.js";export{h as barCode};import*as H from"./public/chat.js";export{H as chat};import*as T from"./public/clipboard.js";export{T as clipboard};import*as y from"./public/dialog/dialog.js";export{y as dialog};import*as E from"./public/nestedAppAuth.js";export{E as nestedAppAuth};import*as S from"./public/geoLocation/geoLocation.js";export{S as geoLocation};import*as F from"./public/pages/pages.js";export{F as pages};import*as I from"./public/menus.js";export{I as menus};import*as w from"./public/media.js";export{w as media};import*as D from"./public/secondaryBrowser.js";export{D as secondaryBrowser};import*as k from"./public/location.js";export{k as location};import*as B from"./public/meeting/meeting.js";export{B as meeting};import*as P from"./public/monetization.js";export{P as monetization};import*as L from"./public/calendar.js";export{L as calendar};import*as M from"./public/mail.js";export{M as mail};import*as z from"./public/teamsAPIs.js";export{z as teamsCore};import*as O from"./public/people.js";export{O as people};import*as U from"./public/profile.js";export{U as profile};import*as V from"./public/videoEffects.js";export{V as videoEffects};import*as W from"./public/search.js";export{W as search};import*as N from"./public/sharing/sharing.js";export{N as sharing};import*as R from"./public/stageView/stageView.js";export{R as stageView};import*as q from"./public/visualMedia/visualMedia.js";export{q as visualMedia};import*as G from"./public/webStorage.js";export{G as webStorage};import*as J from"./public/call.js";export{J as call};import*as K from"./public/appInitialization.js";export{K as appInitialization};import*as Q from"./public/thirdPartyCloudStorage.js";export{Q as thirdPartyCloudStorage};import*as X from"./public/settings.js";export{X as settings};import*as Y from"./public/tasks.js";export{Y as tasks};import*as Z from"./public/marketplace.js";export{Z as marketplace};
1
+ export{NotificationTypes,UserSettingTypes,ViewerActionTypes}from"./private/interfaces.js";export{openFilePreview,registerCustomHandler,registerUserSettingsChangeHandler,sendCustomEvent,sendCustomMessage,uploadCustomApp}from"./private/privateAPIs.js";import*as r from"./private/logs.js";export{r as logs};import*as e from"./private/conversations.js";export{e as conversations};import*as o from"./private/copilot/copilot.js";export{o as copilot};import*as t from"./private/externalAppAuthentication.js";export{t as externalAppAuthentication};import*as p from"./private/externalAppAuthenticationForCEA.js";export{p as externalAppAuthenticationForCEA};import*as i from"./private/externalAppCardActions.js";export{i as externalAppCardActions};import*as s from"./private/externalAppCardActionsForCEA.js";export{s as externalAppCardActionsForCEA};import*as a from"./private/externalAppCommands.js";export{a as externalAppCommands};import*as m from"./private/files.js";export{m as files};import*as n from"./private/meetingRoom.js";export{n as meetingRoom};import*as l from"./private/messageChannels/messageChannels.js";export{l as messageChannels};import*as c from"./private/notifications.js";export{c as notifications};import*as f from"./private/otherAppStateChange.js";export{f as otherAppStateChange};import*as x from"./private/remoteCamera.js";export{x as remoteCamera};import*as u from"./private/appEntity.js";export{u as appEntity};import*as j from"./private/teams/teams.js";export{j as teams};import*as b from"./private/videoEffectsEx.js";export{b as videoEffectsEx};import*as d from"./private/hostEntity/hostEntity.js";export{d as hostEntity};export{ChannelType,DialogDimension,FrameContexts,HostClientType,HostName,DialogDimension as TaskModuleDimension,TeamType,UserTeamRole}from"./public/constants.js";export{ActionObjectType,EduType,ErrorCode,FileOpenPreference,SecondaryM365ContentIdName}from"./public/interfaces.js";export{AppId}from"./public/appId.js";export{EmailAddress}from"./public/emailAddress.js";export{getAdaptiveCardSchemaVersion}from"./public/adaptiveCards.js";export{ChildAppWindow,ParentAppWindow}from"./public/appWindow.js";export{version}from"./public/version.js";export{enablePrintCapability,executeDeepLink,getContext,getMruTabInstances,getTabInstances,initialize,initializeWithFrameContext,print,registerAppButtonClickHandler,registerAppButtonHoverEnterHandler,registerAppButtonHoverLeaveHandler,registerBackButtonHandler,registerBeforeUnloadHandler,registerChangeSettingsHandler,registerFocusEnterHandler,registerFullScreenHandler,registerOnLoadHandler,registerOnThemeChangeHandler,setFrameContext,shareDeepLink}from"./public/publicAPIs.js";export{navigateBack,navigateCrossDomain,navigateToTab,returnFocus}from"./public/navigation.js";import*as g from"./public/liveShareHost.js";export{g as liveShare};export{LiveShareHost}from"./public/liveShareHost.js";import*as v from"./public/authentication.js";export{v as authentication};import*as C from"./public/app/app.js";export{C as app};import*as A from"./public/appInstallDialog.js";export{A as appInstallDialog};import*as h from"./public/barCode.js";export{h as barCode};import*as H from"./public/chat.js";export{H as chat};import*as T from"./public/clipboard.js";export{T as clipboard};import*as y from"./public/dialog/dialog.js";export{y as dialog};import*as E from"./public/nestedAppAuth.js";export{E as nestedAppAuth};import*as S from"./public/geoLocation/geoLocation.js";export{S as geoLocation};import*as F from"./public/pages/pages.js";export{F as pages};import*as I from"./public/menus.js";export{I as menus};import*as w from"./public/media.js";export{w as media};import*as D from"./public/secondaryBrowser.js";export{D as secondaryBrowser};import*as k from"./public/location.js";export{k as location};import*as B from"./public/meeting/meeting.js";export{B as meeting};import*as P from"./public/monetization.js";export{P as monetization};import*as L from"./public/calendar.js";export{L as calendar};import*as M from"./public/mail.js";export{M as mail};import*as z from"./public/teamsAPIs.js";export{z as teamsCore};import*as O from"./public/people.js";export{O as people};import*as U from"./public/profile.js";export{U as profile};import*as V from"./public/videoEffects.js";export{V as videoEffects};import*as W from"./public/search.js";export{W as search};import*as N from"./public/sharing/sharing.js";export{N as sharing};import*as R from"./public/stageView/stageView.js";export{R as stageView};import*as q from"./public/visualMedia/visualMedia.js";export{q as visualMedia};import*as G from"./public/webStorage.js";export{G as webStorage};import*as J from"./public/call.js";export{J as call};import*as K from"./public/appInitialization.js";export{K as appInitialization};import*as Q from"./public/thirdPartyCloudStorage.js";export{Q as thirdPartyCloudStorage};import*as X from"./public/settings.js";export{X as settings};import*as Y from"./public/tasks.js";export{Y as tasks};import*as Z from"./public/marketplace.js";export{Z as marketplace};
@@ -1 +1 @@
1
- const o="2.31.0";export{o as version};
1
+ const o="2.31.1";export{o as version};
@@ -837,6 +837,7 @@ __webpack_require__.d(__webpack_exports__, {
837
837
  ChannelType: () => (/* reexport */ ChannelType),
838
838
  ChildAppWindow: () => (/* reexport */ ChildAppWindow),
839
839
  DialogDimension: () => (/* reexport */ DialogDimension),
840
+ EduType: () => (/* reexport */ EduType),
840
841
  EmailAddress: () => (/* reexport */ EmailAddress),
841
842
  ErrorCode: () => (/* reexport */ ErrorCode),
842
843
  FileOpenPreference: () => (/* reexport */ FileOpenPreference),
@@ -3454,7 +3455,7 @@ function isSerializable(arg) {
3454
3455
  * @hidden
3455
3456
  * Package version.
3456
3457
  */
3457
- const version = "2.31.0";
3458
+ const version = "2.31.1";
3458
3459
 
3459
3460
  ;// ./src/internal/internalAPIs.ts
3460
3461