dolphindb 2.0.973 → 2.0.975

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.js CHANGED
@@ -13,7 +13,7 @@ import { is_decimal_type, is_decimal_null_value } from './shared/utils/decimal-t
13
13
  import { nulls, DdbChartType, DdbDurationUnit, DdbForm, DdbFunctionType, DdbType } from './shared/constants.js';
14
14
  export * from './shared/constants.js';
15
15
  /** 可以表示所有 DolphinDB 数据库中的数据类型 Can represent data types in all DolphinDB databases */
16
- class DdbObj {
16
+ export class DdbObj {
17
17
  static dec = new TextDecoder('utf-8');
18
18
  static enc = new TextEncoder();
19
19
  /** 维护已解析的 symbol base,比如流数据中后续的 symbol 向量可能只发送一个 base.id, base.size == 0, 依赖之前发送的 symbol base ?
@@ -1216,7 +1216,6 @@ class DdbObj {
1216
1216
  return obj;
1217
1217
  }
1218
1218
  }
1219
- export { DdbObj };
1220
1219
  /** 整数一定用这个 number formatter, InspectOptions.decimals 不传也用这个 Integer must use this number formatter, InspectOptions.decimals also use this if not passed */
1221
1220
  let default_formatter = Intl.NumberFormat('en-US', { maximumFractionDigits: 20 });
1222
1221
  let _decimals = 20;
@@ -2110,7 +2109,7 @@ export class DdbDatabaseError extends Error {
2110
2109
  this.options = options;
2111
2110
  }
2112
2111
  }
2113
- class DDB {
2112
+ export class DDB {
2114
2113
  /** 当前的 session id (http 或 tcp) */
2115
2114
  sid = '0';
2116
2115
  /** utf-8 text decoder */
@@ -2673,5 +2672,4 @@ class DDB {
2673
2672
  return this.streaming;
2674
2673
  }
2675
2674
  }
2676
- export { DDB };
2677
2675
  //# sourceMappingURL=browser.js.map