@tivio/sdk-react 3.3.1 → 3.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- import { Currency, ItemsInRow, PaginationInterface, PaginationOptions, QerkoCancellationInfo, Row, ROW_ITEM_TYPES, SubscribeToItemsInRowOptions, SubscribeToTaggedVideos, Tag, TilePropsPartial, UseCancelSubscription, CUSTOMER_BUILD, PLATFORM, WebRowProps } from '@tivio/common';
1
+ import { Currency, ItemsInRow, PaginationInterface, PaginationOptions, QerkoCancellationInfo, Row, ROW_ITEM_TYPES, SubscribeToItemsInRowOptions, SubscribeToTaggedVideos, Tag, TilePropsPartial, UseCancelSubscription, CUSTOMER_BUILD, PLATFORM, WebRowProps, WebSeriesDetailScreenProps } from '@tivio/common';
2
2
  import { ComponentType } from 'react';
3
3
  import { Logger } from '../services/logger';
4
4
  import { FetchPackage } from '../services/packageLoader';
@@ -208,6 +208,8 @@ interface TivioAuth {
208
208
  createFreePurchase: (monetizationId: string) => Promise<void>;
209
209
  }
210
210
  export interface RouterOverrides {
211
+ goToVideoDetailPage: (videoId: string, type: ROW_ITEM_TYPES, rowId?: string) => void;
212
+ goToSeriesDetailPage: (tagId: string) => void;
211
213
  goToPlayer: (videoId: string, type: ROW_ITEM_TYPES, rowId?: string) => void;
212
214
  goToTagPage: (tagId: string) => void;
213
215
  goToLoginScreen: () => void;
@@ -346,6 +348,7 @@ declare type TivioInternalComponents = {
346
348
  WebVideoScreen: React.ComponentType<{
347
349
  videoId: string;
348
350
  }>;
351
+ WebSeriesDetailScreen: React.ComponentType<WebSeriesDetailScreenProps>;
349
352
  };
350
353
  declare type TivioInternalHooks = {
351
354
  useAuthOverlay: () => AuthOverlayState;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tivio/sdk-react",
3
- "version": "3.3.1",
3
+ "version": "3.3.2",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
6
6
  "source": "src/index.ts",
package/doc/changelog.md DELETED
File without changes