@googleworkspace/meet-addons 1.2.0-dev-749179962 → 1.2.0-dev-750331581
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.
- package/meet.addons.mjs +1 -1
- 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 D(a,b,c,d){wb(a);const e=a.j;z(e,e[m]|0,b,(d==="0"?Number(c)===0:c===d)?void 0:c);return a}function C(a,b){a=a.j;return Db(Eb(a),a,void 0,b)}function Eb(a){let b;return(b=a[xa])!=null?b:a[xa]=new Map}function Db(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 Ab(a,b,c,d){a=y(a,d,void 0,e=>mb(e,c,b));if(a!=null)return a}
|
|
21
21
|
function Fb(a,b,c){let d=a.j,e=d[m]|0;b=Ab(d,e,b,c);if(b==null)return b;e=d[m]|0;if(!n(a,e)){const f=ub(b);f!==b&&(vb(a)&&(d=a.j,e=d[m]|0),b=f,z(d,e,c,b))}return b}function Gb(a){a==null&&(a=void 0);return a}function Hb(a,b,c){c=Gb(c);yb(a,b,c);return a}function E(a,b,c,d){d=Gb(d);a:{wb(a);const g=a.j;var e=g[m]|0;if(d==null){var f=Eb(g);if(Db(f,g,e,c)===b)f.set(c,0);else break a}else{f=g;const l=Eb(f),h=Db(l,f,e,c);h!==b&&(h&&(e=z(f,e,h)),l.set(c,b))}z(g,e,b,d)}return a}
|
|
22
22
|
function Ib(a,b){wb(a);const c=a.j;let d=c[m]|0;if(b==null)return z(c,d,1),a;let e=b[m]|0,f=e;const g=Bb(e),l=g||Object.isFrozen(b);let h=!0,p=!0;for(let t=0;t<b.length;t++){var A=b[t];g||(A=n(A),h&&(h=!A),p&&(p=A))}g||(e=h?13:5,e=p?e|16:e&-17);l&&e===f||(b=[...b],f=0,e=Jb(e,d),e=Kb(e,d,!0));e!==f&&(b[m]=e);z(c,d,1,b);return a}function Jb(a,b){2&a&&(a|=16);a=(2&b?a|2:a&-3)|32;return a&=-1025}function Kb(a,b,c){32&b&&c||(a&=-33);return a}
|
|
23
|
-
function Lb(a){a=y(a.j,1);a=a==null||typeof a==="boolean"?a:typeof a==="number"?!!a:void 0;return a!=null?a:!1}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:$a(a)?a|0:void 0;return a!=null?a:0}function H(a,b,c,d){c=C(a,d)===c?c:-1;return Fb(a,b,c)}function J(a,b,c){if(c!=null){if(!$a(c))throw va("enum");c|=0}return D(a,b,c,0)};function Mb(){var a=Nb||(Nb=Ob("[1,2,0]"));a=ub(a);a=yb(a,4,v("dev-
|
|
23
|
+
function Lb(a){a=y(a.j,1);a=a==null||typeof a==="boolean"?a:typeof a==="number"?!!a:void 0;return a!=null?a:!1}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:$a(a)?a|0:void 0;return a!=null?a:0}function H(a,b,c,d){c=C(a,d)===c?c:-1;return Fb(a,b,c)}function J(a,b,c){if(c!=null){if(!$a(c))throw va("enum");c|=0}return D(a,b,c,0)};function Mb(){var a=Nb||(Nb=Ob("[1,2,0]"));a=ub(a);a=yb(a,4,v("dev-750331581"));const b=a.j,c=b[m]|0;return n(a,c)?a:new a.constructor(x(b,c,tb,!0,!0))}var K=class{constructor(a){this.j=rb(a)}toJSON(){return qb(this)}};K.prototype[za]=Ca;K.prototype.toString=function(){return this.j.toString()};function Pb(a){return b=>{if(b==null||b=="")b=new a;else{b=JSON.parse(b);if(!Array.isArray(b))throw Error("dnarr");b[m]|=32;b=new a(b)}return b}};var Ob=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[m]|=34;return new a(b)}}(class extends K{});var Qb=class extends K{};function Rb(a){var b=new Sb(500);let c=0,d;return(...e)=>{Tb(b)?a(...e):(d=()=>void a(...e),c||(c=setTimeout(()=>{c=0;let f;(f=d)==null||f()},Ub(b))))}}function Vb(a){var b=new Sb(100),c=Promise.resolve();return(...d)=>Tb(b)?a(...d):c};function Tb(a){return Wb(a,a.index)>=a.g?(a.h[a.index]=Date.now(),a.index=(a.index+1)%1,!0):!1}function Ub(a){const b=a.g;a=Wb(a,a.index);return a>=b?0:b-a}function Wb(a,b){let c;return Date.now()-((c=a.h[b])!=null?c:-1*a.g)}var Sb=class{constructor(a){this.g=a;this.h=[];this.index=0}};var Xb=class extends K{},Yb=[2,3];var Zb=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."},$b={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
|
ac={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."},bc={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."},cc={errorType:"NotSupportedInStandalone",
|
|
25
25
|
message:"This method is not supported in standalone mode.",i:"Do not call this method in standalone mode."},dc={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."},ec={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
|
fc={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."},gc={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-
|
|
4
|
+
"version": "1.2.0-dev-750331581",
|
|
5
5
|
"repository": "googleworkspace/meet",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
7
7
|
"homepage": "https://developers.google.com/meet/add-ons/guides/overview",
|