@staffbase/widget-sdk 3.4.0-beta.2 → 3.4.0-beta.3

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [3.4.0-beta.3](https://github.com/Staffbase/widget-sdk/compare/3.4.0-beta.2...3.4.0-beta.3) (2021-11-23)
2
+
3
+
4
+ ### Documentation
5
+
6
+ * adds null return description ([888ef3c](https://github.com/Staffbase/widget-sdk/commit/888ef3c289715e6a6a4a66333dec4565360f77cc))
7
+
1
8
  # [3.4.0-beta.2](https://github.com/Staffbase/widget-sdk/compare/3.4.0-beta.1...3.4.0-beta.2) (2021-11-23)
2
9
 
3
10
 
package/lib/widget-api.ts CHANGED
@@ -61,8 +61,8 @@ export interface WidgetApi {
61
61
  * refresh the token.
62
62
  *
63
63
  * @param type The name of the integration. ("ms365")
64
- * @returns A promise containing the IntegrationToken is returned. In case of an error,
65
- * the promise is rejected.
64
+ * @returns A promise containing the IntegrationToken is returned. If the user session is
65
+ * not existing, null is returned. In case of an error, the promise is rejected.
66
66
  */
67
67
  getIntegration(type: IntegrationType): Promise<IntegrationToken | null>;
68
68
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@staffbase/widget-sdk",
3
- "version": "3.4.0-beta.2",
3
+ "version": "3.4.0-beta.3",
4
4
  "description": "Staffbase SDK for Custom Widgets",
5
5
  "keywords": [
6
6
  "web-components"