@googleworkspace/meet-addons 1.2.0-dev-762147078 → 1.2.0-dev-762598258

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
@@ -21,7 +21,7 @@ function Fb(a,b,c,d){let e=!1;d=Cb(a,d,void 0,f=>{const g=lb(f,c,b);e=g!==f&&g!=
21
21
  function B(a,b,c,d){d=Lb(d);a:{var e=d;zb(a);const h=a.l;var f=h[k]|0;if(e==null){var g=Jb(h);if(Ib(g,h,f,c)===b)g.set(c,0);else break a}else{g=h;const m=Jb(g),n=Ib(m,g,f,c);n!==b&&(n&&(f=w(g,f,n)),m.set(c,b))}w(h,f,b,e)}d&&!l(d)&&Ab(a.l);return a}
22
22
  function Nb(a,b){zb(a);const c=a.l;let d=c[k]|0;if(b==null)return w(c,d,1),a;let e=b===Aa?7:b[k]|0,f=e;const g=Gb(e),h=g||Object.isFrozen(b);let m=!0,n=!0;for(let z=0;z<b.length;z++){var r=b[z];g||(r=l(r),m&&(m=!r),n&&(n=r))}g||(e=m?13:5,e=n?e&-4097:e|4096);h&&e===f||(b=[...b],f=0,e=Ob(e,d));e!==f&&(b[k]=e);d=w(c,d,1,b);2&e||!(4096&e||16&e)||Ab(c,d);return a}function Ob(a,b){return a=(2&b?a|2:a&-3)&-273}
23
23
  function Pb(a){a=v(a,1);a=a==null||typeof a==="boolean"?a:typeof a==="number"?!!a:void 0;return a!=null?a:!1}function Qb(a){a=v(a,1);var b=typeof a;a!=null&&(b==="bigint"?a=p(Ya(64,a)):db(a)?b==="string"?(b=ab(Number(a)),Za(b)?a=p(b):(b=a.indexOf("."),b!==-1&&(a=a.substring(0,b)),a=Ca()?p(Ya(64,BigInt(a))):p(gb(a)))):Za(a)?a=p(hb(a)):(a=ab(a),Za(a)?a=String(a):(b=String(a),ib(b)?a=b:(Ta(a),a=Xa())),a=p(a)):a=void 0);return a!=null?a:Bb}
24
- 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:$a(a)?a|0:void 0;return a!=null?a:0}function E(a,b,c,d){c=x(a,d)===c?c:-1;return Kb(a,b,c)}function F(a,b,c){if(c!=null){if(!$a(c))throw va("enum");c|=0}return y(a,b,c,0)};function Rb(){var a=Sb||(Sb=Tb("[1,2,0]"));a=xb(a);a=Db(a,4,u("dev-762147078"));const b=a.l,c=b[k]|0;return l(a,c)?a:vb(a,b,c)?wb(a,b):new a.constructor(ub(b,c,!0))}var I=class{constructor(a){this.l=rb(a)}toJSON(){return qb(this)}};I.prototype[za]=Da;I.prototype.toString=function(){return this.l.toString()};function Ub(a){return b=>{if(b==null||b=="")b=new a;else{b=JSON.parse(b);if(!Array.isArray(b))throw Error("dnarr");b[k]|=32;b=new a(b)}return b}};var Tb=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[k]|=34;return new a(b)}}(class extends I{});var Vb=class extends I{};function Wb(a){var b=new Xb(500);let c=0,d;return(...e)=>{Yb(b)?a(...e):(d=()=>void a(...e),c||(c=setTimeout(()=>{c=0;let f;(f=d)==null||f()},Zb(b))))}}function $b(a){var b=new Xb(100),c=Promise.resolve();return(...d)=>Yb(b)?a(...d):c};function Yb(a){return ac(a,a.index)>=a.g?(a.h[a.index]=Date.now(),a.index=(a.index+1)%1,!0):!1}function Zb(a){const b=a.g;a=ac(a,a.index);return a>=b?0:b-a}function ac(a,b){let c;return Date.now()-((c=a.h[b])!=null?c:-1*a.g)}var Xb=class{constructor(a){this.g=a;this.h=[];this.index=0}};var bc=class extends I{},cc=[2,3];var dc=class extends I{};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."},ec={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
+ 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:$a(a)?a|0:void 0;return a!=null?a:0}function E(a,b,c,d){c=x(a,d)===c?c:-1;return Kb(a,b,c)}function F(a,b,c){if(c!=null){if(!$a(c))throw va("enum");c|=0}return y(a,b,c,0)};function Rb(){var a=Sb||(Sb=Tb("[1,2,0]"));a=xb(a);a=Db(a,4,u("dev-762598258"));const b=a.l,c=b[k]|0;return l(a,c)?a:vb(a,b,c)?wb(a,b):new a.constructor(ub(b,c,!0))}var I=class{constructor(a){this.l=rb(a)}toJSON(){return qb(this)}};I.prototype[za]=Da;I.prototype.toString=function(){return this.l.toString()};function Ub(a){return b=>{if(b==null||b=="")b=new a;else{b=JSON.parse(b);if(!Array.isArray(b))throw Error("dnarr");b[k]|=32;b=new a(b)}return b}};var Tb=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[k]|=34;return new a(b)}}(class extends I{});var Vb=class extends I{};function Wb(a){var b=new Xb(500);let c=0,d;return(...e)=>{Yb(b)?a(...e):(d=()=>void a(...e),c||(c=setTimeout(()=>{c=0;let f;(f=d)==null||f()},Zb(b))))}}function $b(a){var b=new Xb(100),c=Promise.resolve();return(...d)=>Yb(b)?a(...d):c};function Yb(a){return ac(a,a.index)>=a.g?(a.h[a.index]=Date.now(),a.index=(a.index+1)%1,!0):!1}function Zb(a){const b=a.g;a=ac(a,a.index);return a>=b?0:b-a}function ac(a,b){let c;return Date.now()-((c=a.h[b])!=null?c:-1*a.g)}var Xb=class{constructor(a){this.g=a;this.h=[];this.index=0}};var bc=class extends I{},cc=[2,3];var dc=class extends I{};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."},ec={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
25
  fc={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."},hc={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."},ic={errorType:"NotSupportedInStandalone",
26
26
  message:"This method is not supported in standalone mode.",i:"Do not call this method in standalone mode."},jc={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."},kc={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)."},
27
27
  lc={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."},mc={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-762147078",
4
+ "version": "1.2.0-dev-762598258",
5
5
  "repository": "googleworkspace/meet",
6
6
  "license": "SEE LICENSE IN LICENSE",
7
7
  "homepage": "https://developers.google.com/meet/add-ons/guides/overview",