dolphindb 3.0.132 → 3.0.201

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/index.d.ts CHANGED
@@ -585,7 +585,7 @@ export interface StreamingMessage<TRows = any> extends StreamingParams {
585
585
  After successfully subscribed, if the subsequently pushed message is parsed incorrectly, the error will be set and the handler will be called. */
586
586
  error?: Error;
587
587
  }
588
- export declare const winsize: 100000;
588
+ export declare const winsize: 10000;
589
589
  export interface DdbEvalOptions {
590
590
  urgent?: boolean;
591
591
  listener?: DdbMessageListener;
package/index.js CHANGED
@@ -835,7 +835,10 @@ export class DdbObj {
835
835
  }
836
836
  return [
837
837
  len,
838
- seq(size, i => (sub_vecs.get(metas[i + size + 2]))[metas[i + 2]])
838
+ seq(size, i => {
839
+ const type = metas[i + size + 2];
840
+ return type === DdbType.void ? null : sub_vecs.get(type)[metas[i + 2]];
841
+ })
839
842
  ];
840
843
  }
841
844
  // 25 01 type = decimal32, form = vector
@@ -2674,7 +2677,7 @@ export function int1282str(buffer, le = true) {
2674
2677
  return [...buf].map(x => x.toString(16)
2675
2678
  .padStart(2, '0')).join('');
2676
2679
  }
2677
- export const winsize = 10_0000;
2680
+ export const winsize = 10000;
2678
2681
  export class DdbConnectionError extends Error {
2679
2682
  name = 'DdbConnectionError';
2680
2683
  cause;