dolphindb 2.0.1003 → 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 CHANGED
@@ -61,10 +61,12 @@ await ddb.connect()
61
61
 
62
62
  #### CDN
63
63
  ```html
64
- <script src="https://cdn.dolphindb.cn/assets/api.umd.js"></script>
65
- <script>
66
- let ddb = new dolphindb.DDB('ws://127.0.0.1:8848')
67
- console.log(ddb)
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 src="https://cdn.dolphindb.cn/assets/api.umd.js"></script>
65
- <script>
66
- let ddb = new dolphindb.DDB('ws://127.0.0.1:8848')
67
- console.log(ddb)
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.1003",
4
+ "version": "2.0.1004",
5
5
  "type": "module",
6
6
  "main": "./index.js",
7
7
  "browser": "./browser.js",