@stream-io/video-react-sdk 0.0.59 → 0.0.60

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
@@ -2,6 +2,13 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ### [0.0.60](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-0.0.59...@stream-io/video-react-sdk-0.0.60) (2023-07-03)
6
+
7
+
8
+ ### Documentation
9
+
10
+ * **react-sdk:** add PermissionNotification and PermissionRequests docs ([#731](https://github.com/GetStream/stream-video-js/issues/731)) ([7542e70](https://github.com/GetStream/stream-video-js/commit/7542e70eaca436164830d717ea90bdfa99ad5f15))
11
+
5
12
  ### [0.0.59](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-0.0.58...@stream-io/video-react-sdk-0.0.59) (2023-06-30)
6
13
 
7
14
  ### Dependency Updates
@@ -1,10 +1,6 @@
1
1
  import { OwnCapability } from '@stream-io/video-client';
2
2
  import { PropsWithChildren } from 'react';
3
3
  export type PermissionNotificationProps = PropsWithChildren<{
4
- /**
5
- * The permission to check for.
6
- */
7
- permission: OwnCapability;
8
4
  /**
9
5
  * Set this to true if there is ongoing request for the permission.
10
6
  */
@@ -24,6 +20,10 @@ export type PermissionNotificationProps = PropsWithChildren<{
24
20
  * the requested permission is awaiting approval.
25
21
  */
26
22
  messageAwaitingApproval: string;
23
+ /**
24
+ * The permission to check for.
25
+ */
26
+ permission: OwnCapability;
27
27
  /**
28
28
  * The time in milliseconds to display the notification.
29
29
  * Defaults to 3500ms.
package/package.json CHANGED
@@ -50,5 +50,5 @@
50
50
  "rimraf": "^3.0.2",
51
51
  "typescript": "^4.9.5"
52
52
  },
53
- "version": "0.0.59"
53
+ "version": "0.0.60"
54
54
  }
@@ -10,11 +10,6 @@ import {
10
10
  import { useHasPermissions } from '@stream-io/video-react-bindings';
11
11
 
12
12
  export type PermissionNotificationProps = PropsWithChildren<{
13
- /**
14
- * The permission to check for.
15
- */
16
- permission: OwnCapability;
17
-
18
13
  /**
19
14
  * Set this to true if there is ongoing request for the permission.
20
15
  */
@@ -38,6 +33,11 @@ export type PermissionNotificationProps = PropsWithChildren<{
38
33
  */
39
34
  messageAwaitingApproval: string;
40
35
 
36
+ /**
37
+ * The permission to check for.
38
+ */
39
+ permission: OwnCapability;
40
+
41
41
  /**
42
42
  * The time in milliseconds to display the notification.
43
43
  * Defaults to 3500ms.