dolphindb 2.0.948 → 2.0.949
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 +4 -2
- package/browser.js.map +1 -1
- package/index.js +4 -2
- package/index.js.map +1 -1
- package/package.json +4 -4
package/browser.js
CHANGED
|
@@ -121,7 +121,7 @@ export const nulls = {
|
|
|
121
121
|
bytes16: Uint8Array.from(new Array(16).fill(0))
|
|
122
122
|
};
|
|
123
123
|
/** 可以表示所有 DolphinDB 数据库中的数据类型 Can represent data types in all DolphinDB databases */
|
|
124
|
-
|
|
124
|
+
class DdbObj {
|
|
125
125
|
static dec = new TextDecoder('utf-8');
|
|
126
126
|
static enc = new TextEncoder();
|
|
127
127
|
/** 维护已解析的 symbol base,比如流数据中后续的 symbol 向量可能只发送一个 base.id, base.size == 0, 依赖之前发送的 symbol base ?
|
|
@@ -1284,6 +1284,7 @@ export class DdbObj {
|
|
|
1284
1284
|
return obj;
|
|
1285
1285
|
}
|
|
1286
1286
|
}
|
|
1287
|
+
export { DdbObj };
|
|
1287
1288
|
/** 整数一定用这个 number formatter, InspectOptions.decimals 不传也用这个 Integer must use this number formatter, InspectOptions.decimals also use this if not passed */
|
|
1288
1289
|
let default_formatter = Intl.NumberFormat('en-US', { maximumFractionDigits: 20 });
|
|
1289
1290
|
let _decimals = 20;
|
|
@@ -2172,7 +2173,7 @@ export class DdbDatabaseError extends Error {
|
|
|
2172
2173
|
this.options = options;
|
|
2173
2174
|
}
|
|
2174
2175
|
}
|
|
2175
|
-
|
|
2176
|
+
class DDB {
|
|
2176
2177
|
/** 当前的 session id (http 或 tcp) */
|
|
2177
2178
|
sid = '0';
|
|
2178
2179
|
/** utf-8 text decoder */
|
|
@@ -2714,4 +2715,5 @@ export class DDB {
|
|
|
2714
2715
|
return this.streaming;
|
|
2715
2716
|
}
|
|
2716
2717
|
}
|
|
2718
|
+
export { DDB };
|
|
2717
2719
|
//# sourceMappingURL=browser.js.map
|