@lark-project/js-sdk 2.0.2-dev.1 → 2.0.2-dev.2

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/dist/es/index.js CHANGED
@@ -613,7 +613,7 @@ var SDKClient = _SDKClient;
613
613
  /**
614
614
  * SDK 版本号
615
615
  */
616
- SDKClient.version = "2.0.2-dev.1";
616
+ SDKClient.version = "2.0.2-dev.2";
617
617
 
618
618
  // src/types/biz.ts
619
619
  var AttributeType = /* @__PURE__ */ ((AttributeType2) => {
package/dist/lib/index.js CHANGED
@@ -675,7 +675,7 @@ var SDKClient = _SDKClient;
675
675
  /**
676
676
  * SDK 版本号
677
677
  */
678
- SDKClient.version = "2.0.2-dev.1";
678
+ SDKClient.version = "2.0.2-dev.2";
679
679
 
680
680
  // src/types/biz.ts
681
681
  var AttributeType = /* @__PURE__ */ ((AttributeType2) => {
@@ -1319,10 +1319,12 @@ declare abstract class Broadcast extends BaseModel {
1319
1319
  private static load;
1320
1320
  /**
1321
1321
  * 监听详情页工作项值变化
1322
- * @param watchKeys 监听的工作项属性 / 字段 ID 列表
1322
+ * @param options.watchKeys 监听的工作项属性 / 字段 ID 列表
1323
1323
  * @param callback 当监听值发生变化时触发
1324
1324
  */
1325
- abstract onDetailPageWorkItemValueChanged(watchKeys: Array<string | AttributeType>, callback: (changed: IBroadcastDetailPageWorkItemValueChangedEvent) => void): Off;
1325
+ abstract onDetailPageWorkItemValueChanged(options: {
1326
+ watchKeys: Array<string | AttributeType>;
1327
+ }, callback: (changed: IBroadcastDetailPageWorkItemValueChangedEvent) => void): Off;
1326
1328
  }
1327
1329
 
1328
1330
  /**
@@ -1397,10 +1399,12 @@ declare abstract class Control extends BaseModel {
1397
1399
  /**
1398
1400
  * only web 2.0
1399
1401
  * 监听新建工作项表单项值变化
1400
- * @param watchKeys 需要监听的工作项属性 / 字段 ID 列表,一次限制读取 10 个 keys
1402
+ * @param options.watchKeys 需要监听的工作项属性 / 字段 ID 列表,一次限制读取 10 个 keys
1401
1403
  * @param callback 当监听值发生变化时触发,changedKeys 为变化的 keys
1402
1404
  */
1403
- abstract onCreateWorkItemFormValueChanged(watchKeys: Array<string | AttributeType>, callback: (changedKeys: Array<string | AttributeType>) => void): Off;
1405
+ abstract onCreateWorkItemFormValueChanged(options: {
1406
+ watchKeys: Array<string | AttributeType>;
1407
+ }, callback: (changedKeys: Array<string | AttributeType>) => void): Off;
1404
1408
  }
1405
1409
 
1406
1410
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-project/js-sdk",
3
- "version": "2.0.2-dev.1",
3
+ "version": "2.0.2-dev.2",
4
4
  "runtimeMinVersions": {
5
5
  "web": "2.1.0",
6
6
  "mobile": "1.1.0"