@applicaster/quick-brick-player 12.0.0-alpha.4201443043 → 12.0.0-alpha.4324313105

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": "@applicaster/quick-brick-player",
3
- "version": "12.0.0-alpha.4201443043",
3
+ "version": "12.0.0-alpha.4324313105",
4
4
  "description": "Quick Brick Player",
5
5
  "main": "./src/index.ts",
6
6
  "types": "index.d.ts",
@@ -36,11 +36,11 @@
36
36
  },
37
37
  "homepage": "https://github.com/applicaster/quickbrick#readme",
38
38
  "dependencies": {
39
- "@applicaster/quick-brick-mobile-transport-controls": "12.0.0-rc.67",
40
- "@applicaster/quick-brick-tv-transport-controls": "12.0.0-alpha.4201443043",
41
- "@applicaster/zapp-react-native-tvos-app": "12.0.0-alpha.4201443043",
42
- "@applicaster/zapp-react-native-ui-components": "12.0.0-alpha.4201443043",
43
- "@applicaster/zapp-react-native-utils": "12.0.0-alpha.4201443043",
39
+ "@applicaster/quick-brick-mobile-transport-controls": "12.0.0-rc.68",
40
+ "@applicaster/quick-brick-tv-transport-controls": "12.0.0-rc.62",
41
+ "@applicaster/zapp-react-native-tvos-app": "12.0.0-alpha.4324313105",
42
+ "@applicaster/zapp-react-native-ui-components": "12.0.0-alpha.4324313105",
43
+ "@applicaster/zapp-react-native-utils": "12.0.0-alpha.4324313105",
44
44
  "keymirror": "^0.1.1",
45
45
  "query-string": "7.1.3",
46
46
  "react-native-web-linear-gradient": "1.1.2",
@@ -419,6 +419,7 @@ export default function DefaultLayout(props: LayoutProps) {
419
419
  startTimestamp={startTimestamp}
420
420
  endTimestamp={endTimestamp}
421
421
  isDateBasedLiveContent={isDateBasedLiveContent}
422
+ onSkipLive={onSkipLive}
422
423
  />
423
424
 
424
425
  {showCounter && timeLeft >= 0 && (
@@ -22,6 +22,10 @@ export const addQueryParam = (
22
22
  return `${urlWithoutQuery}?${updatedQueryString}`;
23
23
  };
24
24
 
25
- export const isValidDate = (dateString: string): boolean => {
26
- return dateString.trim() !== "" && dayjs.utc(dateString).isValid();
25
+ export const isValidDate = (dateString: string | undefined): boolean => {
26
+ return (
27
+ typeof dateString === "string" &&
28
+ dateString.trim() !== "" &&
29
+ dayjs.utc(dateString).isValid()
30
+ );
27
31
  };