@inappstory/react-sdk 0.1.0 → 0.2.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.
@@ -0,0 +1,7 @@
1
+ import { AppearanceManager, StoryManager } from "..";
2
+
3
+ interface GameReaderProps {
4
+ storyManager: StoryManager;
5
+ appearanceManager: AppearanceManager;
6
+ }
7
+ export declare const GameReader: (props: GameReaderProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from "./gameReader"
@@ -0,0 +1,8 @@
1
+ import { AppearanceManager, StoryManager } from "..";
2
+
3
+ interface IASContainerProps {
4
+ storyManager: StoryManager;
5
+ children?: React.ReactNode;
6
+ }
7
+
8
+ export declare const IASContainer: (props: IASContainerProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export { IASContainer } from './ias-container';
@@ -2,10 +2,11 @@ export * from "./appearance-manager";
2
2
  export { StoryManager } from "./story-manager/StoryManager";
3
3
  export { StoryList } from "./story-list/StoryList";
4
4
  export { UGCStoryList } from "./story-list/UGCStoryList";
5
- export { FavoriteStoryList } from "./story-list/FavoriteStoryList"
5
+ export { FavoriteStoryList } from "./story-list/FavoriteStoryList";
6
6
  export { StoryListViewModel } from "./story-list/storyListViewModel";
7
7
  export { FavoriteStoryCardViewModel } from "./story-list/favoriteStoryCardViewModel";
8
8
  export { NavigationViewModel } from "./story-list/navigationViewModel";
9
9
  export { StoryCardViewModel } from "./story-list/storyCardViewModel";
10
10
  export { StoryListLoadStatus } from "./story-list/storyListLoadStatus";
11
- export { StoryManagerConfig } from "./story-manager/StoryManager.h";
11
+ export { StoryManagerConfig } from "./story-manager/StoryManager.h";
12
+ export { IASContainer } from "./ias-container";
@@ -5,14 +5,8 @@ import { StoryListLoadStatus } from "./storyListLoadStatus";
5
5
  import { StoryListViewModel } from "./storyListViewModel.d";
6
6
 
7
7
  interface FavoriteStoryListProps {
8
- storyManager: StoryManager;
9
8
  appearanceManager: AppearanceManager;
10
9
  storyCardView?: (storyCard: StoryCardViewModel) => JSX.Element;
11
10
  navigationView?: (navigation: any) => JSX.Element;
12
11
  }
13
- export declare const FavoriteStoryList: ({
14
- storyManager,
15
- appearanceManager,
16
- storyCardView,
17
- navigationView
18
- }: FavoriteStoryListProps) => JSX.Element;
12
+ export declare const FavoriteStoryList: (props: FavoriteStoryListProps) => JSX.Element;
@@ -6,7 +6,6 @@ import { StoryListViewModel } from "./storyListViewModel.d";
6
6
  import { FavoriteCardCompositeViewModel } from "./favoriteCardCompositeViewModel"
7
7
 
8
8
  interface StoryListProps {
9
- storyManager: StoryManager;
10
9
  appearanceManager: AppearanceManager;
11
10
  feedSlug: string;
12
11
  testKey?: string;
@@ -5,7 +5,6 @@ import { StoryListLoadStatus } from "./storyListLoadStatus";
5
5
  import { StoryListViewModel } from "./storyListViewModel.d";
6
6
 
7
7
  interface UGCStoryListProps {
8
- storyManager: StoryManager;
9
8
  appearanceManager: AppearanceManager;
10
9
  testKey?: string;
11
10
  ugcCardClickHandler?: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inappstory/react-sdk",
3
- "version": "0.1.0",
3
+ "version": "0.2.1",
4
4
  "description": "React SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/types/index.d.ts",