@umituz/react-native-mascot 1.3.4 → 1.3.5

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": "@umituz/react-native-mascot",
3
- "version": "1.3.4",
3
+ "version": "1.3.5",
4
4
  "description": "Interactive mascot system for React Native apps - Customizable animated characters with Lottie and SVG support, mood system, and easy integration",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
package/src/index.ts CHANGED
@@ -11,6 +11,9 @@ export * from './application';
11
11
  export * from './infrastructure';
12
12
  export * from './presentation';
13
13
 
14
+ // Direct component export for convenience
15
+ export { Mascot } from './presentation/components/Mascot';
16
+
14
17
  // Constants
15
18
  import type { MascotMood, AnimationSpeed } from './domain/types/MascotTypes';
16
19
 
@@ -21,7 +21,7 @@
21
21
  */
22
22
 
23
23
  import React, { useEffect, memo } from 'react';
24
- import { View, Image, StyleSheet, ViewStyle, ImageSource } from 'react-native';
24
+ import { View, Image, StyleSheet, ViewStyle, ImageSourcePropType } from 'react-native';
25
25
  import Animated, {
26
26
  useSharedValue,
27
27
  useAnimatedStyle,
@@ -35,7 +35,7 @@ import type { MascotState } from './types';
35
35
 
36
36
  export interface MascotProps {
37
37
  /** Image source for the mascot (require() or URI) */
38
- source: ImageSource;
38
+ source: ImageSourcePropType;
39
39
 
40
40
  /** Animation state */
41
41
  state?: MascotState;
@@ -17,7 +17,7 @@ export { SVGMascot } from './presentation/components/SVGMascot';
17
17
  export type { SVGMascotProps } from './presentation/components/SVGMascot';
18
18
 
19
19
  // Presentation - Types
20
- export type { MascotState, MascotSize, MascotTheme } from './presentation/components/types';
20
+ export type { MascotTheme } from './presentation/components/types';
21
21
 
22
22
  // Presentation - Hooks
23
23
  export { useMascot } from './presentation/hooks/useMascot';