@googleworkspace/meet-addons 1.2.0-dev-751591479 → 1.2.0-dev-752467229

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
@@ -20,7 +20,7 @@ function z(a,b,c,d){const e=c+-1;var f=a.length-1;if(f>=0&&e>=f){const g=a[f];if
20
20
  function B(a,b,c,d){yb(a);const e=a.j;z(e,e[l]|0,b,(d==="0"?Number(c)===0:c===d)?void 0:c);return a}function A(a,b){a=a.j;return Fb(Gb(a),a,void 0,b)}function Gb(a){let b;return(b=a[ya])!=null?b:a[ya]=new Map}function Fb(a,b,c,d){let e=a.get(d);if(e!=null)return e;e=0;for(let f=0;f<d.length;f++){const g=d[f];y(b,g)!=null&&(e!==0&&(c=z(b,c,e)),e=g)}a.set(d,e);return e}function Cb(a,b,c,d){a=y(a,d,void 0,e=>mb(e,c,b));if(a!=null)return a}
21
21
  function Hb(a,b,c){let d=a.j,e=d[l]|0;b=Cb(d,e,b,c);if(b==null)return b;e=d[l]|0;if(!m(a,e)){const f=wb(b);f!==b&&(xb(a)&&(d=a.j,e=d[l]|0),b=f,z(d,e,c,b))}return b}function Ib(a){a==null&&(a=void 0);return a}function Jb(a,b,c){c=Ib(c);Ab(a,b,c);return a}function C(a,b,c,d){d=Ib(d);a:{yb(a);const g=a.j;var e=g[l]|0;if(d==null){var f=Gb(g);if(Fb(f,g,e,c)===b)f.set(c,0);else break a}else{f=g;const k=Gb(f),n=Fb(k,f,e,c);n!==b&&(n&&(e=z(f,e,n)),k.set(c,b))}z(g,e,b,d)}return a}
22
22
  function Kb(a,b){yb(a);const c=a.j;let d=c[l]|0;if(b==null)return z(c,d,1),a;let e=b===Ba?7:b[l]|0,f=e;const g=Db(e),k=g||Object.isFrozen(b);let n=!0,p=!0;for(let D=0;D<b.length;D++){var t=b[D];g||(t=m(t),n&&(n=!t),p&&(p=t))}g||(e=n?13:5,e=p?e&-8193:e|8192);k&&e===f||(b=[...b],f=0,e=Lb(e,d));e!==f&&(b[l]=e);z(c,d,1,b);return a}function Lb(a,b){return a=(2&b?a|2:a&-3)&-273}function Mb(a){a=y(a.j,1);a=a==null||typeof a==="boolean"?a:typeof a==="number"?!!a:void 0;return a!=null?a:!1}
23
- function F(a,b){a=y(a.j,b);a=a==null||typeof a==="string"?a:void 0;return a!=null?a:""}function G(a,b){a=y(a.j,b);a=a==null?a:ab(a)?a|0:void 0;return a!=null?a:0}function H(a,b,c,d){c=A(a,d)===c?c:-1;return Hb(a,b,c)}function I(a,b,c){if(c!=null){if(!ab(c))throw wa("enum");c|=0}return B(a,b,c,0)};function Nb(){var a=Ob||(Ob=Pb("[1,2,0]"));a=wb(a);a=Ab(a,4,v("dev-751591479"));const b=a.j,c=b[l]|0;return m(a,c)?a:new a.constructor(vb(b,c))}var K=class{constructor(a){this.j=sb(a)}toJSON(){return rb(this)}};K.prototype[Aa]=Da;K.prototype.toString=function(){return this.j.toString()};function Qb(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 Pb=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 K{});var Rb=class extends K{};function Sb(a){var b=new Tb(500);let c=0,d;return(...e)=>{Ub(b)?a(...e):(d=()=>void a(...e),c||(c=setTimeout(()=>{c=0;let f;(f=d)==null||f()},Vb(b))))}}function Wb(a){var b=new Tb(100),c=Promise.resolve();return(...d)=>Ub(b)?a(...d):c};function Ub(a){return Xb(a,a.index)>=a.g?(a.h[a.index]=Date.now(),a.index=(a.index+1)%1,!0):!1}function Vb(a){const b=a.g;a=Xb(a,a.index);return a>=b?0:b-a}function Xb(a,b){let c;return Date.now()-((c=a.h[b])!=null?c:-1*a.g)}var Tb=class{constructor(a){this.g=a;this.h=[];this.index=0}};var Yb=class extends K{},Zb=[2,3];var $b=class extends K{};var L=class extends Error{constructor({errorType:a,message:b,i:c}){super(`Meet add-on SDK error: ${`${b}${c?` - ${c}`:""}`}`);this.errorType=a}},M={errorType:"InternalError",message:"An unexpected error has occurred.",i:"No further information is available."},ac={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)."},
23
+ function F(a,b){a=y(a.j,b);a=a==null||typeof a==="string"?a:void 0;return a!=null?a:""}function G(a,b){a=y(a.j,b);a=a==null?a:ab(a)?a|0:void 0;return a!=null?a:0}function H(a,b,c,d){c=A(a,d)===c?c:-1;return Hb(a,b,c)}function I(a,b,c){if(c!=null){if(!ab(c))throw wa("enum");c|=0}return B(a,b,c,0)};function Nb(){var a=Ob||(Ob=Pb("[1,2,0]"));a=wb(a);a=Ab(a,4,v("dev-752467229"));const b=a.j,c=b[l]|0;return m(a,c)?a:new a.constructor(vb(b,c))}var K=class{constructor(a){this.j=sb(a)}toJSON(){return rb(this)}};K.prototype[Aa]=Da;K.prototype.toString=function(){return this.j.toString()};function Qb(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 Pb=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 K{});var Rb=class extends K{};function Sb(a){var b=new Tb(500);let c=0,d;return(...e)=>{Ub(b)?a(...e):(d=()=>void a(...e),c||(c=setTimeout(()=>{c=0;let f;(f=d)==null||f()},Vb(b))))}}function Wb(a){var b=new Tb(100),c=Promise.resolve();return(...d)=>Ub(b)?a(...d):c};function Ub(a){return Xb(a,a.index)>=a.g?(a.h[a.index]=Date.now(),a.index=(a.index+1)%1,!0):!1}function Vb(a){const b=a.g;a=Xb(a,a.index);return a>=b?0:b-a}function Xb(a,b){let c;return Date.now()-((c=a.h[b])!=null?c:-1*a.g)}var Tb=class{constructor(a){this.g=a;this.h=[];this.index=0}};var Yb=class extends K{},Zb=[2,3];var $b=class extends K{};var L=class extends Error{constructor({errorType:a,message:b,i:c}){super(`Meet add-on SDK error: ${`${b}${c?` - ${c}`:""}`}`);this.errorType=a}},M={errorType:"InternalError",message:"An unexpected error has occurred.",i:"No further information is available."},ac={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)."},
24
24
  bc={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."},cc={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."},dc={errorType:"NotSupportedInStandalone",
25
25
  message:"This method is not supported in standalone mode.",i:"Do not call this method in standalone mode."},ec={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."},fc={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)."},
26
26
  gc={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."},hc={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-751591479",
4
+ "version": "1.2.0-dev-752467229",
5
5
  "repository": "googleworkspace/meet",
6
6
  "license": "SEE LICENSE IN LICENSE",
7
7
  "homepage": "https://developers.google.com/meet/add-ons/guides/overview",