@logimaxx/kviews.js 1.2.3 → 1.2.4

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/CHANGELOG.md CHANGED
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ### Fixed
11
+
12
+ - **`Item.perform_update()`** — failed PATCH requests now reject with the original storage/HTTP error instead of masking it with `ReferenceError: patchData is not defined`.
13
+
10
14
  ### Changed
11
15
 
12
16
  - npm package name is **`@logimaxx/kviews.js`** (renamed from `@logimaxx/kviews`). Install with `npm install @logimaxx/kviews.js`.
package/dist/index.js CHANGED
@@ -2263,7 +2263,7 @@ var Item = class _Item {
2263
2263
  }
2264
2264
  resolve(this);
2265
2265
  }).catch((error2) => {
2266
- dbg("Update NOK", this.updateUrl, patchData, error2);
2266
+ dbg("Update NOK", this.updateUrl, payload.body, error2);
2267
2267
  if (error2 instanceof Error && error2.jqXHR) {
2268
2268
  reject(error2);
2269
2269
  } else if (error2.jqXHR) {