@kodiak-finance/orderly-portfolio 2.8.15-rc.0 → 2.8.15

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
@@ -91,7 +91,7 @@ declare const useAssetsHistoryData: (localKey: string, options?: {
91
91
  isRealtime?: boolean;
92
92
  }) => {
93
93
  readonly periodTypes: PeriodType[];
94
- readonly period: PeriodType;
94
+ readonly period: PeriodType | null;
95
95
  readonly onPeriodChange: (value: PeriodType) => void;
96
96
  readonly periodLabel: Record<PeriodType, string>;
97
97
  readonly curPeriod: string;
@@ -138,7 +138,7 @@ declare const useAssetsChartScript: () => {
138
138
  readonly invisible: boolean;
139
139
  readonly type?: _kodiak_finance_orderly_hooks.TWType;
140
140
  readonly periodTypes: PeriodType[];
141
- readonly period: PeriodType;
141
+ readonly period: PeriodType | null;
142
142
  readonly onPeriodChange: (value: PeriodType) => void;
143
143
  readonly periodLabel: Record<PeriodType, string>;
144
144
  readonly curPeriod: string;
@@ -231,7 +231,7 @@ declare const usePerformanceScript: () => {
231
231
  setVisible: (value: boolean) => void;
232
232
  type?: _kodiak_finance_orderly_hooks.TWType;
233
233
  periodTypes: PeriodType[];
234
- period: PeriodType;
234
+ period: PeriodType | null;
235
235
  onPeriodChange: (value: PeriodType) => void;
236
236
  periodLabel: Record<PeriodType, string>;
237
237
  curPeriod: string;
package/dist/index.d.ts CHANGED
@@ -91,7 +91,7 @@ declare const useAssetsHistoryData: (localKey: string, options?: {
91
91
  isRealtime?: boolean;
92
92
  }) => {
93
93
  readonly periodTypes: PeriodType[];
94
- readonly period: PeriodType;
94
+ readonly period: PeriodType | null;
95
95
  readonly onPeriodChange: (value: PeriodType) => void;
96
96
  readonly periodLabel: Record<PeriodType, string>;
97
97
  readonly curPeriod: string;
@@ -138,7 +138,7 @@ declare const useAssetsChartScript: () => {
138
138
  readonly invisible: boolean;
139
139
  readonly type?: _kodiak_finance_orderly_hooks.TWType;
140
140
  readonly periodTypes: PeriodType[];
141
- readonly period: PeriodType;
141
+ readonly period: PeriodType | null;
142
142
  readonly onPeriodChange: (value: PeriodType) => void;
143
143
  readonly periodLabel: Record<PeriodType, string>;
144
144
  readonly curPeriod: string;
@@ -231,7 +231,7 @@ declare const usePerformanceScript: () => {
231
231
  setVisible: (value: boolean) => void;
232
232
  type?: _kodiak_finance_orderly_hooks.TWType;
233
233
  periodTypes: PeriodType[];
234
- period: PeriodType;
234
+ period: PeriodType | null;
235
235
  onPeriodChange: (value: PeriodType) => void;
236
236
  periodLabel: Record<PeriodType, string>;
237
237
  curPeriod: string;