dolphindb 2.0.1002 → 2.0.1004
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/README.md +6 -4
- package/README.zh.md +6 -4
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -61,10 +61,12 @@ await ddb.connect()
|
|
|
61
61
|
|
|
62
62
|
#### CDN
|
|
63
63
|
```html
|
|
64
|
-
<script
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
<script type="module">
|
|
65
|
+
import { DDB } from 'https://cdn.dolphindb.cn/assets/api.js'
|
|
66
|
+
|
|
67
|
+
let ddb = new DDB('ws://127.0.0.1:8848')
|
|
68
|
+
|
|
69
|
+
await ddb.connect()
|
|
68
70
|
</script>
|
|
69
71
|
```
|
|
70
72
|
|
package/README.zh.md
CHANGED
|
@@ -61,10 +61,12 @@ await ddb.connect()
|
|
|
61
61
|
|
|
62
62
|
#### CDN
|
|
63
63
|
```html
|
|
64
|
-
<script
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
<script type="module">
|
|
65
|
+
import { DDB } from 'https://cdn.dolphindb.cn/assets/api.js'
|
|
66
|
+
|
|
67
|
+
let ddb = new DDB('ws://127.0.0.1:8848')
|
|
68
|
+
|
|
69
|
+
await ddb.connect()
|
|
68
70
|
</script>
|
|
69
71
|
```
|
|
70
72
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dolphindb",
|
|
3
3
|
"description": "DolphinDB JavaScript API",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.1004",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
7
7
|
"browser": "./browser.js",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"JavaScript"
|
|
26
26
|
],
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@types/node": "^20.4.
|
|
29
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
30
|
-
"@typescript-eslint/parser": "^6.
|
|
28
|
+
"@types/node": "^20.4.4",
|
|
29
|
+
"@typescript-eslint/eslint-plugin": "^6.2.0",
|
|
30
|
+
"@typescript-eslint/parser": "^6.2.0",
|
|
31
31
|
"eslint": "^8.45.0",
|
|
32
32
|
"eslint-plugin-xlint": "^1.0.6",
|
|
33
33
|
"ts-node": "^10.9.1",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"dayjs": "^1.11.9",
|
|
38
38
|
"ipaddr.js": "^2.1.0",
|
|
39
|
-
"tslib": "^2.6.
|
|
40
|
-
"xshell": "^1.0.
|
|
39
|
+
"tslib": "^2.6.1",
|
|
40
|
+
"xshell": "^1.0.42"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"build": "tsc",
|