vantiv.io 1.0.5 → 1.0.6

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": "vantiv.io",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Enterprise WebSocket infrastructure for Highrise featuring spatial intelligence systems, memory-optimized architecture, and production-grade reliability for scalable application development",
5
5
  "keywords": [
6
6
  "highrise",
@@ -16,7 +16,7 @@ class ItemCategory {
16
16
 
17
17
  const response = await this.base.get(`/items/${itemId}`);
18
18
  if (response.status === 200 && response.data?.item) {
19
- return this._formatItemDetail(response.data.item);
19
+ return this._formatItemDetail(response.data);
20
20
  }
21
21
  return null;
22
22
  } catch (error) {
@@ -268,7 +268,7 @@ class ItemCategory {
268
268
 
269
269
  _formatItemDetail(itemData) {
270
270
  return {
271
- ...this._formatItem(itemData),
271
+ ...this._formatItem(itemData.item),
272
272
  acquisition: {
273
273
  cost: itemData.acquisition_cost,
274
274
  amount: itemData.acquisition_amount,