@googleworkspace/meet-addons 1.2.0-dev-832022188 → 1.2.0-dev-833454069

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/meet.addons.mjs +1 -1
  2. package/package.json +1 -1
package/meet.addons.mjs CHANGED
@@ -22,7 +22,7 @@ function y(a,b,c,d){Cb(a);const e=a.l;w(e,e[l]|0,b,(d==="0"?Number(c)===0:c===d)
22
22
  function Ib(a,b,c,d){let e=!1;d=Fb(a,d,void 0,f=>{const g=ob(f,c,b);e=g!==f&&g!=null;return g});if(d!=null)return e&&!m(d)&&Db(a,b),d}function Nb(a,b,c){let d=a.l,e=d[l]|0;b=Ib(d,e,b,c);if(b==null)return b;e=d[l]|0;if(!m(a,e)){const f=Ab(b);f!==b&&(Bb(a)&&(d=a.l,e=d[l]|0),b=f,e=w(d,e,c,b),Db(d,e))}return b}function Ob(a){a==null&&(a=void 0);return a}function Pb(a,b,c){c=Ob(c);Gb(a,b,c);c&&!m(c)&&Db(a.l);return a}
23
23
  function B(a,b,c,d){d=Ob(d);a:{var e=d;Cb(a);const h=a.l;var f=h[l]|0;if(e==null){var g=Mb(h);if(Lb(g,h,f,c)===b)g.set(c,0);else break a}else{g=h;const k=Mb(g),n=Lb(k,g,f,c);n!==b&&(n&&(f=w(g,f,n)),k.set(c,b))}w(h,f,b,e)}d&&!m(d)&&Db(a.l);return a}
24
24
  function Qb(a,b){Cb(a);const c=a.l;let d=c[l]|0;if(b==null)return w(c,d,1),a;let e=b===Da?7:b[l]|0,f=e;const g=Jb(e),h=g||Object.isFrozen(b);let k=!0,n=!0;for(let z=0;z<b.length;z++){var r=b[z];g||(r=m(r),k&&(k=!r),n&&(n=r))}g||(e=k?13:5,e=n?e&-4097:e|4096);h&&e===f||(b=[...b],f=0,e=Rb(e,d));e!==f&&(b[l]=e);d=w(c,d,1,b);2&e||!(4096&e||16&e)||Db(c,d);return a}function Rb(a,b){return a=(2&b?a|2:a&-3)&-273}
25
- function Sb(a){a=v(a,1);a=a==null||typeof a==="boolean"?a:typeof a==="number"?!!a:void 0;return a!=null?a:!1}function Tb(a){a=ma?v(a,1,void 0,nb):nb(v(a,1));return a!=null?a:Eb}function C(a,b){a=v(a,b);a=a==null||typeof a==="string"?a:void 0;return a!=null?a:""}function D(a,b){a=v(a,b);a=a==null?a:cb(a)?a|0:void 0;return a!=null?a:0}function E(a,b,c,d){c=x(a,d)===c?c:-1;return Nb(a,b,c)}function F(a,b,c){if(c!=null){if(!cb(c))throw ya("enum");c|=0}return y(a,b,c,0)};function Ub(){var a=Vb||(Vb=Wb("[1,2,0]"));a=Ab(a);a=Gb(a,4,u("dev-832022188"));const b=a.l,c=b[l]|0;return m(a,c)?a:yb(a,b,c)?zb(a,b):new a.constructor(xb(b,c,!0))}var G=class{constructor(a){this.l=ub(a,void 0,void 0,2048)}toJSON(){return tb(this)}};G.prototype[Ca]=Ga;G.prototype.toString=function(){return this.l.toString()};function Xb(a){return b=>{if(b==null||b=="")b=new a;else{b=JSON.parse(b);if(!Array.isArray(b))throw Error("dnarr");b[l]|=32;b=new a(b)}return b}};var Wb=function(a){return b=>{b=JSON.parse(b);if(!Array.isArray(b)){var c=typeof b;throw Error("Expected jspb data to be an array, got "+(c!="object"?c:b?Array.isArray(b)?"array":c:"null")+": "+b);}b[l]|=34;return new a(b)}}(class extends G{});var Yb=class extends G{};function Zb(a){var b=new $b(500);let c=0,d;return(...e)=>{ac(b)?a(...e):(d=()=>void a(...e),c||(c=setTimeout(()=>{c=0;let f;(f=d)==null||f()},bc(b))))}}function cc(a){var b=new $b(100),c=Promise.resolve();return(...d)=>ac(b)?a(...d):c};function ac(a){return dc(a,a.index)>=a.g?(a.h[a.index]=Date.now(),a.index=(a.index+1)%1,!0):!1}function bc(a){const b=a.g;a=dc(a,a.index);return a>=b?0:b-a}function dc(a,b){let c;return Date.now()-((c=a.h[b])!=null?c:-1*a.g)}var $b=class{constructor(a){this.g=a;this.h=[];this.index=0}};var ec=class extends G{},fc=[2,3];var hc=class extends G{};var J=class extends Error{constructor({errorType:a,message:b,i:c}){super(`Meet add-on SDK error: ${`${b}${c?` - ${c}`:""}`}`);this.errorType=a}},K={errorType:"InternalError",message:"An unexpected error has occurred.",i:"No further information is available."},ic={errorType:"MissingUrlParameter",message:"Missing required Meet SDK URL parameter",i:"This parameter is automatically appended by Meet to the iframe URL. Ensure that your infrastructure does not strip URL parameters (e.g. as part of a redirect)."},
25
+ function Sb(a){a=v(a,1);a=a==null||typeof a==="boolean"?a:typeof a==="number"?!!a:void 0;return a!=null?a:!1}function Tb(a){a=ma?v(a,1,void 0,nb):nb(v(a,1));return a!=null?a:Eb}function C(a,b){a=v(a,b);a=a==null||typeof a==="string"?a:void 0;return a!=null?a:""}function D(a,b){a=v(a,b);a=a==null?a:cb(a)?a|0:void 0;return a!=null?a:0}function E(a,b,c,d){c=x(a,d)===c?c:-1;return Nb(a,b,c)}function F(a,b,c){if(c!=null){if(!cb(c))throw ya("enum");c|=0}return y(a,b,c,0)};function Ub(){var a=Vb||(Vb=Wb("[1,2,0]"));a=Ab(a);a=Gb(a,4,u("dev-833454069"));const b=a.l,c=b[l]|0;return m(a,c)?a:yb(a,b,c)?zb(a,b):new a.constructor(xb(b,c,!0))}var G=class{constructor(a){this.l=ub(a,void 0,void 0,2048)}toJSON(){return tb(this)}};G.prototype[Ca]=Ga;G.prototype.toString=function(){return this.l.toString()};function Xb(a){return b=>{if(b==null||b=="")b=new a;else{b=JSON.parse(b);if(!Array.isArray(b))throw Error("dnarr");b[l]|=32;b=new a(b)}return b}};var Wb=function(a){return b=>{b=JSON.parse(b);if(!Array.isArray(b)){var c=typeof b;throw Error("Expected jspb data to be an array, got "+(c!="object"?c:b?Array.isArray(b)?"array":c:"null")+": "+b);}b[l]|=34;return new a(b)}}(class extends G{});var Yb=class extends G{};function Zb(a){var b=new $b(500);let c=0,d;return(...e)=>{ac(b)?a(...e):(d=()=>void a(...e),c||(c=setTimeout(()=>{c=0;let f;(f=d)==null||f()},bc(b))))}}function cc(a){var b=new $b(100),c=Promise.resolve();return(...d)=>ac(b)?a(...d):c};function ac(a){return dc(a,a.index)>=a.g?(a.h[a.index]=Date.now(),a.index=(a.index+1)%1,!0):!1}function bc(a){const b=a.g;a=dc(a,a.index);return a>=b?0:b-a}function dc(a,b){let c;return Date.now()-((c=a.h[b])!=null?c:-1*a.g)}var $b=class{constructor(a){this.g=a;this.h=[];this.index=0}};var ec=class extends G{},fc=[2,3];var hc=class extends G{};var J=class extends Error{constructor({errorType:a,message:b,i:c}){super(`Meet add-on SDK error: ${`${b}${c?` - ${c}`:""}`}`);this.errorType=a}},K={errorType:"InternalError",message:"An unexpected error has occurred.",i:"No further information is available."},ic={errorType:"MissingUrlParameter",message:"Missing required Meet SDK URL parameter",i:"This parameter is automatically appended by Meet to the iframe URL. Ensure that your infrastructure does not strip URL parameters (e.g. as part of a redirect)."},
26
26
  jc={errorType:"NeedsMainStageContext",message:"This method can only be invoked if the addon is running in the main stage.",i:"Use getFrameType to check whether the addon is running in the main stage before invoking this method."},kc={errorType:"NeedsSidePanelContext",message:"This method can only be invoked if the addon is running in the side panel.",i:"Use getFrameType to check whether the addon is running in the side panel before invoking this method."},lc={errorType:"NotSupportedInStandalone",
27
27
  message:"This method is not supported in standalone mode.",i:"Do not call this method in standalone mode."},mc={errorType:"MustBeIframed",message:"The SDK must be run in an iframe as part of a Google Meet add-on.",i:"See https://developers.google.com/meet/add-ons/guides/deploy-add-on to deploy to Meet."},nc={errorType:"InternalError",message:"The frame type URL parameter is set to an unexpected value.",i:"This parameter is automatically appended by Meet to the iframe URL. Ensure that your infrastructure does not modify URL parameters (e.g. as part of a redirect)."},
28
28
  oc={errorType:"InvalidCloudProjectNumber",message:"Cloud Project Number provided by meet does not match the one passed in by the SDK. Ensure that the correct Cloud Project Number is passed to the SDK as a string.",i:"This parameter is automatically appended by Meet to the iframe URL. Ensure that your infrastructure does not modify URL parameters (e.g. as part of a redirect) and ensure that the correct Cloud Project Number was passed into the SDK as a string."},pc={errorType:"DestinationNotReady",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@googleworkspace/meet-addons",
3
3
  "description": "The Google Meet add-ons SDK lets you embed your app into Google Meet as an add-on where users can discover, share, and collaborate in the app without leaving Meet",
4
- "version": "1.2.0-dev-832022188",
4
+ "version": "1.2.0-dev-833454069",
5
5
  "repository": "googleworkspace/meet",
6
6
  "license": "SEE LICENSE IN LICENSE",
7
7
  "homepage": "https://developers.google.com/meet/add-ons/guides/overview",