@glomex/integration-web-component 1.1574.4 → 1.1575.1
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/dist/index.d.ts +4 -5
- package/dist/index.js +5 -3
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
export * from '@turbo-player/integration-web-component';
|
|
2
2
|
import type { HostContext } from '@turbo-player/integration-web-component';
|
|
3
|
-
import { ComponentName as BaseComponentName } from '@turbo-player/integration-web-component';
|
|
4
3
|
export declare const ComponentName: {
|
|
4
|
+
readonly GLOMEX_MEDIA_ITEM: "glomex-media-item";
|
|
5
|
+
readonly JOYN_MEDIA_ITEM: "joyn-media-item";
|
|
6
|
+
readonly EXTERNAL_MEDIA_ITEM: "external-media-item";
|
|
5
7
|
readonly INTEGRATION: "glomex-integration";
|
|
6
|
-
readonly EXTERNAL_MEDIA_ITEM: BaseComponentName.EXTERNAL_MEDIA_ITEM;
|
|
7
|
-
readonly GLOMEX_MEDIA_ITEM: BaseComponentName.GLOMEX_MEDIA_ITEM;
|
|
8
|
-
readonly JOYN_MEDIA_ITEM: BaseComponentName.JOYN_MEDIA_ITEM;
|
|
9
8
|
};
|
|
10
9
|
/** Returns the CSS URL for a given integration */
|
|
11
10
|
export declare function getIntegrationCssUrl(integrationId: string): string;
|
|
@@ -25,7 +24,7 @@ export declare function loadIntegrationComponent(): void;
|
|
|
25
24
|
* ```ts
|
|
26
25
|
* import { loadIntegrationStyles } from '@glomex/integration-web-component';
|
|
27
26
|
*
|
|
28
|
-
* loadIntegrationStyles('
|
|
27
|
+
* loadIntegrationStyles('YOUR_INTEGRATION_ID');
|
|
29
28
|
* ```
|
|
30
29
|
*/
|
|
31
30
|
export declare function loadIntegrationStyles(integrationId: string, doc?: Document | ShadowRoot): void;
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export * from '@turbo-player/integration-web-component';
|
|
2
|
-
import {
|
|
2
|
+
import { createIntegrationClient } from '@turbo-player/integration-web-component';
|
|
3
3
|
export const ComponentName = {
|
|
4
|
-
|
|
4
|
+
GLOMEX_MEDIA_ITEM: 'glomex-media-item',
|
|
5
|
+
JOYN_MEDIA_ITEM: 'joyn-media-item',
|
|
6
|
+
EXTERNAL_MEDIA_ITEM: 'external-media-item',
|
|
5
7
|
INTEGRATION: 'glomex-integration'
|
|
6
8
|
};
|
|
7
9
|
const glomexClient = createIntegrationClient({
|
|
@@ -36,7 +38,7 @@ export function loadIntegrationComponent() {
|
|
|
36
38
|
* ```ts
|
|
37
39
|
* import { loadIntegrationStyles } from '@glomex/integration-web-component';
|
|
38
40
|
*
|
|
39
|
-
* loadIntegrationStyles('
|
|
41
|
+
* loadIntegrationStyles('YOUR_INTEGRATION_ID');
|
|
40
42
|
* ```
|
|
41
43
|
*/
|
|
42
44
|
export function loadIntegrationStyles(integrationId, doc) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glomex/integration-web-component",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1575.1",
|
|
4
4
|
"description": "Web component and types to integrate the glomex player",
|
|
5
5
|
"documentation": "https://docs.glomex.com",
|
|
6
6
|
"homepage": "https://glomex.com",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"watch": "tsc --build --watch"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@turbo-player/integration-web-component": "1.
|
|
32
|
+
"@turbo-player/integration-web-component": "1.1575.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@biomejs/biome": "catalog:",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"license": "MIT",
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "823da247db0f7aa85c307f4690d13a0f84f90bfb"
|
|
43
43
|
}
|