@windoc/core 0.3.16 → 0.3.18

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/index.js CHANGED
@@ -78,7 +78,7 @@ __export(index_exports, {
78
78
  module.exports = __toCommonJS(index_exports);
79
79
 
80
80
  // src/version.ts
81
- var version = "0.3.16";
81
+ var version = "0.3.18";
82
82
 
83
83
  // src/dataset/enum/Common.ts
84
84
  var MaxHeightRatio = /* @__PURE__ */ ((MaxHeightRatio2) => {
@@ -24863,8 +24863,8 @@ var CommandAdapt = class {
24863
24863
  }
24864
24864
  updateOptions(payload) {
24865
24865
  const newOption = mergeOption(payload);
24866
- Object.entries(newOption).forEach(([key, value]) => {
24867
- Reflect.set(this.options, key, value);
24866
+ Object.keys(payload).forEach((key) => {
24867
+ Reflect.set(this.options, key, newOption[key]);
24868
24868
  });
24869
24869
  this.forceUpdate();
24870
24870
  }