dolphindb 2.0.522 → 2.0.525

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
@@ -1,4 +1,4 @@
1
- import 'xshell/prototype.browser';
1
+ import 'xshell/prototype.browser.js';
2
2
  export declare enum DdbForm {
3
3
  scalar = 0,
4
4
  vector = 1,
package/browser.js CHANGED
@@ -8,8 +8,8 @@ const customParseFormat_js_1 = tslib_1.__importDefault(require("dayjs/plugin/cus
8
8
  dayjs_1.default.extend(customParseFormat_js_1.default);
9
9
  const ipaddr_js_1 = tslib_1.__importDefault(require("ipaddr.js"));
10
10
  const { fromByteArray: buf2ipaddr } = ipaddr_js_1.default;
11
- require("xshell/prototype.browser");
12
- const utils_browser_1 = require("xshell/utils.browser");
11
+ require("xshell/prototype.browser.js");
12
+ const utils_browser_js_1 = require("xshell/utils.browser.js");
13
13
  const net_browser_js_1 = require("xshell/net.browser.js");
14
14
  var DdbForm;
15
15
  (function (DdbForm) {
@@ -864,7 +864,7 @@ class DdbObj {
864
864
  })();
865
865
  if (!body)
866
866
  return new Uint8Array(0);
867
- return (0, utils_browser_1.concat)([
867
+ return (0, utils_browser_js_1.concat)([
868
868
  header,
869
869
  ...body
870
870
  ]);
@@ -2123,7 +2123,7 @@ class DDB {
2123
2123
  return 'connect\n';
2124
2124
  }
2125
2125
  })());
2126
- this.websocket.send((0, utils_browser_1.concat)([
2126
+ this.websocket.send((0, utils_browser_js_1.concat)([
2127
2127
  this.enc.encode(`API2 ${this.sid} ${command.length} / ${this.get_rpc_options({ urgent })}\n`),
2128
2128
  command,
2129
2129
  ...args.map((arg) => arg.pack())