@orderly.network/markets 2.7.4 → 2.8.0-alpha.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.
package/dist/index.d.mts CHANGED
@@ -85,6 +85,7 @@ declare enum MarketsTabName {
85
85
  Favorites = "favorites",
86
86
  Recent = "recent",
87
87
  All = "all",
88
+ Rwa = "rwa",
88
89
  NewListing = "newListing"
89
90
  }
90
91
  declare enum FundingTabName {
@@ -498,6 +499,10 @@ declare function useSymbolInfoBarScript(options: UseSymbolInfoBarScriptOptions):
498
499
  "24h_change"?: number;
499
500
  };
500
501
  leverage: number | undefined;
502
+ isRwa: boolean;
503
+ open: boolean | undefined;
504
+ closeTimeInterval: number | undefined;
505
+ openTimeInterval: number | undefined;
501
506
  };
502
507
 
503
508
  type SymbolInfoBarProps = Pick<MarketsProviderProps, "onSymbolChange"> & UseSymbolInfoBarScriptReturn & {
@@ -572,15 +577,24 @@ declare function useSymbolInfoBarFullScript(options: UseSymbolInfoBarFullScriptO
572
577
  fundingPeriod: string;
573
578
  capFunding: string;
574
579
  floorFunding: string;
580
+ isRwa: boolean;
581
+ open: boolean | undefined;
582
+ closeTimeInterval: number | undefined;
583
+ openTimeInterval: number | undefined;
575
584
  };
576
585
 
577
586
  type SymbolInfoBarFullProps = Pick<MarketsProviderProps, "onSymbolChange"> & UseSymbolInfoBarFullScriptReturn & {
578
587
  className?: string;
579
588
  trailing?: ReactNode;
589
+ closeCountdown?: () => void;
590
+ showCountdown?: boolean;
580
591
  };
581
592
  declare const SymbolInfoBarFull: react__default.FC<SymbolInfoBarFullProps>;
582
593
 
583
- type SymbolInfoBarFullWidgetPros = UseSymbolInfoBarFullScriptOptions & Pick<SymbolInfoBarFullProps, "className" | "trailing"> & Pick<MarketsProviderProps, "onSymbolChange">;
594
+ type SymbolInfoBarFullWidgetPros = UseSymbolInfoBarFullScriptOptions & Pick<SymbolInfoBarFullProps, "className" | "trailing"> & Pick<MarketsProviderProps, "onSymbolChange"> & {
595
+ closeCountdown?: () => void;
596
+ showCountdown?: boolean;
597
+ };
584
598
  declare const SymbolInfoBarFullWidget: FC<SymbolInfoBarFullWidgetPros>;
585
599
 
586
600
  type MarketType = "all" | "recent" | "newListing" | "favorites";
package/dist/index.d.ts CHANGED
@@ -85,6 +85,7 @@ declare enum MarketsTabName {
85
85
  Favorites = "favorites",
86
86
  Recent = "recent",
87
87
  All = "all",
88
+ Rwa = "rwa",
88
89
  NewListing = "newListing"
89
90
  }
90
91
  declare enum FundingTabName {
@@ -498,6 +499,10 @@ declare function useSymbolInfoBarScript(options: UseSymbolInfoBarScriptOptions):
498
499
  "24h_change"?: number;
499
500
  };
500
501
  leverage: number | undefined;
502
+ isRwa: boolean;
503
+ open: boolean | undefined;
504
+ closeTimeInterval: number | undefined;
505
+ openTimeInterval: number | undefined;
501
506
  };
502
507
 
503
508
  type SymbolInfoBarProps = Pick<MarketsProviderProps, "onSymbolChange"> & UseSymbolInfoBarScriptReturn & {
@@ -572,15 +577,24 @@ declare function useSymbolInfoBarFullScript(options: UseSymbolInfoBarFullScriptO
572
577
  fundingPeriod: string;
573
578
  capFunding: string;
574
579
  floorFunding: string;
580
+ isRwa: boolean;
581
+ open: boolean | undefined;
582
+ closeTimeInterval: number | undefined;
583
+ openTimeInterval: number | undefined;
575
584
  };
576
585
 
577
586
  type SymbolInfoBarFullProps = Pick<MarketsProviderProps, "onSymbolChange"> & UseSymbolInfoBarFullScriptReturn & {
578
587
  className?: string;
579
588
  trailing?: ReactNode;
589
+ closeCountdown?: () => void;
590
+ showCountdown?: boolean;
580
591
  };
581
592
  declare const SymbolInfoBarFull: react__default.FC<SymbolInfoBarFullProps>;
582
593
 
583
- type SymbolInfoBarFullWidgetPros = UseSymbolInfoBarFullScriptOptions & Pick<SymbolInfoBarFullProps, "className" | "trailing"> & Pick<MarketsProviderProps, "onSymbolChange">;
594
+ type SymbolInfoBarFullWidgetPros = UseSymbolInfoBarFullScriptOptions & Pick<SymbolInfoBarFullProps, "className" | "trailing"> & Pick<MarketsProviderProps, "onSymbolChange"> & {
595
+ closeCountdown?: () => void;
596
+ showCountdown?: boolean;
597
+ };
584
598
  declare const SymbolInfoBarFullWidget: FC<SymbolInfoBarFullWidgetPros>;
585
599
 
586
600
  type MarketType = "all" | "recent" | "newListing" | "favorites";