react-covideo-embed 1.0.7 → 1.0.9

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
@@ -35,6 +35,11 @@ Explore the capabilities of react-covideo-embed through our [Demo Project](https
35
35
 
36
36
  ## Props
37
37
 
38
+ ### `apikey`
39
+
40
+ - **Type**: `string`
41
+ - **Description**: Used for tracking the origin of requests from this npm module.
42
+
38
43
  ### `token` (optional)
39
44
 
40
45
  - **Type**: `string`
@@ -103,11 +108,6 @@ Explore the capabilities of react-covideo-embed through our [Demo Project](https
103
108
  - `lesa`
104
109
  - `multiLocation`
105
110
 
106
- ### `apikey` (optional)
107
-
108
- - **Type**: `string`
109
- - **Description**: Used for tracking the origin of requests from this npm module.
110
-
111
111
  ## APIs/Functions
112
112
 
113
113
  ### `logoutCovideo()`
package/build/index.d.ts CHANGED
@@ -45,6 +45,8 @@ export type UploadData = {
45
45
  */
46
46
  export declare function logoutCovideo(): void;
47
47
  export type CovideoEmbedProps = {
48
+ /** Used for tracking the origin of requests from this npm module. */
49
+ apikey: string;
48
50
  /**
49
51
  * JWT token from Covideo.
50
52
  * If provided, disables the module's login/logout pages.
@@ -55,8 +57,6 @@ export type CovideoEmbedProps = {
55
57
  env?: Environment | EnvironmentType;
56
58
  /** Which Covideo features to hide */
57
59
  hideFeatures?: Feature[] | FeatureType[];
58
- /** Used for tracking the origin of requests from this npm module. */
59
- apikey?: string;
60
60
  /**
61
61
  * Callback triggered when a video is inserted.
62
62
  * @param shareData - Contains the auth token, video url, thumbnail url and HTML of the inserted video.