dolphindb 3.0.200 → 3.0.202

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
@@ -596,7 +596,7 @@ export interface StreamingMessage<TRows = any> extends StreamingParams {
596
596
  After successfully subscribed, if the subsequently pushed message is parsed incorrectly, the error will be set and the handler will be called. */
597
597
  error?: Error;
598
598
  }
599
- export declare const winsize: 100000;
599
+ export declare const winsize: 10000;
600
600
  export interface DdbEvalOptions {
601
601
  urgent?: boolean;
602
602
  listener?: DdbMessageListener;
package/browser.js CHANGED
@@ -838,7 +838,10 @@ export class DdbObj {
838
838
  }
839
839
  return [
840
840
  len,
841
- seq(size, i => (sub_vecs.get(metas[i + size + 2]))[metas[i + 2]])
841
+ seq(size, i => {
842
+ const type = metas[i + size + 2];
843
+ return type === DdbType.void ? null : sub_vecs.get(type)[metas[i + 2]];
844
+ })
842
845
  ];
843
846
  }
844
847
  // 25 01 type = decimal32, form = vector
@@ -2700,7 +2703,7 @@ export function int1282str(buffer, le = true) {
2700
2703
  return [...buf].map(x => x.toString(16)
2701
2704
  .padStart(2, '0')).join('');
2702
2705
  }
2703
- export const winsize = 10_0000;
2706
+ export const winsize = 10000;
2704
2707
  export class DdbConnectionError extends Error {
2705
2708
  name = 'DdbConnectionError';
2706
2709
  cause;