dolphindb 2.0.521 → 2.0.522

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/browser.d.ts CHANGED
@@ -115,8 +115,7 @@ export declare enum DdbChartType {
115
115
  pie = 5,
116
116
  scatter = 6,
117
117
  trend = 7,
118
- kline = 8,
119
- stack = 9
118
+ kline = 8
120
119
  }
121
120
  export interface DdbChartValue {
122
121
  /** 原属性 chartType */
@@ -207,7 +206,7 @@ export declare class DdbObj<T extends DdbValue = DdbValue> {
207
206
  ];
208
207
  pack(): Uint8Array;
209
208
  static pack_vector_body(value: DdbVectorValue, type: DdbType, length: number): ArrayBufferView[];
210
- toString(): any;
209
+ toString(): string;
211
210
  /** 自动转换 js string, boolean 为 DdbObj */
212
211
  static to_ddbobj(value: DdbObj | string | boolean): DdbObj;
213
212
  /** 转换 js 数组为 DdbObj[] */
@@ -232,7 +231,7 @@ export declare class DdbObj<T extends DdbValue = DdbValue> {
232
231
  deep?: boolean;
233
232
  }): T;
234
233
  }
235
- export declare function format(type: DdbType, value: DdbValue, le: boolean): any;
234
+ export declare function format(type: DdbType, value: DdbValue, le: boolean): string;
236
235
  export declare class DdbVoid extends DdbObj<undefined> {
237
236
  constructor();
238
237
  }
package/browser.js CHANGED
@@ -107,7 +107,6 @@ var DdbChartType;
107
107
  DdbChartType[DdbChartType["scatter"] = 6] = "scatter";
108
108
  DdbChartType[DdbChartType["trend"] = 7] = "trend";
109
109
  DdbChartType[DdbChartType["kline"] = 8] = "kline";
110
- DdbChartType[DdbChartType["stack"] = 9] = "stack";
111
110
  })(DdbChartType = exports.DdbChartType || (exports.DdbChartType = {}));
112
111
  exports.nulls = {
113
112
  int8: -0x80,