@googleworkspace/meet-addons 1.2.0-dev-786839241 → 1.2.0-dev-787257396
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
|
@@ -21,7 +21,7 @@ function Lb(a,b,c,d){let e=!1;d=Ib(a,d,void 0,f=>{const g=rb(f,c,b);e=g!==f&&g!=
|
|
|
21
21
|
function B(a,b,c,d){d=Rb(d);a:{var e=d;Fb(a);const h=a.l;var f=h[k]|0;if(e==null){var g=Pb(h);if(Ob(g,h,f,c)===b)g.set(c,0);else break a}else{g=h;const m=Pb(g),n=Ob(m,g,f,c);n!==b&&(n&&(f=w(g,f,n)),m.set(c,b))}w(h,f,b,e)}d&&!l(d)&&Gb(a.l);return a}
|
|
22
22
|
function Tb(a,b){Fb(a);const c=a.l;let d=c[k]|0;if(b==null)return w(c,d,1),a;let e=b===Ga?7:b[k]|0,f=e;const g=Mb(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=Ub(e,d));e!==f&&(b[k]=e);d=w(c,d,1,b);2&e||!(4096&e||16&e)||Gb(c,d);return a}function Ub(a,b){return a=(2&b?a|2:a&-3)&-273}
|
|
23
23
|
function Vb(a){a=v(a,1);a=a==null||typeof a==="boolean"?a:typeof a==="number"?!!a:void 0;return a!=null?a:!1}function Wb(a){a=v(a,1);var b=typeof a;a!=null&&(b==="bigint"?a=p(db(64,a)):jb(a)?b==="string"?(b=gb(Number(a)),eb(b)?a=p(b):(b=a.indexOf("."),b!==-1&&(a=a.substring(0,b)),a=Ia()?p(db(64,BigInt(a))):p(mb(a)))):eb(a)?a=p(pb(a)):(a=gb(a),eb(a)?a=String(a):(b=String(a),qb(b)?a=b:(Za(a),a=cb())),a=p(a)):a=void 0);return a!=null?a:Hb}
|
|
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:fb(a)?a|0:void 0;return a!=null?a:0}function E(a,b,c,d){c=x(a,d)===c?c:-1;return Qb(a,b,c)}function F(a,b,c){if(c!=null){if(!fb(c))throw Ba("enum");c|=0}return y(a,b,c,0)};function Xb(){var a=Yb||(Yb=Zb("[1,2,0]"));a=Db(a);a=Jb(a,4,u("dev-
|
|
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:fb(a)?a|0:void 0;return a!=null?a:0}function E(a,b,c,d){c=x(a,d)===c?c:-1;return Qb(a,b,c)}function F(a,b,c){if(c!=null){if(!fb(c))throw Ba("enum");c|=0}return y(a,b,c,0)};function Xb(){var a=Yb||(Yb=Zb("[1,2,0]"));a=Db(a);a=Jb(a,4,u("dev-787257396"));const b=a.l,c=b[k]|0;return l(a,c)?a:Bb(a,b,c)?Cb(a,b):new a.constructor(Ab(b,c,!0))}var I=class{constructor(a){this.l=xb(a)}toJSON(){return wb(this)}};I.prototype[Fa]=Ja;I.prototype.toString=function(){return this.l.toString()};function $b(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 Zb=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 ac=class extends I{};function bc(a){var b=new cc(500);let c=0,d;return(...e)=>{dc(b)?a(...e):(d=()=>void a(...e),c||(c=setTimeout(()=>{c=0;let f;(f=d)==null||f()},ec(b))))}}function fc(a){var b=new cc(100),c=Promise.resolve();return(...d)=>dc(b)?a(...d):c};function dc(a){return hc(a,a.index)>=a.g?(a.h[a.index]=Date.now(),a.index=(a.index+1)%1,!0):!1}function ec(a){const b=a.g;a=hc(a,a.index);return a>=b?0:b-a}function hc(a,b){let c;return Date.now()-((c=a.h[b])!=null?c:-1*a.g)}var cc=class{constructor(a){this.g=a;this.h=[];this.index=0}};var ic=class extends I{},jc=[2,3];var kc=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."},lc={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
|
mc={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."},nc={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."},oc={errorType:"NotSupportedInStandalone",
|
|
26
26
|
message:"This method is not supported in standalone mode.",i:"Do not call this method in standalone mode."},pc={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."},qc={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
|
rc={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."},sc={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-787257396",
|
|
5
5
|
"repository": "googleworkspace/meet",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
7
7
|
"homepage": "https://developers.google.com/meet/add-ons/guides/overview",
|