@brightcove/components-embed-code-modal 0.1.24 → 0.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightcove/components-embed-code-modal",
3
- "version": "0.1.24",
3
+ "version": "0.1.25",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal.git"
@@ -1 +1 @@
1
- {"version":3,"file":"ModalContainer.d.ts","sourceRoot":"","sources":["../../../../src/js/components/ModalContainer.tsx"],"names":[],"mappings":";AASA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AA2BxD,eAAO,MAAM,cAAc,oBAGxB,mBAAmB,uBAsCrB,CAAC"}
1
+ {"version":3,"file":"ModalContainer.d.ts","sourceRoot":"","sources":["../../../../src/js/components/ModalContainer.tsx"],"names":[],"mappings":";AAUA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AA2BxD,eAAO,MAAM,cAAc,oBAGxB,mBAAmB,uBAsCrB,CAAC"}
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { PlayerPayload } from '../types/EmbedCodeModalProps';
3
- export declare const PlayerPreview: ({ playerId, accountId }: PlayerPayload) => JSX.Element;
3
+ export declare const PlayerPreview: ({ id, configuration, accountId, }: PlayerPayload) => JSX.Element;
4
4
  //# sourceMappingURL=PlayerPreview.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlayerPreview.d.ts","sourceRoot":"","sources":["../../../../src/js/components/PlayerPreview.tsx"],"names":[],"mappings":";AASA,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAE7D,eAAO,MAAM,aAAa,4BAAkC,aAAa,gBAyBxE,CAAC"}
1
+ {"version":3,"file":"PlayerPreview.d.ts","sourceRoot":"","sources":["../../../../src/js/components/PlayerPreview.tsx"],"names":[],"mappings":";AAcA,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAW7D,eAAO,MAAM,aAAa,sCAIvB,aAAa,gBAyDf,CAAC"}
@@ -6,7 +6,9 @@ export interface VideoPayload {
6
6
  duration: number;
7
7
  }
8
8
  export interface PlayerPayload {
9
- playerId: string;
9
+ id: string;
10
+ configuration?: Record<string, unknown>;
11
+ name?: string;
10
12
  accountId?: string;
11
13
  }
12
14
  export declare enum EmbedCodeModalTypes {
@@ -1 +1 @@
1
- {"version":3,"file":"EmbedCodeModalProps.d.ts","sourceRoot":"","sources":["../../../../src/js/types/EmbedCodeModalProps.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,oBAAY,mBAAmB;IAC7B,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB;AAED,oBAAY,aAAa,GAAG,YAAY,GAAG,aAAa,CAAC"}
1
+ {"version":3,"file":"EmbedCodeModalProps.d.ts","sourceRoot":"","sources":["../../../../src/js/types/EmbedCodeModalProps.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,oBAAY,mBAAmB;IAC7B,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB;AAED,oBAAY,aAAa,GAAG,YAAY,GAAG,aAAa,CAAC"}
@@ -1,7 +1,7 @@
1
- export declare const getAccountId: () => any;
1
+ export declare const getAccountId: () => string;
2
2
  export declare const getConfig: () => {
3
3
  apiConfig: {
4
- publisherId: any;
4
+ publisherId: string;
5
5
  api: any;
6
6
  };
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../../../src/js/utils/call.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,WAGxB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;CAOrB,CAAC;AAEF,eAAO,MAAM,IAAI,iCAShB,CAAC;AAEF,eAAO,MAAM,OAAO,mDAGnB,CAAC"}
1
+ {"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../../../src/js/utils/call.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,QAAO,MAG/B,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;CAOrB,CAAC;AAEF,eAAO,MAAM,IAAI,iCAShB,CAAC;AAEF,eAAO,MAAM,OAAO,mDAGnB,CAAC"}