bigbluebutton-html-plugin-sdk 0.0.24 → 0.0.25

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/README.md CHANGED
@@ -26,6 +26,11 @@ SDK for developing BigBlueButton plugins, examples of implementations can be fou
26
26
 
27
27
  - User list item additional information (item, label)
28
28
 
29
+ ### Getters available through the API:
30
+ - `getSessionToken`: returns the user session token located on the user's URL.
31
+
32
+ - `getJoinUrl`: returns the join url associated with the parameters passed as an argument. Since it fetches the BigBlueButton API, this getter method is asynchronous.
33
+
29
34
  ### Realtime data consumption
30
35
  - `useCurrentPresentation` hook: provides information regarding the current presentation;
31
36
 
@@ -35,5 +40,7 @@ SDK for developing BigBlueButton plugins, examples of implementations can be fou
35
40
 
36
41
  - `useUsersBasicInfo` hook: provides information regarding all users (only crucial information: userId, name and role);
37
42
 
43
+ - `useCustomSubscription` hook: with this hook, the developer can query pretty much anything graphql can provide. Note: Make sure that, on BBB version change, the custom subscriptions you make will work as expected.
44
+
38
45
  ### Real time data exchange
39
46
  - `useDataChannel` hook: this will allow you to exchange information (Send and receive) amongst different users through the same plugin;
@@ -1 +1,3 @@
1
- export declare function getJoinUrl(parameters: Map<string, string>): Promise<string>;
1
+ export declare function getJoinUrl(parameters: {
2
+ [key: string]: string;
3
+ }): Promise<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"getter.js","sourceRoot":"","sources":["../../../../../src/core/auxiliar/join-url/getter.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA0D;AAE1D,SAAS,qBAAqB,CAAC,UAA+B;IAC5D,IAAM,WAAW,GAAG,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC;SAC3C,GAAG,CAAC,UAAC,EAAY;YAAX,GAAG,QAAA,EAAE,KAAK,QAAA;QAAM,OAAA,UAAG,kBAAkB,CAAC,GAAG,CAAC,cAAI,kBAAkB,CAAC,KAAK,CAAC,C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CAAC,EAAA;;oBAA3B,QAAQ,GAAG,SAAgB;oBACb,qBAAM,QAAQ,CAAC,IAAI,EAAE,EAAA;;oBAAnC,WAAW,GAAG,SAAqB;oBACzC,sBAAO,WAAW,CAAC,QAAQ,CAAC,GAAa,EAAC;;;;CAC3C;AAND,gCAMC"}
@@ -1 +1,3 @@
1
- export type GetJoinUrlFunction = (params: Map<string, string>) => Promise<string>;
1
+ export type GetJoinUrlFunction = (params: {
2
+ [key: string]: string;
3
+ }) => Promise<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bigbluebutton-html-plugin-sdk",
3
- "version": "0.0.24",
3
+ "version": "0.0.25",
4
4
  "homepage": "https://github.com/bigbluebutton/bigbluebutton-html-plugin-sdk",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",