ms-types 0.1.19 → 0.1.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ms-types",
3
- "version": "0.1.19",
3
+ "version": "0.1.20",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
package/types/node.d.ts CHANGED
@@ -144,6 +144,12 @@ declare interface NodeInfo {
144
144
  * 节点选择器 包含节点选择、节点操作等功能
145
145
  */
146
146
  declare class NodeSelector {
147
+ /**
148
+ * 获取节点 xml 字符串
149
+ * @param timeout 超时时间,单位毫秒 默认为 5000 毫秒
150
+ * @returns 节点 xml 字符串
151
+ */
152
+ xml(timeout?: number): string | null;
147
153
  /**
148
154
  * 获取节点信息
149
155
  * @param timeout 超时时间,单位毫秒 默认为 5000 毫秒
@@ -145,6 +145,12 @@ declare interface $节点信息 {
145
145
  * 节点选择器 包含节点选择、节点操作等功能
146
146
  */
147
147
  declare class $节点选择器 {
148
+ /**
149
+ * 获取节点 xml 字符串
150
+ * @param 超时时间 单位毫秒 默认为 5000 毫秒
151
+ * @returns 节点 xml 字符串
152
+ */
153
+ xml(超时时间?: 数字): 字符串 | null;
148
154
  /**
149
155
  * 获取节点信息
150
156
  * @param 超时时间 单位毫秒 默认为 5000 毫秒