yt-uikit 0.10.59-bundle-error-captures.0 → 0.10.59-widget-v2.0

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.
@@ -445,7 +445,6 @@ export type BundleProps = {
445
445
  setCursorData: (cursorData: CursorData) => void;
446
446
  };
447
447
  categoryFilters?: Record<number, FilterGroup | FilterGroup[]>;
448
- onCaptureError?: (error: unknown, context?: Record<string, any>) => void;
449
448
  };
450
449
  export declare const currencyPrice: (price: number | string | undefined) => string | undefined;
451
450
  export declare const getCurrencySymbol: (genSymbol: string, _storeCurrencyCode?: string) => string;
@@ -47,7 +47,6 @@ type BundleBuilderProps = {
47
47
  setCursorData: (cursorData: CursorData) => void;
48
48
  };
49
49
  categoryFilters?: Record<number, FilterGroup | FilterGroup[]>;
50
- onCaptureError?: (error: unknown, context?: Record<string, any>) => void;
51
50
  };
52
51
  declare const BundleBuilder: React.FC<BundleBuilderProps>;
53
52
  export default BundleBuilder;
@@ -51,7 +51,6 @@ type BundleBuilderTrackerProps = {
51
51
  storeCurrencyCode?: string;
52
52
  isUploading?: boolean;
53
53
  showNextStep?: boolean;
54
- onCaptureError?: (error: unknown, context?: Record<string, any>) => void;
55
54
  };
56
55
  export declare const BundleBuilderTrackerBar: React.FC<BundleBuilderTrackerProps>;
57
56
  export default BundleBuilderTrackerBar;
@@ -128,7 +128,6 @@ interface CollectionBundleProps {
128
128
  addCustomBundleToCart: (items: any) => void;
129
129
  bundleAddToCartLoading: boolean;
130
130
  dispatchAnalyticsEvent?: (params: AnalyticsEventParams) => void;
131
- onCaptureError?: (error: unknown, context?: Record<string, any>) => void;
132
131
  }
133
- declare const CollectionBundle: ({ config, bundleAddToCartLoading, addCustomBundleToCart, dispatchAnalyticsEvent, onCaptureError, }: CollectionBundleProps) => React.JSX.Element;
132
+ declare const CollectionBundle: ({ config, bundleAddToCartLoading, addCustomBundleToCart, dispatchAnalyticsEvent, }: CollectionBundleProps) => React.JSX.Element;
134
133
  export default CollectionBundle;
@@ -4,7 +4,6 @@ interface MixAndMatchBundleProps {
4
4
  bundle: BundlePayload;
5
5
  addToCartFunction: any;
6
6
  dispatchAnalyticsEvent?: (params: AnalyticsEventParams) => void;
7
- onCaptureError?: (error: unknown, context?: Record<string, any>) => void;
8
7
  }
9
8
  declare const MixAndMatchBundle: React.FC<MixAndMatchBundleProps>;
10
9
  export default MixAndMatchBundle;
@@ -30,7 +30,6 @@ export interface PersonalizationFormProps {
30
30
  barHeight?: number;
31
31
  isUploading?: boolean;
32
32
  setIsUploading?: React.Dispatch<React.SetStateAction<boolean>>;
33
- onCaptureError?: (error: unknown, context?: Record<string, any>) => void;
34
33
  }
35
34
  declare const PersonalizationForm: React.FC<PersonalizationFormProps>;
36
35
  export default PersonalizationForm;
@@ -24,4 +24,4 @@ declare global {
24
24
  } | undefined;
25
25
  }
26
26
  }
27
- export default function VolumeBundle({ bundle: originalBundle, addToCartFunction, currentProductId, dispatchAnalyticsEvent, onCaptureError, }: BundleProps): React.JSX.Element;
27
+ export default function VolumeBundle({ bundle: originalBundle, addToCartFunction, currentProductId, dispatchAnalyticsEvent, }: BundleProps): React.JSX.Element;