zudello-integration-sdk 1.0.16 → 1.0.17

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": "zudello-integration-sdk",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "description": "Zudello Integrations SDK",
5
5
  "main": "./src/index.js",
6
6
  "repository": {
@@ -46,6 +46,8 @@ class UniversalModule {
46
46
  value: JSON.stringify(body)
47
47
  }
48
48
  }
49
+ }, {
50
+ _debug: true
49
51
  })
50
52
  }
51
53
 
@@ -112,7 +112,7 @@ class ApiInstance {
112
112
  })
113
113
 
114
114
  if (Object.prototype.hasOwnProperty.call(params, '_debug') && params._debug) {
115
- return this.responseHandler.success(response?.data?._resp?.body || null)
115
+ return this.responseHandler.success(response?.data?.data || null)
116
116
  }
117
117
 
118
118
  return this.responseHandler.success(response.data || null)