@googleworkspace/meet-addons 1.2.0-dev-783049490 → 1.2.0-dev-783469429
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/meet.addons.screenshare.d.ts +35 -35
- 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-783469429"));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",
|
|
@@ -1,40 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
// Original file: screenshare_info.types.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Information about the add-on that should be used when a user transitions
|
|
7
|
-
* from screen sharing to an in-meeting add-on experience.
|
|
8
|
-
*/
|
|
9
|
-
export interface AddonScreenshareInfo {
|
|
10
|
-
/**
|
|
11
|
-
* The Google Cloud project number of the add-on that Meet should start when
|
|
12
|
-
* transitioning from screen sharing to the Meet add-on.
|
|
13
|
-
*/
|
|
14
|
-
cloudProjectNumber: string;
|
|
15
|
-
/**
|
|
16
|
-
* Whether to start an activity when the add-on is opened. If a
|
|
17
|
-
* mainstage URL is provided, must be true.
|
|
18
|
-
*/
|
|
19
|
-
startActivityOnOpen: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Data supplied by the third-party that the add-on can use to initialize
|
|
22
|
-
* itself
|
|
23
|
-
*/
|
|
24
|
-
additionalData?: string;
|
|
25
|
-
/**
|
|
26
|
-
* The URL that the side panel opens after the add-on starts. Must
|
|
27
|
-
* belong to the same domain as the URLs specified in the add-on manifest.
|
|
28
|
-
*/
|
|
29
|
-
sidePanelUrl?: string;
|
|
30
|
-
/**
|
|
31
|
-
* The URL that the main stage opens after the add-on starts. Must
|
|
32
|
-
* belong to the same domain as the URLs specified in the add-on manifest.
|
|
33
|
-
*/
|
|
34
|
-
mainStageUrl?: string;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
3
|
// Original file: index.types.d.ts
|
|
39
4
|
|
|
40
5
|
|
|
@@ -68,3 +33,38 @@ declare global {
|
|
|
68
33
|
meet: MeetAddonScreenshareExport;
|
|
69
34
|
}
|
|
70
35
|
}
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
// Original file: screenshare_info.types.d.ts
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Information about the add-on that should be used when a user transitions
|
|
42
|
+
* from screen sharing to an in-meeting add-on experience.
|
|
43
|
+
*/
|
|
44
|
+
export interface AddonScreenshareInfo {
|
|
45
|
+
/**
|
|
46
|
+
* The Google Cloud project number of the add-on that Meet should start when
|
|
47
|
+
* transitioning from screen sharing to the Meet add-on.
|
|
48
|
+
*/
|
|
49
|
+
cloudProjectNumber: string;
|
|
50
|
+
/**
|
|
51
|
+
* Whether to start an activity when the add-on is opened. If a
|
|
52
|
+
* mainstage URL is provided, must be true.
|
|
53
|
+
*/
|
|
54
|
+
startActivityOnOpen: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Data supplied by the third-party that the add-on can use to initialize
|
|
57
|
+
* itself
|
|
58
|
+
*/
|
|
59
|
+
additionalData?: string;
|
|
60
|
+
/**
|
|
61
|
+
* The URL that the side panel opens after the add-on starts. Must
|
|
62
|
+
* belong to the same domain as the URLs specified in the add-on manifest.
|
|
63
|
+
*/
|
|
64
|
+
sidePanelUrl?: string;
|
|
65
|
+
/**
|
|
66
|
+
* The URL that the main stage opens after the add-on starts. Must
|
|
67
|
+
* belong to the same domain as the URLs specified in the add-on manifest.
|
|
68
|
+
*/
|
|
69
|
+
mainStageUrl?: string;
|
|
70
|
+
}
|
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-783469429",
|
|
5
5
|
"repository": "googleworkspace/meet",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
7
7
|
"homepage": "https://developers.google.com/meet/add-ons/guides/overview",
|